/* Contenedor principal - UN POCO MÁS LARGO */
.hero-carousel-section {
    position: relative;
    height: 75vh; /* AUMENTADO de 70vh a 75vh */
    min-height: 650px; /* AUMENTADO de 600px a 650px */
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
}

/* Carrusel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* TRACK - ESTO ES LO MÁS IMPORTANTE */
.carousel-track {
    display: flex;
    height: 100%;
    width: 900%; /* 9 slides * 100% = 900% */
    transition: transform 0.5s ease; /* CAMBIADO: de 0.8s a 0.5s para mayor velocidad */
}

/* SLIDE - Cada imagen */
.carousel-slide {
    width: calc(100% / 9); /* 100% dividido entre 9 slides = 11.111...% */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
}

/* Overlay sutil */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(73, 46, 26, 0.15) 0%,
        rgba(182, 151, 73, 0.08) 100%
    );
}

/* Overlay general */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(73, 46, 26, 0.1) 0%,
        rgba(121, 99, 43, 0.05) 50%,
        rgba(197, 183, 170, 0.02) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Controles */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
}

/* Hero Content Section (debajo del carrusel) */
.hero-content-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-5xl);
    color: var(--color-dark-brown);
    margin-bottom: var(--spacing-md);
    animation: slideInFromBottom 1s ease 0.5s both;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-medium-brown);
    margin-bottom: var(--spacing-lg);
    animation: slideInFromBottom 1s ease 0.7s both;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: slideInFromBottom 1s ease 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInFromBottom 1s ease 1.1s both;
}

/* Animaciones */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    margin-top: var(--spacing-3xl);
    text-align: center;
}

.scroll-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--color-very-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: all var(--transition-normal);
    animation: bounce 2s infinite;
}

.scroll-link:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* RESPONSIVE - MÁS ALTO EN MÓVILES TAMBIÉN */

/* Tablets */
@media (max-width: 1024px) {
    .hero-carousel-section {
        height: 65vh; /* Aumentado */
        min-height: 550px; /* Aumentado */
    }
    
    .carousel-track {
        transition: transform 0.4s ease; /* Aún más rápido en tablets */
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .hero-carousel-section {
        height: 55vh; /* Aumentado */
        min-height: 450px; /* Aumentado */
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
    
    .carousel-track {
        transition: transform 0.3s ease; /* Aún más rápido en móviles */
    }
}

/* Móviles */
@media (max-width: 480px) {
    .hero-carousel-section {
        height: 45vh; /* Aumentado */
        min-height: 350px; /* Aumentado */
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-track {
        transition: transform 0.25s ease; /* Muy rápido en móviles pequeños */
    }
}

/* Estilos para las imágenes específicas para mejor visualización */
.carousel-slide:nth-child(1) { background-image: url('../assets/images/backgrounds/Orlara11.png'); }
.carousel-slide:nth-child(2) { background-image: url('../assets/images/backgrounds/Orlara1.jpg'); }
.carousel-slide:nth-child(3) { background-image: url('../assets/images/backgrounds/Orlara2.jpg'); }
.carousel-slide:nth-child(4) { background-image: url('../assets/images/backgrounds/Orlara3.jpg'); }
.carousel-slide:nth-child(5) { background-image: url('../assets/images/backgrounds/Orlara4.jpg'); }
.carousel-slide:nth-child(6) { background-image: url('../assets/images/backgrounds/Orlara5.jpg'); }
.carousel-slide:nth-child(7) { background-image: url('../assets/images/backgrounds/Orlara6.jpg'); }
.carousel-slide:nth-child(8) { background-image: url('../assets/images/backgrounds/Orlara7.jpg'); }
.carousel-slide:nth-child(9) { background-image: url('../assets/images/backgrounds/Orlara8.jpg'); }