/* Custom styles for Louies Fine Food Restaurant */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0f0f18;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom select styling */
select option {
    background-color: #1C1C2E;
    color: #ffffff;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Header scroll state */
#site-header.scrolled {
    background-color: rgba(15, 15, 24, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
}

/* Mobile menu animations */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Gold gradient text effect for special elements */
.gold-gradient {
    background: linear-gradient(135deg, #D4A84B 0%, #F0D78C 50%, #D4A84B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect for amber elements */
.glow-amber {
    box-shadow: 0 0 40px rgba(212, 168, 75, 0.15);
}

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

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 2px solid #D4A84B;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #0f0f18;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 75, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 75, 0.5);
}

/* Loading animation for form button */
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Decorative line animation */
@keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 40px;
    }
}

.reveal .block {
    animation: lineExpand 0.6s ease forwards;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
