/* ══════════════════════════════════════════════════════════════
   🎟️ ÉVÉNEMENT — JOURNÉE HOMMAGE (affiche + lightbox)
   Fichier dédié, indépendant de styles.css.
   Utilisé sur johnnyroadradio.html (carte "Prochain événement").
   ══════════════════════════════════════════════════════════════ */

.event-feature-section {
    padding: 10px 20px 30px;
}

.event-feature-container {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 18px;
    padding: 28px 22px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.event-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(220, 20, 60, 0.45);
    border-radius: 999px;
    background: rgba(220, 20, 60, 0.12);
    color: #ff5470;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.event-feature-badge i {
    color: #ffd700;
    font-size: 11px;
}

.event-feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.event-feature-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.event-feature-flyer {
    position: relative;
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 22px;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    background: none;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-feature-flyer:hover,
.event-feature-flyer:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.18);
}

.event-feature-flyer img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.event-feature-flyer-hint {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 999px;
    color: #ffd700;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(4px);
}

.event-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffd700, #d4af37);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-feature-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 215, 0, 0.35);
}

.event-feature-cta i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .event-feature-container {
        padding: 22px 16px 22px;
        border-radius: 14px;
    }

    .event-feature-title {
        font-size: 1.55rem;
    }
}

/* ---------- Lightbox plein écran ---------- */

.flyer-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.flyer-lightbox.active {
    display: flex;
    opacity: 1;
}

.flyer-lightbox-img {
    max-width: min(92vw, 620px);
    max-height: 88vh;
    width: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: flyerLightboxIn 0.25s ease;
}

@keyframes flyerLightboxIn {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.flyer-lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.flyer-lightbox-close:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .flyer-lightbox {
        padding: 16px;
    }

    .flyer-lightbox-close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }
}
