/* Custom styles for Celebrity Bistro */

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

/* Body base */
body {
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Serif font fallback */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* Thin line accent */
.line-accent {
    width: 60px;
    height: 1px;
    background-color: #4f7a63;
    transition: width 0.4s ease;
}

/* Menu item hover */
.menu-item {
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(4px);
}

.menu-item:hover .item-price {
    color: #9fbfad;
}

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

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

::-webkit-scrollbar-thumb {
    background: #9fbfad;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4f7a63;
}

/* Navbar transition */
.nav-scrolled {
    background-color: rgba(253, 252, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(79, 122, 99, 0.1);
}

/* Image hover zoom */
img {
    transition: transform 0.6s ease;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #4f7a63;
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    img,
    .menu-item {
        transition: none;
    }
}

/* Mobile menu animations */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for images */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}
