/* Custom styles for Market Place Deli */

:root {
    --color-coral-50: #fff5f2;
    --color-coral-100: #ffe8e2;
    --color-coral-500: #ff6f4a;
    --color-coral-600: #f05530;
    --color-charcoal-700: #2d2d2d;
    --color-charcoal-800: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6f4a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled #navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .nav-link {
    color: #4a4a4a;
}

.navbar-scrolled .nav-text {
    color: #1a1a1a;
}

/* Mobile menu */
.mobile-link {
    opacity: 1;
}

/* Menu cards */
.menu-card {
    transform: translateY(0);
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #ff8a6e;
    border-radius: 4px;
}

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

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