/* Custom styles for El Sabor de Mi Isla */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #040a18;
}

/* Scroll reveal animations - progressive enhancement only */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f0c23a 0%, #e8a820 50%, #c98814 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #040a18;
}

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

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

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(4, 10, 24, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gallery hover */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Subtle gold shimmer on hover for cards */
.menu-card:hover {
    box-shadow: 0 0 40px rgba(232, 168, 32, 0.08);
}

/* Selection color */
::selection {
    background: rgba(232, 168, 32, 0.3);
    color: #fef9ee;
}
