.hero {
    height: 85vh;
    background:
        linear-gradient(135deg,
            rgba(255, 170, 0, 0.1) 0%,
            rgba(255, 68, 68, 0.08) 50%,
            rgba(10, 10, 10, 0.9) 100%),
        url('assets/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            transparent 0%,
            rgba(68, 68, 68, 0.4) 50%,
            rgba(10, 10, 10, 0.8) 100%);
}

/* Carrousel d'images */
#gallery input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(255, 153, 0, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#slide1:checked~.carousel-container .carousel {
    transform: translateX(0%);
}

#slide2:checked~.carousel-container .carousel {
    transform: translateX(-100%);
}

#slide3:checked~.carousel-container .carousel {
    transform: translateX(-200%);
}

#slide4:checked~.carousel-container .carousel {
    transform: translateX(-300%);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
}

.carousel-overlay h3 {
    color: #ffaa00;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.carousel-overlay p {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    display: block;
}

.indicator:hover {
    background: rgba(255, 170, 0, 0.5);
}

#slide1:checked~.carousel-indicators label[for="slide1"],
#slide2:checked~.carousel-indicators label[for="slide2"],
#slide3:checked~.carousel-indicators label[for="slide3"],
#slide4:checked~.carousel-indicators label[for="slide4"] {
    background: #ffaa00;
    width: 30px;
    border-radius: 6px;
}

.bloc {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.bloc:nth-child(even) {
    flex-direction: row-reverse;
}

.bloc img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.bloc p {
    flex: 1;
    text-align: justify;
}

.bloc h3 {
    color: #ffaa00;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .bloc {
        gap: 15px;
        margin-bottom: 40px;
    }

    .bloc img {
        width: 220px;
    }


    .bloc-text {
        font-size: 16px;
    }


    .bloc:nth-child(even) {
        flex-direction: row-reverse;
    }
}