/* Custom styles for El Venado Restaurant */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Nav scroll state */
.nav-scrolled {
  background: rgba(4, 16, 28, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Mobile menu */
#mobileMenu {
  pointer-events: none;
}

#mobileMenu.active {
  pointer-events: all;
}

/* Scroll reveal — progressive enhancement */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* Hero scroll indicator */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f2d4e;
}

::-webkit-scrollbar-thumb {
  background: #38a48f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5cc0ad;
}

/* Selection color */
::selection {
  background: rgba(56, 164, 143, 0.3);
  color: #0f2d4e;
}
