/* Estilos para el Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section .carousel {
    height: 70vh;
    min-height: 500px;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay oscuro para mejorar legibilidad */
.hero-section .carousel-item .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,23,28,0.65) 0%, rgba(26,23,28,0.35) 45%, rgba(26,23,28,0.2) 100%);
}

/* Contenido superpuesto */
.hero-section .carousel-item .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    color: #fff;
}


.hero-section .hero-title {
    margin: 0;
    line-height: 1.05;
    color: var(--color-background);
    font-size: 3rem;
    max-width: 500px;
}

.hero-section .hero-subtitle {
    margin: 0;
    opacity: 0.95;
    color: var(--color-background);
    max-width: 500px;
}


/* Indicadores personalizados */
.hero-section .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: #fff;
    border-color: #fff;
}

/* Controles de navegación personalizados */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.hero-section .carousel-control-prev {
    left: 20px;
}

.hero-section .carousel-control-next {
    right: 20px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section .carousel {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .hero-section .carousel-control-prev {
        left: 10px;
    }
    
    .hero-section .carousel-control-next {
        right: 10px;
    }
    
    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

/* Ajustes responsivos del contenido superpuesto */
@media (max-width: 768px) {
    .hero-section .hero-content { padding: 0 1rem; gap: 0.75rem; }
    .hero-section .hero-title { font-size: clamp(1.75rem, 5vw + 0.4rem, 2.5rem); }
    .hero-section .hero-subtitle { font-size: 0.95rem; }
}

@media (max-width: 576px) {
    .hero-section .carousel {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-section .carousel-indicators {
        bottom: 10px;
    }
    
    .hero-section .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}

@media (max-width: 576px) {
    .hero-section .hero-content { padding: 0 0.75rem; }
}

