.header-evenement-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    justify-content: center;
    color: #fff;
    min-height: 65vh;
}

/* Fond vidéo ou image */
.header-evenement-wrapper .image-bg,
.header-evenement-wrapper .video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.header-evenement-wrapper .video-bg video,
.header-evenement-wrapper .video-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-evenement-wrapper .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(167deg, #090125b8 50%, #4b008200 70%, #0057ffb3 100%);
    z-index: 1;
}

/* Contenu centré */
.header-content {
    position: relative;
    z-index: 2;
    width: 80vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 20px;
    padding-bottom: 60px;
}

.min-h-50 {
    min-height: 50vh;
}
/* Partie gauche */
.header-left {
    flex: 1 1 50%;
    min-width: 300px;
}

.header-left h1 {
    font-size: 64px;
    font-family: Arial, sans-serif;
    color: #fff;
}

.header-left h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
}

.header-left h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #fff;
}

.btn-reservation {
    display: inline-block;
    margin-top: 10px;
    background: var(--main-color);
    color: #ffffff;
    padding: 12px 30px;
    font-size: 19px;
    font-weight: 600;
    transition: all 0.3s;
    width: fit-content;
    text-decoration: none!important;
    border-radius: 4px;
}

.btn-reservation:hover {
    background: var(--active-color);
    color: #ffffff;
}

/* Partie droite */
.header-right {
    flex: 1 1 40%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
}

.event-date {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}



.timer {
    display: flex;
    border: 1px solid #fff;
    border-radius: 3px;
}

.timer > div {
    padding: 16px 20px;
    border-left: 1px solid #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.timer > div:first-child {
    border-left: none;
}

.timer span {
    font-size: 24px;
    font-weight: bold;
}

.timer small {
    font-size: 14px;
    opacity: 0.8;
}

/* Si aucun événement */
.no-event .header-evenement-wrapper{
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay.no-event {
    position: absolute !important;
    inset: 0;
    background: linear-gradient(315deg, rgb(0, 191, 255) 0%, rgb(0, 135, 131) 36%, rgb(0, 34, 51) 64%);
    z-index: 1;
}

.overlay.event {
    position: absolute !important;
    inset: 0;
    background: linear-gradient(315deg, rgb(0, 191, 255) 0%, rgb(0, 135, 131) 36%, rgb(0, 34, 51) 64%);
    z-index: 1;
    opacity: 0.5;
}

.header-noevent-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px 0;
    color: white;
}

.header-noevent-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.header-noevent-content p {
    font-size: 20px;
    opacity: 0.9;
}



/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-left, .header-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .header-right {
        align-items: center;
    }

    .header-left h1 {
        font-size: 36px;
    }

    .header-left h2 {
        font-size: 28px;
    }

    .event-date {
        text-align: center;
    }

    .timer {
        justify-content: center;
    }
}

/* Marques et thématiques */
.event-brand,
.event-thematique {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
}
