/* Base Resets and Variables */
:root {
    --bg-color: #0c0c0c;
    --text-color: #f4f4f4;
    --text-muted: #888888;
    --accent-color: #ffffff;
    --border-color: #333333;
    --hover-color: #a0a0a0;
    
    --font-main: 'Inter', sans-serif;
    
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: url('graphic/leo.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 350px;
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section > .container,
.footer > .container {
    background-color: rgba(12, 12, 12, 0.85);
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: -50px;
    margin-bottom: 50px;
}

.mt-xl {
    margin-top: 80px;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo a {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

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

.hamburger,
.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    background-image: url('graphic/bandfoto1.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    text-align: center;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px 80px 20px;
}

.hero-logo {
    max-width: 100%;
    width: 600px;
    margin: 0 auto 30px;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #f4f4f4;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Media Section (Video Grid) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.video-item {
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 16px;
    background-color: #222;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(100%);
}

.video-item:hover .video-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent var(--bg-color);
    margin-left: 5px;
}

.video-item:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Live Section (Tour List) */
.tour-list {
    max-width: 800px;
    margin: 0 auto;
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1.5fr 2fr 130px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.tour-item:hover {
    background-color: rgba(255,255,255,0.03);
}

.tour-date {
    font-weight: 700;
    color: var(--text-muted);
}

.tour-city {
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.tour-venue {
    color: #e0e0e0;
}

.tour-tickets {
    text-align: right;
}

.archive-item {
    display: grid;
    grid-template-columns: 100px 1.5fr 2fr;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}
.archive-item:hover {
    background-color: rgba(255,255,255,0.03);
}

.archive-year-header {
    text-align: left;
    color: var(--text-color);
}

.ticket-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--text-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-link:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.ticket-link.sold-out {
    border-color: var(--text-muted);
    color: var(--text-muted);
    pointer-events: none;
}

/* Contact Section & Newsletter */
.contact-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
}

.form-input {
    flex-grow: 1;
    padding: 16px 20px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-right: none;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--text-muted);
}

.submit-btn {
    border-radius: 0;
}

.booking-info {
    text-align: center;
    color: var(--text-muted);
    line-height: 2;
}

.pic-in-box {
    max-width: 100%;
    width: 500px;
    margin: 0 auto 30px;
    display: block;
}

/* Footer */
.footer {
    padding: 40px 0 80px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-copy {
    color: #555;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        background-attachment: scroll;
        background-position: center 20%;
        height: auto;
        min-height: 70vh;
        padding-top: 15vh;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .header-social {
        display: none !important;
    }

    .nav-toggle {
        display: block;
        z-index: 1100;
        position: relative;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        pointer-events: none;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .tour-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        padding: 30px 0;
    }

    .tour-date {
        margin-bottom: 5px;
    }

    .tour-tickets {
        text-align: center;
        margin-top: 10px;
    }

    .archive-item {
        grid-template-columns: 1fr;
        gap: 3px;
        text-align: center;
        padding: 8px 0;
        font-size: 0.85rem;
    }

    .archive-year-header {
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }

    .form-input {
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        text-align: center;
    }
    
    .desktop-break {
        display: none !important;
    }
    .mobile-only-link,
    .mobile-break {
        display: block !important;
    }
}

.desktop-break { display: block; }
.mobile-only-link,
.mobile-break { display: none; }

/* Accordion Styles */
.archive-year-header {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.archive-year-header:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
.archive-year-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
}
.archive-year-header.open::after {
    content: '-';
}
.archive-year-content {
    display: none;
    padding-bottom: 20px;
}
.archive-year-content.open {
    display: block;
}
