/* Custom styles for The Legend AMERICAN BREAKFAST & LUNCH */

/* Scroll reveal base - progressive enhancement, content visible without JS */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Navbar dark state for hero */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled #nav-logo-text {
    color: #6f1b32 !important;
}

nav.scrolled #nav-sub-text {
    color: #c01f44 !important;
}

nav.scrolled a:not(.bg-burgundy-700) {
    color: #374151 !important;
}

nav.scrolled a:not(.bg-burgundy-700):hover {
    color: #a11535 !important;
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Subtle hover on menu items */
section a {
    position: relative;
}

/* Image loading placeholder */
img {
    background-color: #f5f5f5;
}

/* Selection color */
::selection {
    background-color: #c01f44;
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafafa;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
