/* ================================
   HERO SLIDER - Styles Professionnels
   ================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    max-height: 850px;
    overflow: hidden;
    background-color: #1e293b;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ================================
   Slides
   ================================ */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ================================
   Image de fond avec overlay
   ================================ */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: brightness(0.95);
}

/* ================================
   Contenu du Hero
   ================================ */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-text {
    max-width: 900px;
    text-align: center;
    color: #ffffff;
}

.hero-text h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
    font-size: 1.3rem;
    line-height: 1.75;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ================================
   Boutons du Hero
   ================================ */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
}

.hero-buttons .btn-primary {
    background: #ffffff;
    color: #1e293b;
    border: 2px solid #ffffff;
}

.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* ================================
   Boutons de navigation
   ================================ */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* ================================
   Indicateurs
   ================================ */
.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: scale(1.1);
}

.indicator.active {
    background: #ffffff;
    width: 35px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* ================================
   Animations
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 600px;
        max-height: 700px;
    }

    .hero-image::before {
        display: none;
    }

    .hero-image img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
        filter: none;
    }

    .hero-text {
        background: none;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .hero-text p {
        font-size: 1.05rem;
        margin-bottom: 30px;
        line-height: 1.65;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    }

    .hero-buttons {
        gap: 15px;
    }

    .hero-buttons .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }

    .slider-indicators {
        bottom: 25px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 28px;
    }
@media (max-width: 480px) {
    .hero-slider {
        min-height: 500px;
        max-height: 600px;
    }

    .hero-image::before {
        display: none;
    }

    .hero-image img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
        filter: none;
    }

    .hero-text {
        background: none;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 1.75rem;
        margin-bottom: 16px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 24px;
        line-height: 1.6;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 13px 22px;
        font-size: 0.9rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-indicators {
        bottom: 20px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }
}     
   
}
