/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    overflow: hidden;
}

/* Slideshow container — fills the hero behind all content */
.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Each slide: image or video fills the frame, fades in/out */
.hero-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: heroFade 24s infinite;
}

.hero-bg-slide img,
.hero-bg-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stagger each slide by 6s (24s ÷ 4 slides) */
.hero-bg-slide:nth-child(1) { animation-delay:  0s; }
.hero-bg-slide:nth-child(2) { animation-delay:  6s; }
.hero-bg-slide:nth-child(3) { animation-delay: 12s; }
.hero-bg-slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroFade {
    0%        { opacity: 0; }
    4%        { opacity: 1; }   /* fade in */
    21%       { opacity: 1; }   /* hold */
    25%       { opacity: 0; }   /* fade out */
    100%      { opacity: 0; }
}

/* Dark + gradient overlay so text stays legible */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 60%, rgba(26, 39, 68, 0.55) 0%, transparent 70%),
        linear-gradient(180deg, rgba(8, 11, 20, 0.72) 0%, rgba(13, 18, 32, 0.82) 100%);
}

/* All direct hero content sits above the slideshow and overlay */
.hero-section > *:not(.hero-bg-slideshow):not(.hero-bg-overlay) {
    position: relative;
    z-index: 2;
}


.hero-section h1 {
    font-family: 'Cabin', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: 'Cabin', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-style: italic;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-bottom: 1.4rem;
    font-weight: 400;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.hero-meta__date {
    font-family: 'Cabin', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-meta__sep {
    color: rgba(201, 168, 76, 0.4);
    font-size: 1rem;
}

.hero-meta__venue {
    font-family: 'Cabin', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── Countdown ── */
#countdown-timer {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
}

#countdown-timer .time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#countdown-timer .time-value {
    font-family: 'Cabin', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
    line-height: 1;
}

#countdown-timer .time-label {
    font-family: 'Cabin', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-top: 0.3rem;
}

/* ── Hero CTA Buttons ── */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.cta-buttons .cta-button:last-child {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.cta-buttons .cta-button:last-child:hover {
    background-color: var(--gold);
    color: var(--bg);
}

/* ── About ── */
.about-event p {
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--muted);
}

/* ── Agenda ── */
.agenda-timeline {
    max-width: 820px;
    margin: 0 auto;
}

.agenda-progress {
    position: relative;
    isolation: isolate;
}

.agenda-progress input[type="radio"] {
    display: none;
}

/* ─ Step row ─ */
.agenda-steps-row {
    display: flex;
    position: relative;
    height: 84px;
    z-index: 2;
}

.agenda-step {
    width: 20%;
    text-align: center;
    position: relative;
}

.agenda-step label {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.35);
    background: var(--bg);
    color: var(--muted);
    font-family: 'Cabin', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.step-text {
    display: block;
    margin-top: 12px;
    font-family: 'Cabin', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.agenda-step label:hover .step-num {
    border-color: var(--gold);
    color: var(--gold);
}

.agenda-step label:hover .step-text {
    color: var(--text);
}

/* ─ Active step: gold circle ─ */
#agenda-1:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-num,
#agenda-2:checked ~ .agenda-steps-row .agenda-step:nth-child(2) .step-num,
#agenda-3:checked ~ .agenda-steps-row .agenda-step:nth-child(3) .step-num,
#agenda-4:checked ~ .agenda-steps-row .agenda-step:nth-child(4) .step-num,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(5) .step-num {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.45);
    transform: scale(1.28);
}

/* ─ Completed steps ─ */
#agenda-2:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-num,
#agenda-3:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-num,
#agenda-3:checked ~ .agenda-steps-row .agenda-step:nth-child(2) .step-num,
#agenda-4:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-num,
#agenda-4:checked ~ .agenda-steps-row .agenda-step:nth-child(2) .step-num,
#agenda-4:checked ~ .agenda-steps-row .agenda-step:nth-child(3) .step-num,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-num,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(2) .step-num,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(3) .step-num,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(4) .step-num {
    background: var(--bg);
    border-color: rgba(201, 168, 76, 0.55);
    color: var(--gold);
}

/* ─ Active step text ─ */
#agenda-1:checked ~ .agenda-steps-row .agenda-step:nth-child(1) .step-text,
#agenda-2:checked ~ .agenda-steps-row .agenda-step:nth-child(2) .step-text,
#agenda-3:checked ~ .agenda-steps-row .agenda-step:nth-child(3) .step-text,
#agenda-4:checked ~ .agenda-steps-row .agenda-step:nth-child(4) .step-text,
#agenda-5:checked ~ .agenda-steps-row .agenda-step:nth-child(5) .step-text {
    color: var(--text);
    transform: scale(1.28);
}

/* ─ Progress bars ─ */
/* circles centred at 10%, 30%, 50%, 70%, 90% — bar runs between their edges */
.agenda-bar-bg,
.agenda-bar {
    position: absolute;
    height: 2px;
    top: 16px;
    left: calc(10% + 17px);
    border-radius: 2px;
}

.agenda-bar-bg {
    width: calc(80% - 34px);
    background: rgba(201, 168, 76, 0.15);
    z-index: -2;
}

.agenda-bar {
    width: 0;
    background: linear-gradient(90deg, var(--gold), rgba(201, 168, 76, 0.6));
    z-index: -1;
    transition: width 700ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
}

#agenda-1:checked ~ .agenda-bar { width: 0; }
#agenda-2:checked ~ .agenda-bar { width: calc(20% - 34px); }
#agenda-3:checked ~ .agenda-bar { width: calc(40% - 34px); }
#agenda-4:checked ~ .agenda-bar { width: calc(60% - 34px); }
#agenda-5:checked ~ .agenda-bar { width: calc(80% - 34px); }

/* ─ Content tabs ─ */
.agenda-tabs {
    margin-top: 1.5rem;
}

.agenda-tab {
    display: none;
    text-align: center;
    background: rgba(26, 39, 68, 0.5);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 6px;
    padding: 2rem 3rem;
}

.agenda-tab h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.agenda-tab p {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
}

#agenda-1:checked ~ .agenda-tabs .agenda-tab:nth-child(1),
#agenda-2:checked ~ .agenda-tabs .agenda-tab:nth-child(2),
#agenda-3:checked ~ .agenda-tabs .agenda-tab:nth-child(3),
#agenda-4:checked ~ .agenda-tabs .agenda-tab:nth-child(4),
#agenda-5:checked ~ .agenda-tabs .agenda-tab:nth-child(5) {
    display: block;
}

/* ── Speakers ── */
.speakers {
    background-color: var(--slate);
    max-width: 100%;
    padding: 6rem 4rem;
}

.speakers h2 {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.speaker-card {
    background-color: rgba(8, 11, 20, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.speaker-card:hover {
    border-color: var(--gold);
}

.speaker-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    margin-bottom: 1rem;
    background-color: var(--slate);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.speaker-card h3 {
    color: var(--gold);
}

/* ── Ticket Tiers ── */
.ticket-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ticket-tier {
    border: 1px solid rgba(201, 168, 76, 0.25);
    padding: 2.5rem;
    background-color: var(--slate);
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.ticket-tier:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.ticket-tier h3 {
    font-family: 'Cabin', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.ticket-tier > p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.ticket-tier ul {
    list-style: none;
    padding: 0;
}

.ticket-tier ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    color: var(--muted);
    font-size: 0.9rem;
}

.ticket-tier ul li::before {
    content: "— ";
    color: var(--gold);
}

/* ── Venue ── */
.venue p {
    color: var(--muted);
    font-size: 1rem;
}

.venue-map {
    margin-top: 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    overflow: hidden;
    border-radius: 4px;
}

/* ── Responsive — Mobile ── */
@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem 4rem;
    }

    #countdown-timer {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        gap: 0.75rem;
    }

    .cta-buttons .cta-button {
        text-align: center;
    }

    .speakers {
        padding: 4rem 1.5rem;
    }

    .speakers h2 {
        margin-left: 0;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .ticket-comparison {
        grid-template-columns: 1fr;
    }

    .ticket-tier:hover {
        transform: none;
    }

    .venue-map iframe {
        height: 220px;
    }

    .step-text {
        font-size: 0.6rem;
        letter-spacing: 0.06em;
    }

    .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }

    .agenda-bar-bg,
    .agenda-bar {
        top: 12px;
        left: calc(10% + 13px);
    }

    .agenda-bar-bg {
        width: calc(80% - 26px);
    }

    #agenda-1:checked ~ .agenda-bar { width: 0; }
    #agenda-2:checked ~ .agenda-bar { width: calc(20% - 26px); }
    #agenda-3:checked ~ .agenda-bar { width: calc(40% - 26px); }
    #agenda-4:checked ~ .agenda-bar { width: calc(60% - 26px); }
    #agenda-5:checked ~ .agenda-bar { width: calc(80% - 26px); }

    .agenda-tab {
        padding: 1.2rem 1rem;
    }
}
}