/* =========================
   1. RESET & VARIABLES
   ========================= */
:root {
    --bg-color: #ffffff;
    --text-main: #111111;
    --text-muted: #666666;
    --accent-color: #D4AF37; /* Dark Gold */
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FORCE INTER FONT ON EVERYTHING */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input {
    font-family: 'Inter', sans-serif !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* =========================
   2. LAYOUT UTILITIES
   ========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* =========================
   3. NAVIGATION
   ========================= */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

/* =========================
   4. HERO SECTION
   ========================= */
.hero {
    padding: 80px 0 40px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* =========================
   5. SECTIONS & HEADERS
   ========================= */
.content-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.divider {
    height: 1px;
    background: var(--border-color);
    width: 100%;
}

/* --- UPDATED IMAGE LOGIC (Final Mobile Fix) --- */

/* 1. BASE SETTING (Mobile/Touch Default) */
/* Images start Black & White. They turn Color ONLY if JS adds 'in-view' */
.gig-listing img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.6s ease-out;
}

/* This class is added by the Script when the image scrolls into view */
.gig-listing img.in-view {
    filter: grayscale(0%) !important;
}

/* 2. DESKTOP OVERRIDE (Only for devices with a real Mouse) */
@media (pointer: fine) {
    /* Ignore the scroll effect! Keep it B&W even if it's on screen */
    .gig-listing img.in-view {
        filter: grayscale(100%) !important;
    }
    
    /* Turn Color ONLY when the mouse actually hovers */
    .gig-listing:hover img {
        filter: grayscale(0%) !important;
    }
}
/* =========================
   7. LOADER & FOOTER
   ========================= */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================
   8. FORM & REVIEW STYLES
   ========================= */
.review-form {
    max-width: 600px;
    background: #f9f9f9;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; background: #fff;
    font-family: 'Inter', sans-serif; font-size: 1rem; border-radius: 0;
}

.submit-btn {
    background-color: var(--text-main); color: white; padding: 15px 30px;
    border: none; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background 0.2s;
}
.submit-btn:hover { background-color: var(--accent-color); color: var(--text-main); }

.review-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: bold; color: var(--accent-color); }
.reviewer-name { color: var(--text-muted); font-size: 0.9rem; font-weight: 400; }

input[type="file"] { display: none; }
.custom-file-upload {
    display: inline-block; padding: 12px 20px; cursor: pointer; background-color: white;
    border: 2px solid var(--border-color); color: var(--text-muted); font-weight: 600;
    font-size: 0.9rem; width: 100%; text-align: center; transition: all 0.2s;
}
.custom-file-upload:hover { border-color: var(--accent-color); color: var(--text-main); background-color: #fffdf5; }


/* =========================
   9. TICKET STUB LIST VIEW (Recent Gigs)
   ========================= */

.gig-list-item {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
    gap: 20px;
    cursor: pointer;
}

.gig-list-item:hover {
    transform: translateX(5px);
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Date Box */
.gig-date-box {
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #eee;
    min-width: 80px; 
    flex-shrink: 0; 
}

.date-day { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text-main); line-height: 1; }
.date-month { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }
.date-year { display: block; font-size: 0.8rem; color: #ccc; margin-top: 2px; }

/* Info Box */
.gig-info-box {
    flex-grow: 1;
    overflow: hidden; 
}

.gig-info-box h3 { 
    margin: 0; 
    font-size: 1.2rem; 
    color: var(--text-main);
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.gig-info-box p { 
    margin: 5px 0 0 0; 
    color: var(--text-muted); 
    font-size: 0.95rem; 
}

/* Action Box */
.gig-action-box {
    flex-shrink: 0;
}

.gig-action-box .submit-btn {
    font-size: 0.85rem;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 45px;
}

.gig-list-item:hover .submit-btn {
    background-color: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

#recent-gigs {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gig-list-item { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
        align-items: stretch; 
    }
    
    .gig-date-box { 
        border-right: none; 
        border-bottom: 1px solid #eee; 
        padding: 0 0 10px 0; 
        margin: 0; 
        width: 100%; 
    }
    
    .gig-info-box h3 { white-space: normal; }
    .gig-action-box .submit-btn { width: 100%; }
}

/* =========================
   10. COMPACT OVERRIDES (The new smaller look)
   ========================= */

/* Compact the "Ticket Stub" */
.gig-list-item {
    padding: 12px 20px;
    gap: 15px;
    min-height: 80px;
}

.gig-date-box {
    padding-right: 15px;
    margin-right: 15px;
    min-width: 70px;
}
.date-day { font-size: 1.3rem; }

/* Compact the "Image Card" */
.gig-listing .gig-details-content {
    padding: 15px;
}

.gig-listing img {
    height: 160px;
}

.gig-details-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* =========================
   ABOUT PAGE SPECIFIC STYLES
   ========================= */

/* A punchier, tighter Hero */
.about-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
}
.about-hero h1 {
    font-size: 4rem; /* Big impact */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}
.about-hero span {
    color: var(--accent-color);
}

/* The "Manifesto" Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.split-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}
.highlight-box {
    background: #111;
    color: #fff;
    padding: 40px;
    position: relative;
}
.highlight-box::after {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    width: 100%; height: 100%;
    border: 2px solid var(--accent-color);
    z-index: -1;
}

/* Feature Grid (The old "Methodology") */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}
.feature-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: 0.2s;
}
.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}
.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}
.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.feature-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.5rem; }
    .split-section { grid-template-columns: 1fr; gap: 30px; }
    .highlight-box { margin: 20px; }
}
/* =========================
   MINIMAL ABOUT PAGE
   ========================= */

.minimal-hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.minimal-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1;
}

.minimal-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.simple-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.simple-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 250px;
    margin: 0 auto;
}

/* Mobile Stack */
@media (max-width: 768px) {
    .minimal-hero h1 { font-size: 2.5rem; }
    .simple-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* =========================
   IMPROVED SETLIST & REVIEWS
   ========================= */

/* --- The Setlist Card --- */
.setlist-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.setlist-header-bar {
    background: #111;
    color: #fff;
    padding: 15px 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setlist-tracks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.track-item {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    color: #333;
}

.track-item:last-child { border-bottom: none; }
.track-item:nth-child(even) { background-color: #fafafa; } /* Zebra striping */

.track-number {
    color: #ccc;
    font-weight: 600;
    font-size: 0.8rem;
    width: 30px;
    margin-right: 10px;
}

.track-info { display: flex; flex-direction: column; }
.track-name { font-weight: 600; }
.track-meta { font-size: 0.8rem; color: #888; margin-top: 2px; }

.set-divider {
    background: #fdf6e3; /* Light gold background */
    color: #bfa15f;
    padding: 8px 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

/* --- The Review Cards --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

.review-user-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.user-avatar {
    width: 40px; height: 40px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.user-meta { display: flex; flex-direction: column; }
.user-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.review-date { font-size: 0.75rem; color: #999; }

.review-stars { color: var(--accent-color); margin-bottom: 12px; font-size: 1.1rem; }

.review-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    flex-grow: 1;
}

.review-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}