/* Custom styles for Crazy Egg Cafe */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FEFCF5;
}
::-webkit-scrollbar-thumb {
    background: #bce3c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8dce9e;
}

/* Selection color */
::selection {
    background: #bce3c4;
    color: #1e5f31;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #5fb574;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .gallery-img:hover {
        transform: none;
    }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
}

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

/* Nav active state */
.nav-link-active {
    color: #3d9a56;
}

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

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