@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&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-color: #BBDEFA;
  color: #ffffff;
}
.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;
}
.navbar {
  background-color: #BBDEFA;
  color: #ffffff;
}
.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;
}
/* --- 1. VARIABEL & RESET --- */
:root {
  /* Warna diupgrade ke tone yang lebih profesional & deep */
  --color-primary: #BBDEFA; 
  --color-secondary: #7c3aed;
  --color-accent: #f472b6;
  --bg-soft: #f8fafc;
  --text-main: #1e293b;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-main);
  background-color: #ffffff;
}

#order-form {
  scroll-margin-top: 80px;
}

/* --- 2. TYPOGRAPHY & EFFECTS --- */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 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: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border-color: var(--color-primary);
}

.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 {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #ffffff; 
  border: 2px solid #e2e8f0; 
  border-radius: 0.75rem;
  outline: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

/* --- 4. NAV BOTTOM & ANIMASI --- */
#navBottom div.mx-auto {
  background-color: rgba(255, 255, 255, 0.9) !important;  
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@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: #BBDEFA; /* Sesuaikan dengan --color-primary */
  border-radius: 50%;
  top: -16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 0;
  opacity: 1;
}

/* 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; 
  }
}

