/* Custom styles — premium dark luxury for Clubhouse Pub & Grub */

:root {
    --gold-400: #D4A86C;
    --gold-500: #C8956C;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0B0A;
}
::-webkit-scrollbar-thumb {
    background: #3D2314;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7A4424;
}

/* Selection color */
::selection {
    background: rgba(200, 149, 108, 0.3);
    color: #F5EBE5;
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(13, 11, 10, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 149, 108, 0.1);
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

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

/* Hamburger animation */
.hamburger-active #bar1 {
    transform: translateY(5px) rotate(45deg);
}
.hamburger-active #bar2 {
    opacity: 0;
}
.hamburger-active #bar3 {
    transform: translateY(-5px) rotate(-45deg);
    width: 1.5rem;
}

/* Hero badge animation */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero text staggered animation */
h1, h1 span {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}
h1 span {
    animation-delay: 0.35s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal base — always visible by default (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Enhanced reveal with animation when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        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; }
}

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

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

/* Subtle glow on gold elements */
.glow-gold {
    box-shadow: 0 0 40px rgba(200, 149, 108, 0.15);
}

/* Menu item hover */
.menu-item-row {
    transition: background 0.2s ease;
}
.menu-item-row:hover {
    background: rgba(200, 149, 108, 0.04);
}

/* Button focus styles */
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
    border-radius: 4px;
}
