/* Home Slider Styles */
.home-section {
    position: relative;
    background: none;
    padding-bottom: 0px!important;
}

.home-section .carousel-inner {
    height: calc(100vh - 100px);
    min-height: 500px;
}

.home-section .carousel-item {
    height: calc(100vh - 100px);
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay para mejorar legibilidad del texto */
.home-section .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.home-section .carousel-item .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-section .carousel-item .row {
    width: 100%;
    margin: 0;
}

/* Imagen de fondo para Slide 1 */
.home-section .carousel-item.slide-1 {
    background-image: url('../img/bg-02.png');
}

/* Imagen de fondo para Slide 2 */
.home-section .carousel-item.slide-2 {
    background-image: url('../img/bg-04.png') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Ocultar cualquier video residual */
.home-section .slide-video {
    display: none !important;
}

/* Estilos para los controles del carousel */
.home-section .carousel-control-prev,
.home-section .carousel-control-next {
    z-index: 3;
    width: 5%;
}

.home-section .carousel-control-prev-icon,
.home-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Estilos para los indicadores */
.home-section .carousel-indicators {
    z-index: 3;
    bottom: 30px;
}

.home-section .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}

.home-section .carousel-indicators li.active {
    background-color: #fff;
}

/* Mejorar visibilidad del texto */
.home-section .title,
.home-section .sub-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Logo en slide 2 */
.home-section .slide-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Responsive */
@media (max-width: 768px) {
    .home-section .carousel-inner,
    .home-section .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
}

@media screen and (max-width: 992px) {
    .home-section img {
        padding: 0;
        width: 65%;
    }

    .home-section .title {
        padding: 20px 0;
        font-size: 40px;
        line-height: 50px;
    }
}
