/* Custom styles for Wooden Spoon Restaurant */

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

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

::-webkit-scrollbar-track {
    background: #1A1D20;
}

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

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

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

/* Navbar transition */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(26, 29, 32, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Menu card hover */
.menu-card {
    will-change: transform, box-shadow;
}

/* Fade-in animations for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeIn 0.3s ease forwards;
}

/* Mobile menu links */
.mobile-link {
    position: relative;
}

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

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

/* Input focus animations */
input:focus,
textarea:focus {
    transform: translateY(-1px);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .menu-card:hover {
        transform: none;
    }
    
    img {
        transition: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.75rem;
    }
    
    .font-display.text-4xl {
        font-size: 2.25rem;
    }
    
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    nav,
    #gallery,
    #contact form,
    .scroll-indicator {
        display: none;
    }
    
    body {
        color: #1A1D20;
        background: white;
    }
}
