/* --- WAHFU MILESTONE CSS: DO NOT CHANGE GLOBAL STYLING --- */

* {
    box-sizing: border-box;
}

/* --- Global & Smooth Scroll --- */
html { scroll-behavior: smooth; }
:root { --accent: #ffffff; --bg-dark: #000; --text-light: #f4f4f4; }
body { margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: var(--bg-dark); color: var(--text-light); overflow-x: hidden; }

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    min-height: 120px;
    transition: all 0.4s ease-in-out; 
    background: transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    min-height: 90px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li { margin: 0 20px; }

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

/* --- Logo Styling --- */
.logo {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo svg {
    height: 75px;
    width: auto;
    color: #ffffff; 
    transition: all 0.4s ease;
    display: block;
}

header.scrolled .logo svg {
    height: 55px;
}

/* --- Animated Hamburger to X --- */
.menu-toggle { display: none; }

.hamburger { 
    display: none; 
    position: absolute; 
    right: 5%; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    cursor: pointer;
    width: 30px;
    height: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
}

/* X Animation Logic */
.menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-video { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-fallback-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('assets/images/wahfu-band-hero.jpg') center/cover no-repeat; z-index: -2; }
.video-overlay { position: absolute; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: -1; }
.hero-content h1 { font-size: clamp(3.5rem, 15vw, 11rem); margin: 0; letter-spacing: 15px; text-align: center; line-height: 1; color: #fff; }
.tagline { font-size: 0.95rem; letter-spacing: 6px; text-align: center; margin-top: 10px; padding:0 20px; font-weight: 300; color: #fff; }

.hero-logo {
    display: block;
    margin: 0 auto;
    width: 90%; 
    max-width: 600px; 
    filter: brightness(0) invert(1);
    padding: 0 20px;
}

@media (min-width: 768px) {
    .hero-logo { padding:0; }
}


/* --- About & Links --- */
.info-content { background: #fff; color: #111; padding: 100px 20px; text-align: center; }
.bio-centric { max-width: 800px; margin: 0 auto; }
.bio-main { font-size: 1.6rem; line-height: 1.5; margin-bottom: 40px; font-weight: 300; }
.lineup-list { list-style: none; padding: 0; border-top: 1px solid #ddd; margin-bottom: 40px; }
.lineup-list li { padding: 15px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; font-size: 0.9rem; letter-spacing: 1px; color: #111; }
.direct-links { display: flex; justify-content: center; gap: 20px; margin-top: 50px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 30px; background: #000; color: #fff; text-decoration: none; font-size: 0.75rem; letter-spacing: 2px; transition: 0.3s; min-width: 180px; border: none; cursor: pointer; }
.btn:hover { background: #444; }
.icon-btn i { margin-right: 10px; font-size: 1.2rem; vertical-align: middle; }

/* --- Photo Break Section --- */
.band-photo-break { 
    display: block; width: 100%; min-height: 500px; height: 70vh; 
    background: url('assets/images/band-photo.jpg') center/cover no-repeat;
}

/* --- Tour Section --- */
.parallax-section { position: relative; min-height: 75vh; display: flex; align-items: center; justify-content: center; padding: 100px 0; }
.parallax-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('assets/images/wahfu-band-hero.jpg') center/cover no-repeat fixed; filter: grayscale(100%) brightness(30%); z-index: -1; }
.tour-container { width: 90%; max-width: 800px; }
.section-title { letter-spacing: 12px; text-align: center; margin-bottom: 50px; font-weight: 900; color: #fff; }
.tour-row { display: grid; grid-template-columns: 1fr 2fr 1.5fr; padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); margin-bottom: 8px; color: #fff; text-align: left; transition: all 0.3s ease; }

/* --- Clickable Row States --- */
a.tour-link-wrapper { text-decoration: none; color: inherit; display: block; }
a.tour-link-wrapper:hover .tour-row { background: rgba(255,255,255,0.15); cursor: pointer; }

/* --- Tour Row Content --- */
.tour-row .date { font-weight: bold; color: var(--accent); }
.tour-row .venue { font-weight: 400; }
.tour-row .location { opacity: 0.8; }

/* --- Archive Section (Updated Force Logic) --- */
.past-shows-archive { margin-top: 50px; display: block; text-align: center; }

.past-shows-archive summary {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.past-shows-archive summary::-webkit-details-marker { display: none; }
.past-shows-archive summary::marker { content: ""; display: none; }

.past-shows-archive summary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* 1. Default: Hide 'HIDE' span */
.past-shows-archive summary .hide-text { 
    display: none !important; 
}

/* 2. Default: Show 'VIEW' span */
.past-shows-archive summary .view-text { 
    display: inline !important; 
}

/* 3. When OPEN: Reverse everything using the parent attribute */
details.past-shows-archive[open] summary .view-text { 
    display: none !important; 
}

details.past-shows-archive[open] summary .hide-text { 
    display: inline !important; 
}

/* Spacing when open */
.past-shows-archive[open] summary { margin-bottom: 30px; border-color: #fff; }

/* Grayscale effect for past dates */
.past-item { opacity: 0.6; filter: grayscale(100%); transition: all 0.4s ease; }
.past-item:hover { opacity: 1; filter: grayscale(0%); }

/* --- Mobile Menu & Responsive --- */
@media (max-width: 768px) {
    header { min-height: 80px; }
    header.scrolled { min-height: 70px; }
    .hamburger { display: block; }
    
    nav { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100%; 
        height: 100vh; 
        background: #000; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        transition: 0.5s; 
        z-index: 1500; 
    }
    nav ul { flex-direction: column; align-items: center; gap: 40px; padding: 0; }
    nav a { font-size: 2.2rem; }
    .menu-toggle:checked ~ nav { right: 0; }
    .tour-row { grid-template-columns: 1fr; text-align: center; gap: 10px; }
    .logo svg { height: 45px; }
}

.band-photo-wrapper {
    width: 100%;
    line-height: 0; /* Prevents tiny gaps at the bottom of the image */
}

.inline-band-photo {
    width: 100%;
    height: auto;   /* This maintains the 1920x1080 aspect ratio perfectly */
    display: block;
}

/* --- Footer --- */
.footer-inner { text-align: center; padding: 100px 20px; background: #000; }
.social-links { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.social-links a { color: #fff; text-decoration: none; font-size: 1.5rem; border: 1px solid #444; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: #fff; color: #000; border-color: #fff; }
footer p { color: #666; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }