/* ==========================================
   HERO SECTIONS - DESIGN MODERNE
   ========================================== */

/* Hero Section Modern Design */
.heroSection {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Images de fond spécifiques à chaque page */
.heroSection.festivalHero {
    background-image: url('../../img/evenement/festival.jpg');
}

.heroSection.concertHero {
    background-image: url('../../img/evenement/page_fond.jpg');
}

.heroSection.sportHero {
    background-image: url('../../img/evenement/sport.jpg');
}

.heroSection.spectacleHero {
    background-image: url('../../img/evenement/spectacle.jpg');
}

.heroSection.loisirHero {
    background-image: url('../../img/evenement/loisir.jpg');
}

.heroSection.autresHero {
    background-image: url('../../img/evenement/page_fond.jpg');
}

.heroSection::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.heroSection .heroContent {
    position: relative;
    z-index: 2;
}

.heroSection .heroBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: slideDown 0.8s ease-out;
}

.heroSection .heroBadge i {
    color: #f59e0b;
    font-size: 14px;
}

.heroSection .heroBadge span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heroSection .heroTitle {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: slideUp 1s ease-out 0.2s both;
}

.heroSection .heroTitle span {
    color: #f59e0b;
    position: relative;
}

.heroSection .heroTitle span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.heroSection .heroSubtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    animation: slideUp 1s ease-out 0.4s both;
}

/* Modern Search Box */
.heroSection .searchBox {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    max-width: 700px;
    margin: 0 auto;
    animation: scaleIn 1s ease-out 0.6s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.heroSection .searchBox form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.heroSection .searchBox .form-control {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.heroSection .searchBox .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.heroSection .searchBox .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    outline: none;
}

.heroSection .searchBox .btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.heroSection .searchBox .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.heroSection .searchBox .btn:active {
    transform: translateY(0);
}

/* Stats Section */
.heroStats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.heroStats .statItem {
    text-align: center;
}

.heroStats .statNumber {
    font-size: 32px;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1;
}

.heroStats .statLabel {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .heroSection {
        padding: 60px 0 40px;
    }

    .heroSection .heroTitle {
        font-size: 32px;
        line-height: 1.3;
    }

    .heroSection .heroSubtitle {
        font-size: 16px;
    }

    .heroSection .searchBox {
        padding: 20px;
    }

    .heroSection .searchBox form {
        flex-direction: column;
    }

    .heroSection .searchBox .form-control {
        width: 100%;
    }

    .heroSection .searchBox .btn {
        width: 100%;
    }

    .heroStats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .heroStats .statNumber {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .heroSection .heroTitle {
        font-size: 24px;
    }

    .heroSection .heroBadge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .heroSection .searchBox {
        padding: 16px;
    }

    .heroSection .searchBox .form-control {
        padding: 14px 16px;
        font-size: 15px;
    }

    .heroSection .searchBox .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}