/* Custom Styles for Agua Cafe Tapas Music Bar */

/* Base Animations */
@keyframes slow-zoom {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
}

.animate-slow-zoom {
    animation: slow-zoom 20s ease-in-out infinite;
}

/* Scroll Animation Classes */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animate-in {
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animate-in {
    transform: translateX(0);
}

/* Staggered Delays */
[data-delay="50"] { transition-delay: 50ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="150"] { transition-delay: 150ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="250"] { transition-delay: 250ms; }

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(5, 9, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #F4D03F);
    border-radius: 4px;
}

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

/* Mobile Menu Animations */
.mobile-menu-open #line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #line2 {
    opacity: 0;
}

.mobile-menu-open #line3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Input Autofill Styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #0a1128 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Smooth Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Print Styles */
@media print {
    nav, .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
