/* Custom overrides and enhancements beyond Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Navbar active state on scroll */
nav.scrolled {
    background-color: rgba(74, 21, 32, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Custom selection color */
::selection {
    background-color: #7B2431;
    color: #FDF6F4;
}

/* Smooth focus outlines */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #F4E0DC;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image placeholder fallback */
img {
    background-color: #e5d5d0;
}

/* Reduced motion for reveal animations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .food-card img {
        transition: none;
    }
    .food-card:hover img {
        transform: none;
    }
}
