/* Custom styles for Meme's Coffee Deli */

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

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero parallax-like effect */
#hero {
    background-attachment: fixed;
}

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-scrolled .logo-text {
    color: #3a2712 !important;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5e9;
}
::-webkit-scrollbar-thumb {
    background: #d9b468;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #cc9c4e;
}

/* Selection color */
::selection {
    background: #e8552a;
    color: #ffffff;
}

/* Image hover containers */
.rounded-2xl {
    overflow: hidden;
}

/* Button focus states */
a:focus-visible, button:focus-visible {
    outline: 2px solid #e8552a;
    outline-offset: 2px;
    border-radius: 4px;
}
</style>
