﻿/* Carrusel mejorado */
.carousel-container {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 4rem;
    z-index: 2;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

    .carousel-slide.active {
        opacity: 1;
    }

    /* Efecto de superposición para mejor legibilidad */
    .carousel-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 1s ease 0.5s;
}

.carousel-slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Botones del carrusel - Letras blancas */
.carousel-slide .btn {
    color: #FFFFFF !important;
    background-color: var(--light-green);
}

    .carousel-slide .btn:hover {
        color: var(--primary-green) !important;
        background-color: #FFFFFF;
    }

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

    .indicator.active {
        background-color: var(--light-green);
        transform: scale(1.3);
    }
