/* ========================================
   FOOTER - FUN JUNGLE PARKS
   ======================================== */

/* ===== FOOTER PRINCIPAL ===== */
.jungle-footer {
    background: var(--jungle-dark);
    color: var(--jungle-white);
    z-index: 1;
}

.jungle-footer-main {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    height: 510px;
}

/* ===== CONTENIDO DEL FOOTER ===== */
.jungle-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.jungle-footer-image {
    flex: 0 0 auto;
    max-width: 450px;
    display: flex;
    justify-content: center;
}

.jungle-footer-image img {
    width: 66%;
    margin-top: 1rem;
}

.jungle-footer-center {
    flex: 1;
    text-align: center;

    img {
        width: 70%;
        margin-right: 60px;
    }
}


.jungle-footer-contact {
    flex: 0 0 auto;
    max-width: 350px;
    color: white;
}

.jungle-footer-contact .footer-contact-content div {
    margin-bottom: 10px;
}

.jungle-footer-contact .footer-contact-content div span {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 700;
}

.jungle-footer-contact .footer-contact-content div a {
    color: #ffff00;
    font-size: 14px;
    text-decoration: none;
    display: block;
}

.jungle-footer-contact .footer-social-content {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.jungle-footer-contact .footer-social-content a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--jungle-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;

    i {
        margin: 0;
    }
}



/* ===== COLUMNA SOBRE NOSOTROS ===== */
.jungle-footer-about {
    padding-right: var(--spacing-lg);
}

.jungle-footer-logo {
    margin-bottom: var(--spacing-lg);
}

.jungle-footer-logo img {
    height: 60px;
    width: auto;
}

.jungle-footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* ===== REDES SOCIALES ===== */
.jungle-social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.jungle-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--jungle-white);
    font-size: 20px;
    transition: var(--transition-base);
}

.jungle-social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    color: var(--jungle-white);
}

/* ===== COLUMNAS DE LINKS ===== */
.jungle-footer-column h4 {
    font-size: var(--fs-h5);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.jungle-footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.jungle-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungle-footer-links li {
    margin-bottom: var(--spacing-sm);
}

.jungle-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jungle-footer-links a:hover {
    color: var(--jungle-pink);
    padding-left: 5px;
}

.jungle-footer-links a i {
    font-size: 12px;
    opacity: 0;
    transition: var(--transition-base);
}

.jungle-footer-links a:hover i {
    opacity: 1;
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.jungle-footer-contact-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.jungle-footer-contact-item i {
    color: var(--jungle-pink);
    font-size: 18px;
    min-width: 20px;
    margin-top: 3px;
}

.jungle-footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.jungle-footer-contact-item a:hover {
    color: var(--jungle-cyan);
}

/* ===== NEWSLETTER ===== */
.jungle-newsletter {
    margin-top: var(--spacing-lg);
}

.jungle-newsletter-form {
    display: flex;
    margin-top: var(--spacing-md);
}

.jungle-newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--jungle-white);
    font-size: var(--fs-body);
    transition: var(--transition-base);
}

.jungle-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.jungle-newsletter-input:focus {
    outline: none;
    border-color: var(--jungle-pink);
    background: rgba(255, 255, 255, 0.15);
}

.jungle-newsletter-btn {
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--jungle-white);
    border: none;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.jungle-newsletter-btn:hover {
    transform: translateX(3px);
}

/* ===== FOOTER BOTTOM ===== */
.jungle-footer-bottom {
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    /* padding: var(--spacing-lg) 0; */
    background: var(--jungle-purple);
    padding: 8.8px 0;
    ;
}

.jungle-footer-bottom-content {
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: white;
    font-size: 13px;
}

.jungle-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-body-sm);
}

.term-cond {
    display: flex;
    gap: 20px;
    align-items: center;
}

.term-cond a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.term-cond span {
    color: rgba(255, 255, 255, 0.4);
}

.term-cond a:hover {
    text-decoration: none;
    color: var(--jungle-white) !important;
    font-weight: 700;
}

.web {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* ===== LINKS DE TÉRMINOS ===== */
.jungle-footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.jungle-footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--fs-body-sm);
    transition: var(--transition-base);
}

.jungle-footer-legal a:hover {
    color: var(--jungle-white);
}

/* ===== BOTÓN VOLVER ARRIBA ===== */
.jungle-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--jungle-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: var(--z-fixed);
}

.jungle-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.jungle-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .jungle-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .jungle-footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .jungle-footer {
        padding-top: var(--spacing-2xl);
    }

    .jungle-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .jungle-footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .jungle-footer-legal {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .jungle-newsletter-form {
        flex-direction: column;
    }

    .jungle-newsletter-input {
        border-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-sm);
    }

    .jungle-newsletter-btn {
        border-radius: var(--border-radius-md);
        width: 100%;
    }

    .jungle-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .jungle-social-links {
        justify-content: center;
    }
}