/* Custom styles for El Norteño Restaurant */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdfb;
}
::-webkit-scrollbar-thumb {
    background: #dc4568;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c42a4a;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(161, 29, 59, 0.08);
}

/* Hero image hover */
#hero .relative > div:first-child > img {
    transition: transform 0.6s ease;
}
#hero .relative:hover > div:first-child > img {
    transform: scale(1.02);
}

/* Gallery hover */
#gallery img {
    transition: transform 0.5s ease;
}

/* Button focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #dc4568;
    outline-offset: 2px;
}

/* Animation for scroll reveals (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure content is always visible for reduced motion or no-JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
