@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700&family=Kanit:wght@300;500;700&display=swap");

body {
  background-color: #ffffff;
  color: #BBDEFA;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
}
h1 {
  color: #BBDEFA;
}
.bg-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
  color: #000 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-outline-gold {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  transition: all 0.3s;
}
.btn-outline-gold:hover {
  background: var(--color-primary);
  color: #000;
}
.hover\:bg-primary:hover {
  background-color: #BBDEFA;
}
.hover\:text-primary:hover {
  color: #ffffff;
}
.bg-secondary {
  background-color: #BBDEFA;
  color: #BBDEFA;
}
.hover\:bg-secondary:hover {
  background-color: #dedede;
}
.border-secondary {
  border-color: rgba(38, 59, 7, 0.118);
}
.bg-card {
  background-color: #ffffff;
  color: #BBDEFA;
}
.hero-image-wrapper {
  transition: transform 0.1s ease-out; /* Menghaluskan pergerakan scroll */
  will-change: transform;
}
.navbar {
  background-color: rgba(10, 10, 10, 0.8) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.text-gradient {
  background-image: linear-gradient(45deg, #521eec, #BBDEFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rounded {
  border-radius: 0.3rem;
}
.btn {
  text-transform: uppercase;
  font-family: "Kanit", sans-serif;
}
.btn-whatsapp {
  background-color: #075E54;
  color: white;
}
/* --- 1. VARIABEL & RESET --- */
:root {
  --color-primary: #D4AF37;    /* Gold Premium */
  --color-secondary: #121212;  /* Deep Black */
  --color-accent: #B8860B;     /* Dark Gold */
  --bg-dark: #0A0A0A;          /* Jet Black */
  --bg-card: #161616;          /* Charcoal Black */
  --text-light: #F5F5F5;       /* Off White */
  --text-gold: #D4AF37;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
#order-form {
  scroll-margin-top: 80px;
}

/* --- 2. TYPOGRAPHY & EFFECTS --- */
h1, h2, h3 {
  font-family: "Playfair Display", serif; /* Elegant Serif */
  color: var(--text-light);
}
.text-gradient {
  background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
/* Efek Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3. KARTU & FORM (OPTIMIZED) --- */
.bg-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.bg-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(-8px);
}

.form-section-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
  text-align: left;
}

.form-input {
 background-color: #1e1e1e !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.form-input:focus {
 border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2) !important;
}

/* --- 4. NAV BOTTOM & ANIMASI --- */
#navBottom div.mx-auto {
  background-color: rgba(22, 22, 22, 0.95) !important;
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(10px);
}
.indicator {
  background-color: var(--color-primary) !important;
  box-shadow: 0 0 15px var(--color-primary);
}

@keyframes gentleShake {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.08) rotate(-2deg); }
  75% { transform: scale(1.08) rotate(2deg); }
}

@keyframes rotateBorder {
  to { transform: rotate(360deg); }
}

.nav-order-button {
  position: relative;
  width: 56px; 
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 3px; 
  animation: gentleShake 3s ease-in-out infinite;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-order-button::before {
  content: '';
  position: absolute;
  width: 160%;
  height: 160%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--color-primary) 25%,
    var(--color-secondary) 50%,
    var(--color-accent) 75%,
    transparent 100%
  );
  animation: rotateBorder 3s linear infinite;
  z-index: 0;
}

.nav-order-button .nav-item {
  position: relative;
  z-index: 1;
  background-color: #BBDEFA;
  color: white !important;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid white; /* Tambahan agar tombol lebih pop-out */
}

/* Indikator Navigasi */
/* --- Perbaikan Logika Indikator --- */

/* Posisi Default Indikator */
ul .indicator {
  position: absolute;
  height: 56px;
  width: 56px;
  background-color: var(--color-primary) !important;
  border-radius: 50%;
  top: -16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 0;
  opacity: 1;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

/* Perpindahan Posisi Horizontal */
ul:has(li:nth-child(1) a.nav-active) .indicator { transform: translateX(calc(56px * 0)); }
ul:has(li:nth-child(2) a.nav-active) .indicator { transform: translateX(calc(56px * 1)); }
ul:has(li:nth-child(4) a.nav-active) .indicator { transform: translateX(calc(56px * 3)); }
ul:has(li:nth-child(5) a.nav-active) .indicator { transform: translateX(calc(56px * 4)); }

/* SEMBUNYIKAN INDIKATOR saat di posisi ke-3 (Order) agar tidak bentrok */
ul:has(li:nth-child(3) a.nav-active) .indicator { 
  transform: translateX(calc(56px * 2));
  opacity: 0; /* Membuat lingkaran biru hilang saat di tombol order */
}

/* Pastikan Link di dalam tombol order tidak memiliki background biru tambahan */
.nav-order-button .nav-item.nav-active {
  background-color: transparent !important;
  border: none !important;
  transform: translateY(0) !important; /* Mencegah ikon naik ke atas agar tetap di tengah border putar */
}

/* --- 5. RESPONSIVE --- */
@media (max-width: 1023px) {
  body {
    padding-bottom: 7rem !important; 
  }
}

