/* Custom styles for Lucia Drive Through Espresso */

:root {
    --plum-950: #3f0617;
    --plum-800: #84163b;
    --plum-700: #a11442;
    --plum-600: #c22358;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal styles - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: none;
    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: none;
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #c22358;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11442;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #3f0617;
}

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

/* Image aspect ratio helpers */
img {
    max-width: 100%;
    height: auto;
}
