/* ===================================
   MODERN HERO SLIDER - GLADEX TRAVEL
   =================================== */

.modern-hero {
    position: relative;
    height: 100vh;
    /* Plein écran */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

/* === Backgrounds Dynamiques === */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #0A1128;
    /* Fallback color */
    /* Image par défaut pour éviter le noir au chargement */
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea932a2351d?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s ease;
    transform: scale(1);
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1.1);
    /* Zoom effect lent */
}

/* Overlay sombre dégradé */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 17, 40, 0.9) 0%,
            rgba(10, 17, 40, 0.7) 40%,
            rgba(10, 17, 40, 0.2) 100%);
    z-index: 2;
}

/* === Contenu Principal === */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    height: 100%;
    margin-top: 60px;
    /* Compensation Header */
}

/* Section Gauche (Titres) */
.hero-text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* Centrage vertical */
    height: 100%;
}

.hero-text-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.destination-label {
    display: inline-block;
    color: #00aff2;
    font-size: 1.1rem;
    /* Un peu plus grand */
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 4px solid #00aff2;
    /* Plus visible */
    padding-left: 20px;
    line-height: 1.2;
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    /* Espace augmenté */
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 50px;
    /* Espace boutons augmenté */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Menu Hamburger (Fix Mobile) */
/* C'est géré dans main.css, mais on ajoute un override ici au cas où */
@media (max-width: 968px) {
    .hamburger {
        z-index: 9999 !important;
    }

    .hamburger span {
        background-color: white !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
}

/* Bouton Explorer */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #00aff2;
    color: white;
    padding: 18px 40px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #00aff2;
}

.btn-hero:hover {
    background: transparent;
    border-color: white;
    color: white;
}

/* Section Droite (Cartes Services) */
.hero-cards-container {
    position: relative;
    height: 400px;
    perspective: 1000px;
}

.service-float-card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 350px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
}

/* Carte Active (Celle visible) */
.service-float-card.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
    z-index: 5;
    pointer-events: auto;
    border-color: #00aff2;
}

/* Carte Suivante (En arrière plan) */
.service-float-card.next {
    opacity: 0.6;
    transform: translateY(-50%) translateX(40px) scale(0.9) rotateY(-10deg);
    z-index: 4;
}

/* Contenu Carte */
.card-icon {
    width: 60px;
    height: 60px;
    background: #00aff2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 175, 242, 0.3);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-link {
    color: #00aff2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Timeline & Navigation (Gauche et Bas) */
.timeline-indicators {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 20;
}

.timeline-dot {
    width: 3px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-dot.active {
    background: #00aff2;
    height: 60px;
}

.slider-controls {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #00aff2;
    border-color: #00aff2;
}

/* === Responsive === */
@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        padding-top: 100px;
        text-align: center;
    }

    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-indicators {
        display: none;
    }

    .hero-cards-container {
        height: 300px;
        margin-top: 40px;
        display: none;
        /* Simplification mobile */
    }
}