/* Custom styles for Richard's Deli & Pub */

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

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation only applies when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal:not(.revealed) {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Fallback: if JS doesn't load, content is still visible */
.no-js .scroll-reveal {
    opacity: 1;
    transform: none;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(63, 10, 27, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

::-webkit-scrollbar-thumb {
    background: #a6163d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #871336;
}

/* Selection color */
::selection {
    background: #ffc632;
    color: #3f0a1b;
}
