/* Custom styles for Hoosier Mama Food Truck */

html {
    scroll-behavior: smooth;
}

/* Ensure all scroll-reveal elements are visible by default (progressive enhancement) */
.scroll-reveal {
    opacity: 1;
    transform: none;
}

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

    .scroll-reveal.animated.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-track {
    background: #2b241e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #971c3c;
}

/* Selection color */
::selection {
    background: #7B2432;
    color: white;
}
