/* ============================================
   ENCORE — Blue Jazz Lounge
   Black & Gold Luxury Theme
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --black: #000000;
    --offblack: #0a0a0a;
    --charcoal: #111111;
    --darkgray: #1a1a1a;
    --gray: #2a2a2a;
    --gold: #c9a227;
    --gold-light: #e4c76b;
    --gold-dim: #8a7320;
    --gold-pale: #f0e6c8;
    --cream: #f5f0e6;
    --warmgray: #9ca3af;
}

body {
    background-color: var(--black);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font Classes */
.font-display { font-family: 'Playfair Display', serif; }
.font-serif { font-family: 'Cormorant Garamond', serif; }
.font-body { font-family: 'Inter', sans-serif; }

/* ============================================
   HERO
   ============================================ */
.hero-bg {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1514525253440-b393452e8d26?w=1920&q=80') center/cover;
    opacity: 0.12;
    filter: saturate(0) brightness(0.3);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, #000000 70%);
}

/* ============================================
   GOLD ACCENTS
   ============================================ */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-line-v {
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.gold-border-box {
    border: 1px solid rgba(201, 162, 39, 0.3);
    transition: border-color 0.3s ease;
}

.gold-border-box:hover {
    border-color: rgba(201, 162, 39, 0.7);
}

.gold-glow {
    box-shadow: 0 0 60px rgba(201, 162, 39, 0.08);
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 162, 39, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(201, 162, 39, 0.5);
    transform: translateY(-4px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #000000;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: var(--gold);
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.25);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-link {
    position: relative;
    color: var(--warmgray);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   SECTION REVEAL ANIMATIONS
   ============================================ */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.vinyl-spin {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.live-badge {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.floating-note {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   MENU ITEMS
   ============================================ */
.menu-item {
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: rgba(201, 162, 39, 0.05);
    padding-left: 12px;
}

/* ============================================
   EVENT CARDS
   ============================================ */
.event-card {
    position: relative;
    overflow: hidden;
}

.event-card img {
    transition: transform 0.6s ease, filter 0.7s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-card .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 60%);
    position: absolute;
    inset: 0;
}

/* ============================================
   POOL TABLE
   ============================================ */
.pool-table {
    background: linear-gradient(145deg, #1a3a2a 0%, #0d2818 100%);
    border: 2px solid var(--gold);
    box-shadow: inset 0 0 60px rgba(0,0,0,0.5), 0 0 30px rgba(201,162,39,0.2);
}

/* ============================================
   FORM INPUTS
   ============================================ */
.input-luxury {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.2);
    color: var(--cream);
    transition: all 0.3s ease;
    width: 100%;
}

.input-luxury:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.input-luxury::placeholder {
    color: #555555;
}

select.input-luxury {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ============================================
   TIME SLOTS
   ============================================ */
.time-slot {
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.time-slot:hover,
.time-slot.active {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold);
}

/* ============================================
   MODAL
   ============================================ */
#successModal {
    transition: opacity 0.3s ease;
}

#successModal.hidden {
    opacity: 0;
    pointer-events: none;
}

#successModal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .hero-bg h1 {
        font-size: 3.5rem;
    }

    .marquee-track span {
        font-size: 3rem !important;
    }
}

@media (max-width: 640px) {
    .hero-bg h1 {
        font-size: 2.5rem;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .marquee-track {
        animation: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: var(--cream);
}
