/* ========================================
   HERO SECTION - FUN JUNGLE PARKS
   ======================================== */

/* ===== HERO PRINCIPAL ===== */
.jungle-hero {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    background: var(--jungle-dark);
}

   .inversores .jungle-hero{
        height: 80vh;
   }

.jungle-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.jungle-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.jungle-hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.jungle-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* ===== OVERLAY DEL HERO ===== */
.jungle-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(44, 44, 44, 0.1) 0%,
            rgba(44, 44, 44, 0.3) 100%);
    z-index: 2;
}

/* ===== CONTENIDO DEL HERO ===== */
.jungle-hero-content {
    position: absolute;
    bottom: 60px;
    z-index: 2;
}

.jungle-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 20, 147, 0.9);
    color: var(--jungle-white);
    font-size: var(--fs-body-sm);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease;
}

.jungle-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.jungle-hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.jungle-hero-subtitle {
    font-size: var(--fs-body-lg);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ===== BOTONES DEL HERO ===== */
.jungle-hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.jungle-hero-buttons .btn {
    min-width: 180px;
    font-size: var(--fs-body-lg);
    padding: 16px 40px;
}

/* ===== SCROLL INDICATOR ===== */
.jungle-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 2%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.jungle-scroll-indicator::before {
    content: '';
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--jungle-white);
    border-radius: 25px;
    position: relative;
}

.jungle-scroll-indicator::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--jungle-white);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

/* ===== CONTROLES DEL SLIDER ===== */
.jungle-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.jungle-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.jungle-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.jungle-slider-dot.active {
    width: 40px;
    border-radius: 6px;
    background: var(--jungle-white);
}

/* ===== FLECHAS DEL SLIDER ===== */
.jungle-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--jungle-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);

    i {
        margin: 0
    }
}



.jungle-slider-arrow:hover {
    background: var(--jungle-pink);
    border-color: var(--jungle-pink);
    transform: translateY(-50%) scale(1.1);
}

.jungle-slider-arrow.prev {
    left: 30px;
}

.jungle-slider-arrow.next {
    right: 30px;
}

.jungle-slider-arrow i {
    color: var(--jungle-white);
    font-size: 20px;
}



/* ===== ANIMACIONES ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 8px;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .jungle-hero {
        min-height: 600px;
    }

    .jungle-hero-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .jungle-hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .jungle-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .jungle-slider-arrow.prev {
        left: 15px;
    }

    .jungle-slider-arrow.next {
        right: 15px;
    }
}

@media (max-width: 575px) {
    .jungle-hero {
        min-height: 500px;
    }

    .jungle-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .jungle-hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .jungle-slider-arrow {
        display: none;
    }

    .jungle-scroll-indicator {
        display: none;
    }
}