/* ── Base & Utilities ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection { background: #5fd38f; color: #15274d; }

/* ── Navbar ───────────────────────────────────────────── */
#site-header { background: transparent; transition: background 0.3s ease, box-shadow 0.3s ease; }
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(21, 39, 77, 0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5fd38f;
  border-radius: 999px;
  transition: width 0.2s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Floating Cards ───────────────────────────────────── */
.floating-card {
  animation: float 4s ease-in-out infinite;
}
.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: -1.3s; }
.floating-card.card-3 { animation-delay: -2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ── Reveal Animations ────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Default state is visible — animation is progressive enhancement */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Menu Cards ───────────────────────────────────────── */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(21, 39, 77, 0.12);
}

/* ── Mobile Nav ───────────────────────────────────────── */
.mobile-link { transition: background 0.2s ease; }

/* ── Form ─────────────────────────────────────────────── */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(95, 211, 143, 0.2);
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f3fb; }
::-webkit-scrollbar-thumb { background: #bacdf0; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #91b0e8; }
