/* Custom styles for Charlys Restaurant & Lounge */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0606;
}
::-webkit-scrollbar-thumb {
    background: #d4a040;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e8c060;
}

/* Selection color */
::selection {
    background: #d4a040;
    color: #0d0606;
}

/* Fade-in animations for scroll sections (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.15s; }
    .reveal-delay-2 { transition-delay: 0.3s; }
    .reveal-delay-3 { transition-delay: 0.45s; }
}

/* Subtle gold shimmer on hover for menu items */
.group:hover h3 {
    position: relative;
}

/* Gallery image hover effect */
.grid > div > img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(13, 6, 6, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 64, 0.15);
}

/* Gold line decoration */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a040, transparent);
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a040;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Map dark mode override */
iframe[title*="Google Maps"] {
    border-radius: 12px;
}
