/* assets/css/hero.css – Versión FINAL DEFINITIVA 2025 */
/* Verde oscuro original del hero restaurado + todo con variables */

.hero-carousel {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 12vw;
    padding-top: 100px;
    padding-bottom: 100px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    animation: zoom 16s ease-in-out infinite;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    opacity: 1;
}

/* Zoom sutil y lento */
@keyframes zoom {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: 16s; }
.carousel-slide:nth-child(3) { animation-delay: 32s; }

.carousel-slide:nth-child(1),
.carousel-slide:nth-child(2),
.carousel-slide:nth-child(3) {
    animation-iteration-count: infinite;
}

/* Overlay con el VERDE OSCURO ORIGINAL del hero (más carácter) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient-hero);   /* ← Verde #0b3c3a con personalidad */
    z-index: 1;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 200;
    font-size: clamp(1.8rem, 3vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blanco);
    max-width: 680px;
    text-shadow: var(--sombra-hero);
}

.hero-title .highlight {
    color: var(--maiz);
    font-weight: 300;
    letter-spacing: 0.22em;
    display: block;
    text-shadow:
        0 0 20px rgba(var(--maiz-rgb), 0.9),
        0 0 40px rgba(var(--maiz-rgb), 0.6),
        0 4px 16px rgba(var(--negro-rgb), 0.7);
    -webkit-text-stroke: 0.5px rgba(var(--blanco-rgb), 0.4);
}

/* BOTÓN CTA */
.hero-cta {
    position: absolute;
    bottom: 60px;
    right: 8vw;
    z-index: 3;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: rgba(var(--arena-rgb), 0.15);
    border: 1.5px solid rgba(var(--blanco-rgb), 0.4);
    border-radius: 4px;
    color: var(--blanco);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-hero:hover {
    background: rgba(var(--arena-rgb), 0.3);
    border-color: rgba(var(--blanco-rgb), 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--negro-rgb), 0.2);
}

.btn-arrow {
    font-size: 1.4em;
    transition: transform 0.4s ease;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(8px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content {
        padding-left: 6vw;
        padding-right: 6vw;
        padding-top: 90px;
        padding-bottom: 90px;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.6rem, 4vw, 2.6rem);
        max-width: 100%;
    }

    .hero-cta {
        bottom: 40px;
        right: 50%;
        transform: translateX(50%);
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 0.94rem;
    }
}