/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* Scroll reveal — progressive enhancement, hidden by default, shown via JS */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu card hover */
.menu-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Nav active state */
#nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1a24; }
::-webkit-scrollbar-thumb { background: #1e3a5f; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2d5a8a; }

/* Selection */
::selection { background: rgba(94, 234, 212, 0.3); color: #f0f4f8; }
