/* ========================================
   BANNER CAROUSEL - Estilos Compartilhados
   IgrejasNet 2026
   ======================================== */

.home-hero-carousel {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    vertical-align: top;
}

/* Controles de Navegacao (Setas) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control i {
    font-size: 20px;
}

/* Indicadores (Dots) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: rgba(255, 107, 53, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .carousel-control {
        width: 40px;
        height: 40px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .carousel-control i {
        font-size: 16px;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }

    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .carousel-control {
        width: 35px;
        height: 35px;
        opacity: 0.5;
    }

    .carousel-control i {
        font-size: 14px;
    }
}
