/* =========================================================
   CAROUSEL - CENTRE SPIRITUEL OBLAT DE NGAOUNDÉRÉ
   ========================================================= */
.carousel { width: 100%; margin: 0; padding: 0; overflow: hidden; }
.carousel-container { position: relative; width: 100%; height: 500px; overflow: hidden; background: #000; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; }
.carousel-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-button { position: absolute; top: 50%; z-index: 10; width: 48px; height: 48px; transform: translateY(-50%); border: none; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 28px; line-height: 48px; text-align: center; cursor: pointer; transition: background .3s ease, transform .3s ease; }
.carousel-button:hover { background: rgba(0,0,0,.75); transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-indicators { position: absolute; bottom: 20px; left: 50%; z-index: 10; display: flex; gap: 10px; transform: translateX(-50%); }
.carousel-indicator { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s ease, transform .3s ease; }
.carousel-indicator:hover { transform: scale(1.2); }
.carousel-indicator.active { background: #fff; transform: scale(1.15); }


/* Layout en deux colonnes pour le Hero */
.header-split-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text-content, 
.hero-carousel-wrapper {
    width: 100%;
}

/* Alignement côte à côte sur les écrans d'ordinateurs */
@media (min-width: 992px) {
    .header-split-container {
        flex-direction: row;
    }
    .hero-text-content {
        width: 48%;
    }
    .hero-carousel-wrapper {
        width: 48%;
    }
}



@media (max-width: 992px) { .carousel-container { height: 400px; } }
@media (max-width: 768px) { .carousel-container { height: 300px; } .carousel-button { width: 40px; height: 40px; font-size: 22px; line-height: 40px; } .carousel-prev { left: 10px; } .carousel-next { right: 10px; } .carousel-indicators { bottom: 12px; gap: 7px; } .carousel-indicator { width: 9px; height: 9px; } }
@media (max-width: 480px) { .carousel-container { height: 240px; } .carousel-button { width: 34px; height: 34px; font-size: 18px; line-height: 34px; } }
