/* Custom styles for Viva Zapata Mexican Restaurant */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #102a43;
}
::-webkit-scrollbar-thumb {
    background: #d4880a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e8a832;
}

/* Selection color */
::selection {
    background: #d4880a;
    color: #102a43;
}

/* Hero card float animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-card-1 { animation: float 6s ease-in-out infinite; }
.hero-card-2 { animation: float-delayed 5s ease-in-out infinite; }
.hero-card-3 { animation: float 7s ease-in-out infinite; }
.hero-card-4 { animation: float-delayed 4s ease-in-out infinite; }

/* Nav scroll state */
nav.scrolled {
    background: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 136, 10, 0.1);
}

/* Mobile menu transitions */
.mobile-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Image hover effect */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4880a;
    outline-offset: 2px;
}

/* Reduced motion */
@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;
    }
}

/* Mobile menu active state */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu line animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e8a832, #d4880a, #b36708);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
