:root {
    /* European Midnight Jazz Palette */
    --midnight-navy: #0D1726;
    --deep-plum: #2B1E35;
    --burgundy-wine: #6E3046;
    --antique-brass: #C09A55;
    --smoky-teal: #35777A;
    --warm-ivory: #F3EBDD;
    --graphite: #20252C;
    --dusty-rose: #A87578;
    --soft-gold: #D8B873;

    /* Glassmorphism Variables */
    --glass-bg: rgba(32, 37, 44, 0.65);
    --glass-border: rgba(216, 184, 115, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(13, 23, 38, 0.8);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --nav-height-desktop: 64px;
    --nav-height-mobile: 52px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--midnight-navy);
    color: var(--warm-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--soft-gold);
}

a {
    color: var(--antique-brass);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--warm-ivory);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
.text-lead { font-size: 1.25rem; font-weight: 300; opacity: 0.9; }
.text-sm { font-size: 0.875rem; opacity: 0.8; }
.text-accent { color: var(--dusty-rose); font-family: var(--font-body); letter-spacing: 2px; text-transform: uppercase; font-size: 0.75rem; }

/* Navigation */
header {
    background: rgba(13, 23, 38, 0.95);
    border-bottom: 1px solid var(--glass-border);
    position: relative; /* NOT sticky as requested */
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height-desktop);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--warm-ivory);
}

.brand svg {
    width: 24px;
    height: 24px;
    fill: var(--antique-brass);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--warm-ivory);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--antique-brass);
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--antique-brass);
    color: var(--midnight-navy);
}

.btn-primary:hover {
    background: var(--soft-gold);
    color: var(--midnight-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 154, 85, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--antique-brass);
    border: 1px solid var(--antique-brass);
}

.btn-outline:hover {
    background: rgba(192, 154, 85, 0.1);
    color: var(--soft-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--warm-ivory);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3D Hero / Canvas */
.hero-wrapper {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--deep-plum) 0%, var(--midnight-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#jazz-atlas-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: var(--glass-shadow);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--warm-ivory), var(--soft-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* MIDNIGHT VENUE CARD ARCHITECTURE */
.venue-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--graphite);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    group: card;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(192, 154, 85, 0.1);
}

.venue-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(192, 154, 85, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.venue-card:hover::after {
    opacity: 1; /* Stage light effect */
}

.card-image-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.venue-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 23, 38, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--antique-brass);
    color: var(--soft-gold);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.card-brass-line {
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy-wine), var(--antique-brass), var(--smoky-teal));
    width: 100%;
}

.card-glass-panel {
    background: var(--glass-bg);
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--dusty-rose);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--warm-ivory);
}

.card-location {
    font-size: 0.9rem;
    color: var(--soft-gold);
    margin-bottom: 1rem;
    font-style: italic;
}

.card-desc {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

.card-cta {
    color: var(--antique-brass);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.venue-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* Waveform Animation */
.waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 16px;
}

.wave-bar {
    width: 2px;
    background-color: var(--smoky-teal);
    height: 100%;
    animation: wave 1s ease-in-out infinite;
    transform-origin: bottom;
}

.wave-bar:nth-child(1) { animation-delay: 0.0s; height: 40%; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 100%; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 60%; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; height: 80%; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; height: 30%; }

.venue-card:hover .wave-bar {
    background-color: var(--antique-brass);
}

@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Standalone Pages Specifics */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--midnight-navy) 0%, transparent 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.meta-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.meta-box h4 {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.meta-list {
    list-style: none;
}

.meta-list li {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.meta-label { color: var(--dusty-rose); }
.meta-value { color: var(--warm-ivory); text-align: right; }

.schedule-block {
    border-left: 2px solid var(--antique-brass);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}
.schedule-block::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--soft-gold);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--soft-gold);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--warm-ivory);
    font-family: var(--font-body);
    border-radius: 2px;
}
.form-control:focus {
    outline: none;
    border-color: var(--antique-brass);
    background: rgba(255,255,255,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h2 { margin-top: 3rem; color: var(--soft-gold); }
.legal-content p { margin-bottom: 1.5rem; opacity: 0.8; }
.legal-content ul { margin-bottom: 1.5rem; padding-left: 2rem; opacity: 0.8; }
.legal-content li { margin-bottom: 0.5rem; }

/* Footer */
footer {
    background: var(--graphite);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--antique-brass);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(243, 235, 221, 0.7);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--soft-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(243, 235, 221, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--midnight-navy);
    border: 1px solid var(--antique-brass);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    display: none; /* Hidden by default, JS reveals */
    flex-direction: column;
    gap: 1rem;
}
.cookie-banner.show { display: flex; }
.cookie-text { font-size: 0.85rem; opacity: 0.9; }
.cookie-buttons { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 992px) {
    .content-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-container { height: var(--nav-height-mobile); }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .nav-active .nav-links, .nav-active .nav-cta {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height-mobile);
        left: 0;
        width: 100%;
        background: var(--midnight-navy);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        z-index: 99;
    }
    
    .nav-active .nav-cta { top: calc(var(--nav-height-mobile) + 200px); padding-top: 0; border: none; }
    
    .hero-wrapper { height: 60vh; min-height: 500px; }
}