/* --- styles/home.css --- */

/* 1. HERO SECTION & COMPTE À REBOURS */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Pense à remettre ton image de fond ici si tu en avais une différente du placeholder */
    background: 
        linear-gradient(125deg, 
            rgba(255, 0, 127, 0.35) 0%, 
            rgba(26, 26, 26, 0.95) 40%, 
            rgba(0, 212, 255, 0.3) 100%
        ),
        radial-gradient(ellipse at 20% 50%, rgba(255, 0, 127, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 60%),
        var(--dark);
    background-attachment: fixed;
    animation: heroShift 8s ease-in-out infinite alternate;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .location {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.time-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: bold;
    color: var(--light);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .countdown {
        gap: 15px;
    }

    .time-number {
        font-size: 2.5rem;
    }

    .time-label {
        font-size: 0.8rem;
    }
}

/* 2. SECTION PRÉSENTATION (Le Projet) */
.presentation {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    /* S'assure que le fond est bien celui du body */
    background-color: var(--dark);
}

.presentation h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 800;
}

.presentation p {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
}

/* 3. SECTION QUI SOMMES-NOUS (Version DARK) */
.about-us {
    background-color: var(--dark);
    /* Fond sombre */
    padding: 5rem 2rem;
    color: var(--light);
    /* Texte clair */
    border-top: 3px solid var(--primary);
    /* Séparateur rose subtil */
    border-bottom: 3px solid var(--secondary);
    /* Séparateur bleu subtil */
}

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

.about-text h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    /* Titre en cyan comme le reste du site */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.about-block {
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    /* Barre latérale en dégradé pour le style */
    border-image: linear-gradient(to bottom, var(--primary), var(--secondary)) 1 100%;
    border-left-width: 4px;
    border-left-style: solid;
}

.about-block h3 {
    font-size: 1.8rem;
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #ccc;
    /* Gris clair pour le texte courant */
}

/* Liste des partenaires (Food trucks / HC Mouscron) en mode sombre */
.partners-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.partners-list li {
    /* Fond sombre légèrement transparent pour un effet "carte" */
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 1.05rem;
    border-left: 5px solid var(--accent);
    /* Vert fluo pour faire ressortir */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: var(--light);
}

.partners-list strong {
    color: var(--secondary);
    /* Mettre en valeur les noms en cyan */
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 2.2rem;
    }

    .about-block {
        border-left: none;
        padding-left: 0;
        border-image: linear-gradient(to right, var(--primary), var(--secondary)) 1 100%;
        border-top-width: 4px;
        border-top-style: solid;
        padding-top: 1rem;
    }
}

/* 4. CARROUSEL — 2026 edition */
.carousel-section {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--dark);
    overflow: hidden;
    position: relative;
}

/* Ligne déco au dessus */
.carousel-section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.carousel-section h2 {
    color: var(--light);
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/* Underline dégradé sous le titre */
.carousel-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Touch area */
    touch-action: pan-y;
    user-select: none;
}

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

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(25%);
    will-change: transform;
}

/* Slide de base */
.slide {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    opacity: 0.25;
    transform: scale(0.82);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: border-radius 0.5s ease, box-shadow 0.5s ease;
    display: block;
}

/* Slide active */
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.slide.active img {
    border-radius: 20px;
    box-shadow:
        0 0 0 2px var(--primary),
        0 0 30px rgba(255,0,127,0.35),
        0 0 60px rgba(0,212,255,0.15),
        0 25px 50px rgba(0,0,0,0.7);
}

/* Indicateurs de position (dots) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255,0,127,0.5);
}

/* Boutons nav */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.5);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255,0,127,0.4);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 16px; }
.next-btn { right: 16px; }

/* Bouton pause */
.pause-btn {
    bottom: -56px;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pause-btn:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
    background: rgba(0,0,0,0.5);
    box-shadow: none;
}

.pause-btn[aria-pressed="true"] {
    background: rgba(255,0,127,0.2);
    border-color: var(--primary);
    color: var(--primary);
    opacity: 0.8;
    box-shadow: none;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
    .carousel-container {
        height: 320px;
        /* Curseur grab sur mobile */
        cursor: grab;
    }

    .carousel-container.dragging {
        cursor: grabbing;
    }

    .slide {
        flex: 0 0 88%;
        max-width: 88%;
        padding: 0 8px;
        opacity: 0.3;
        transform: scale(0.88);
    }

    .slide.active {
        opacity: 1;
        transform: scale(1);
    }

    .carousel-track {
        transform: translateX(6%);
    }

    /* Cacher les boutons nav sur mobile — swipe suffit */
    .prev-btn, .next-btn { display: none; }

    /* Dots plus grands sur mobile (zone de tap) */
    .carousel-dot { width: 8px; height: 8px; }
    .carousel-dot.active { width: 28px; }

    .pause-btn {
        bottom: -48px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .carousel-container { height: 260px; }
    .carousel-section h2 { font-size: 1.8rem; }
}


/* ===== SECTION RÉSEAUX SOCIAUX ACCUEIL ===== */
.socials-home {
    background: #1e1e1e;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
    padding: 30px 20px;
}

.socials-home-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.socials-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    white-space: nowrap;
}

.socials-home-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    color: white;
    transition: transform 0.3s, filter 0.3s, box-shadow 0.3s;
}

.social-home-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.social-home-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-home-btn.facebook {
    background: #1877f2;
}

.social-home-btn.tiktok {
    background: linear-gradient(45deg, #69C9D0, #EE1D52);
}

@media (max-width: 600px) {
    .socials-home-inner { flex-direction: column; gap: 16px; }
}

/* ===== ENCART TARIFAIRE ACCUEIL ===== */
.home-pricing {
    background: #161616;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
    padding: 50px 20px;
}

.home-pricing-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.home-pricing-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
}

.home-pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.home-price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 40px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 160px;
}

.home-price-card:hover {
    transform: translateY(-6px);
}

.home-price-pink {
    background: rgba(255, 0, 127, 0.1);
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.15);
}

.home-price-pink:hover {
    box-shadow: 0 0 35px rgba(255, 0, 127, 0.4);
}

.home-price-blue {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.home-price-blue:hover {
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.4);
}

.hpc-distance {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.home-price-pink .hpc-distance { color: var(--primary); }
.home-price-blue .hpc-distance { color: var(--secondary); }

.hpc-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.hpc-currency { font-size: 1.2rem; vertical-align: top; margin-top: 4px; display: inline-block; }
.hpc-period   { font-size: 0.75rem; color: #888; display: block; font-weight: normal; margin-top: 4px; }

.hpc-tag {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-pricing-note {
    color: #555;
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 480px) {
    .home-pricing-cards { flex-direction: column; align-items: center; }
    .home-price-card { width: 100%; max-width: 280px; }
}