.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: #682C6E;
    margin-bottom: 2rem;
    text-align: center;
}

/* Timeline verticale */
.timeline {
    position: relative;
    padding: 2rem 0;
}

/* Ligne verticale centrale */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #e2e8f0, #682C6E, #e2e8f0);
    transform: translateX(-50%);
}

/* Années */
.year-block {
    margin-bottom: 4rem;
}

.year-marker {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.year-badge {
    display: inline-block;
    background: #682C6E;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(104, 44, 110, 0.3);
    position: relative;
    z-index: 10;
}

/* Marqueur AUJOURD'HUI */
.today-marker {
    position: relative;
    margin: 3rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 8px 32px rgba(251, 191, 36, 0.6);
    }
}

.today-marker::before {
    font-size: 2rem;
    position: absolute;
    left: 50%;
    top: -1rem;
    transform: translateX(-50%);
    background: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.today-content {
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.today-date {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-top: 0.5rem;
}

/* Concerts */
.concert-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Alternance gauche/droite */
.concert-item.layout-img-right {
    flex-direction: row !important;
}

.concert-item.layout-img-left {
    flex-direction: row-reverse !important;
}

.concert-card {
    flex: 1;
    max-width: 48%;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.concert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(104, 44, 110, 0.15);
}

/* Point sur la timeline */
.timeline-dot {
    width: 24px;
    height: 24px;
    background: #682C6E;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e2e8f0;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
}

/* Concerts passés - style différent */
.concert-item.past .concert-card {
    /* opacity: 0.7; REMOVED per user request */
    background: #f8fafc;
}

.concert-item.past .timeline-dot {
    background: #94a3b8;
}

.concert-item.past .concert-date {
    color: #94a3b8;
}

/* ... */

@media (max-width: 768px) {
    /* ... */

    /* Image Background */
    .media-carousel {
        position: absolute;
        inset: 0;
        z-index: 0;
        height: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        background: #1e293b;
        /* Fallback color */
        pointer-events: none;
        /* Disable interaction with the carousel itself */
    }

    .carousel-container {
        display: block;
        height: 100%;
        overflow: hidden;
        /* Ensure no scroll */
    }

    .carousel-slides {
        display: block;
        height: 100%;
        width: 100%;
        transform: none !important;
        /* Disable JS transform */
    }

    /* ... */
}

/* Concerts à venir - style accentué */
.concert-item.upcoming .concert-card {
    border: 2px solid #682C6E;
}

.concert-item.upcoming .timeline-dot {
    background: #10b981;
    animation: ping 2s infinite;
}

@keyframes ping {

    0%,
    100% {
        box-shadow: 0 0 0 4px #e2e8f0;
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.3);
    }
}

.concert-date {
    color: #682C6E;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.concert-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.concert-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.concert-description {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Badge "À venir" / "Passé" */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.upcoming {
    background: #dcfce7;
    color: #166534;
}

.status-badge.past {
    background: #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {

    /* Reset Timeline */
    .timeline::before {
        display: none;
    }

    .timeline {
        padding: 1rem 0;
    }

    /* Year Headers */
    .year-block {
        margin-bottom: 2rem;
    }

    .year-header {
        background: white;
        position: sticky;
        top: 70px;
        /* Below header */
        z-index: 40;
        padding: 10px 0;
        margin: 0 -20px;
        /* Bleed to edges */
        padding-left: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    /* Concert Item - Hero Card Container */
    .concert-item {
        position: relative;
        height: 300px;
        /* Fixed height for the card */
        margin-bottom: 1.5rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        flex-direction: column !important;
        padding-left: 0;
        gap: 0;
        background: #1e293b;
        /* Default dark background for card container */
    }

    /* Hide Desktop Dot */
    .timeline-dot {
        display: none;
    }

    /* Hide specific content on mobile */
    .concert-description,
    .icon {
        display: none;
    }

    /* Image Background */
    .media-carousel {
        position: absolute;
        inset: 0;
        z-index: 0;
        height: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        background: #1e293b;
        /* Fallback color */
        pointer-events: none;
    }

    .carousel-container {
        display: block;
        height: 100%;
        overflow: hidden;
    }

    .carousel-slides {
        display: block;
        height: 100%;
        width: 100%;
        transform: none !important;
    }

    .carousel-slide {
        display: none;
    }

    .carousel-slide:first-child {
        display: block;
        height: 100%;
        width: 100%;
    }

    .carousel-slide img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Content Overlay - Force override of ANY desktop/past styles */
    .concert-item .concert-card,
    .concert-item.past .concert-card {
        position: absolute;
        inset: 0;
        z-index: 10;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.9) 100%) !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 1.5rem;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: white !important;
        max-width: 100%;
        margin-bottom: 0;
        opacity: 1 !important;
        /* Ensure past events are visible */
    }

    /* Text Adjustments - Force white */
    .concert-item .concert-title,
    .concert-item.past .concert-title {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 0.25rem;
    }

    .concert-item .concert-date,
    .concert-item.past .concert-date {
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 600;
    }

    .concert-item .concert-location,
    .concert-item.past .concert-location {
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 0;
    }

    /* Hide JS controls on mobile - Force hide */
    .carousel-nav,
    .carousel-indicators {
        display: none !important;
    }
}

/* CARROUSEL MÉDIA */
.media-carousel {
    flex: 1;
    max-width: 48%;
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradient pour meilleure lisibilité */
.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

/* Boutons navigation carrousel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #682C6E;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Indicateurs (dots) */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}



/* État vide du carrousel */
.carousel-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
}

.carousel-empty-text {
    font-size: 0.9rem;
    margin-top: 1rem;
}



/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.95rem;
}