/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ─── NAVBAR ─── */
#navbar { transition: background 0.3s ease, box-shadow 0.3s ease; }
#navbar.scrolled {
  background: rgba(10, 15, 26, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ─── MOBILE MENU ─── */
#mobile-menu.show { display: block; animation: slideDown 0.25s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#menu-toggle.active .bar:first-child  { transform: rotate(45deg) translate(3px, 3px); }
#menu-toggle.active .bar:nth-child(2) { opacity: 0; }
#menu-toggle.active .bar:nth-child(3) { width: 1.25rem; transform: rotate(-45deg) translate(3px, -3px); }

/* ─── HERO STAT CARDS ─── */
.stat-card {
  animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -1s; }
.stat-card:nth-child(3) { animation-delay: -2s; }
.stat-card:nth-child(4) { animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ─── MENU CARDS ─── */
.menu-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.15);
}

/* ─── GALLERY ─── */
.gallery-item {
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hidden state for progressive enhancement (JS adds .revealed) */
.reveal:not(.revealed) {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0f1a; }
::-webkit-scrollbar-thumb { background: #6f2139; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a12d52; }

/* ─── FOCUS ─── */
a:focus-visible, button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .font-display { font-size: clamp(2rem, 8vw, 3rem); }
}
