
.hero-carousel-section {
    /* Mueve el contenido hacia abajo para que la barra de navegación fija no lo oculte */
    padding-top: 70px; /* Ajusta según la altura de tu nav-bar */
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    height: 600px; /* Altura estándar para escritorio */
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Por defecto, todos están ocultos */
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center;
    text-align: center;
}

.carousel-slide.active {
    opacity: 1; /* Solo el slide activo es visible */
}

/* Capa de contenido para mejor legibilidad */
.carousel-content {
    z-index: 10;
    padding: 20px;
    max-width: 800px;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.carousel-content.dark-overlay {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--white); /* Forzar color blanco */
}

.carousel-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

/* Botones */
.carousel-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color); /* Rojo */
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-color);
}

.carousel-button:hover {
    background-color: #c02121;
}

.carousel-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.carousel-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Controles de Navegación (Flechas) */
.carousel-control {
    /* Ocultar completamente los botones de navegación (flechas) */
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
    border-radius: 0 5px 5px 0;
}

.carousel-control.next {
    right: 20px;
    border-radius: 5px 0 0 5px;
}

/* Indicadores (Puntos) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.indicator {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: var(--primary-color);
    border: 2px solid var(--white);
}

/* --- RESPONSIVIDAD MÓVIL --- */
@media (max-width: 768px) {
    .hero-carousel {
        height: 400px; /* Reducir altura en móvil */
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-subtitle {
        font-size: 1rem;
    }

    .carousel-button {
        padding: 8px 20px;
    }
}
