/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    /* Color Scheme */
    --color-background: #121212;
    --color-background-dark: #1a1a1a;
    --color-surface: #242424;
    --color-primary: #e63946; /* Vibrant Red */
    --color-accent: #fca311; /* Bright Yellow/Orange */
    --color-secondary: #457b9d; /* Muted Blue */
    --color-text: #f1faee;
    --color-text-muted: #a8dadc;
    --color-border: #333;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Adaptive Typography */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 5rem); }
h2 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw + 1rem, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw + 0.5rem, 1.25rem); }

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-text);
}

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

/* ==========================================================================
   2. LAYOUT & HELPERS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 1.5rem;
}

.section.has-background-dark {
    background-color: var(--color-background-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.is-light {
    color: var(--color-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

/* Simple Grid System (Bulma-like) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.columns.is-centered { justify-content: center; }
.columns.is-vcentered { align-items: center; }
.columns.is-multiline { flex-wrap: wrap; }
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds { flex: none; width: 66.666%; }
.column.is-one-third { flex: none; width: 33.333%; }

/* Pages like privacy.html & terms.html */
.static-page-content {
    padding: 120px 0 60px 0;
    min-height: 80vh;
}
.static-page-content h1, .static-page-content h2 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    background-color: transparent;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.site-header.scrolled {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}
.navbar-brand .logo:hover {
    color: var(--color-primary);
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-end {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.burger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 11px; }
.burger span:nth-child(3) { top: 22px; }

/* Burger active state */
.burger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    color: #FFFFFF;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: #FFFFFF;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   5. BUTTONS & FORMS
   ========================================================================== */
.button, button, input[type='submit'] {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.button.is-primary {
    background-color: var(--color-primary);
    color: var(--color-text);
    border-color: var(--color-primary);
}
.button.is-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.button.is-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-accent);
}
.button.is-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
}

.button.is-accent {
    background-color: var(--color-accent);
    color: var(--color-background);
    border-color: var(--color-accent);
}
.button.is-accent:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.button.is-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.button.is-fullwidth {
    width: 100%;
}

/* Form Styles */
.form-field {
    margin-bottom: 1.5rem;
}

.input, .textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.3);
}

.textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   6. CARDS (Bands, Venues)
   ========================================================================== */
.card {
    background-color: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card sizes */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.card-subtitle, .venue-info {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
   7. SPECIFIC SECTIONS
   ========================================================================== */

/* About Section */
#about .section-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Slider Section */
.slider-container {
    position: relative;
}
.custom-slider {
    display: flex;
    overflow-x: auto; /* Fallback for no-JS */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
/* Note: JS will handle the slider functionality. Hiding scrollbar. */
.custom-slider { scrollbar-width: none; } /* Firefox */
.custom-slider::-webkit-scrollbar { display: none; } /* Chrome, Safari, Opera */

/* Timeline Section (Gigs) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-surface);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border: 4px solid var(--color-background-dark);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-surface);
    position: relative;
    border-radius: 6px;
}
.timeline-item:nth-child(odd) { text-align: right; }
.timeline-content .heading {
    font-family: var(--font-primary);
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}
.timeline-content .title {
    margin-bottom: 0.2rem;
}
.timeline-content .venue-name {
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 1rem;
}
.timeline-content p:last-of-type {
    margin-bottom: 1rem;
}


/* Resources Section */
.resource-card {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--color-secondary);
    height: 100%;
}

/* Contact Section */
.map-container {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid var(--color-border);
}
.map-container iframe {
    filter: invert(90%) hue-rotate(180deg);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-background-dark);
    padding: 4rem 1.5rem 2rem;
    border-top: 2px solid var(--color-border);
}

.footer-heading {
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.site-footer ul a {
    color: var(--color-text-muted);
}
.site-footer ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   9. SUCCESS PAGE
   ========================================================================== */
body.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.success-content {
    background-color: var(--color-surface);
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
}

.success-content h1 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN
   ========================================================================== */

/* Tablets and below */
@media (max-width: 1024px) {
    .column.is-two-thirds, .column.is-one-third {
        width: 50%;
    }
}


/* Mobile devices */
@media (max-width: 768px) {
    .section {
        padding: 4rem 1rem;
    }

    /* Columns stack on mobile */
    .column, .column.is-two-thirds, .column.is-one-third {
        width: 100%;
        flex: none;
    }

    /* Mobile Navigation */
    .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .navbar-menu.is-active {
        display: flex;
    }
    .navbar-end {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    .burger {
        display: block;
    }
    
    /* Timeline adjustments for mobile */
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-marker {
        left: 21px !important;
    }
    
    .footer-heading {
        margin-top: 2rem;
    }
}