/* ========================================
   SECCIÓN DE SEDES - FUN JUNGLE PARKS
   ======================================== */

/* ===== CONTENEDOR DE SEDES ===== */
.jungle-sedes-section {
    background: var(--jungle-light-gray);
    padding: var(--spacing-3xl) 0;
}

.jungle-sedes-header {
    text-align: center;
    padding-bottom: 3rem;
}

.jungle-sedes-header h1 {
    margin: 0;
}

.jungle-sedes-header h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-md);
}

.jungle-sedes-header p {
    font-size: var(--fs-body-lg);
    color: var(--jungle-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== GRID DE SEDES ===== */
.jungle-sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

/* ===== TARJETA DE SEDE ===== */
.jungle-sede-card {
    position: relative;
    background: var(--jungle-white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.jungle-sede-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* ===== IMAGEN DE LA SEDE ===== */
.jungle-sede-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.jungle-sede-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jungle-sede-card:hover .jungle-sede-image img {
    transform: scale(1.1);
}

/* Badge Nuevo */
.jungle-sede-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    background: var(--jungle-pink);
    color: var(--jungle-white);
    font-size: var(--fs-body-sm);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.jungle-sede-badge.popular {
    background: var(--jungle-yellow);
    color: var(--jungle-dark);
}

/* Overlay de la imagen */
.jungle-sede-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

/* ===== CONTENIDO DE LA SEDE ===== */
.jungle-sede-content {
    padding: var(--spacing-lg);
}

.jungle-sede-title {
    font-size: var(--fs-h5);
    margin-bottom: var(--spacing-sm);
    color: var(--jungle-dark);
}

.jungle-sede-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jungle-gray);
    font-size: var(--fs-body);
    margin-bottom: var(--spacing-md);
}

.jungle-sede-location i {
    color: var(--jungle-pink);
    font-size: 18px;
}

.jungle-sede-description {
    color: var(--jungle-gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

/* ===== CARACTERÍSTICAS DE LA SEDE ===== */
.jungle-sede-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.jungle-sede-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--jungle-light-gray);
    border-radius: 50px;
    font-size: var(--fs-body-sm);
    color: var(--jungle-dark);
}

.jungle-sede-feature i {
    color: var(--jungle-cyan);
    font-size: 16px;
}

/* ===== INFO ADICIONAL ===== */
.jungle-sede-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--jungle-light-gray);
}

.jungle-sede-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--jungle-gray);
    font-size: var(--fs-body-sm);
}

.jungle-sede-hours i {
    color: var(--jungle-purple);
}

.jungle-sede-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--jungle-white);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jungle-sede-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    color: var(--jungle-white);
}

/* ===== MODAL DE SEDE (opcional) ===== */
.jungle-sede-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.jungle-sede-modal.active {
    opacity: 1;
    visibility: visible;
}

.jungle-sede-modal-content {
    background: var(--jungle-white);
    border-radius: var(--border-radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.jungle-sede-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--jungle-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition-base);
}

.jungle-sede-modal-close:hover {
    background: var(--jungle-pink);
    color: var(--jungle-white);
    transform: rotate(90deg);
}

/* ===== FILTROS DE SEDES ===== */
.jungle-sedes-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.jungle-filter-btn {
    padding: 12px 28px;
    background: var(--jungle-white);
    border: 2px solid var(--jungle-light-gray);
    border-radius: 50px;
    font-weight: 600;
    color: var(--jungle-dark);
    cursor: pointer;
    transition: var(--transition-base);
}

.jungle-filter-btn:hover,
.jungle-filter-btn.active {
    background: var(--gradient-primary);
    color: var(--jungle-white);
    transform: translateY(-2px);
}

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

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

/* Animación de entrada de tarjetas */
.jungle-sede-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.jungle-sede-card:nth-child(1) {
    animation-delay: 0.1s;
}

.jungle-sede-card:nth-child(2) {
    animation-delay: 0.2s;
}

.jungle-sede-card:nth-child(3) {
    animation-delay: 0.3s;
}

.jungle-sede-card:nth-child(4) {
    animation-delay: 0.4s;
}

.jungle-sede-card:nth-child(5) {
    animation-delay: 0.5s;
}

.jungle-sede-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .jungle-sedes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-lg);
    }
}

@media (max-width: 575px) {
    .jungle-sedes-grid {
        grid-template-columns: 1fr;
    }

    .jungle-sede-image {
        height: 220px;
    }

    .jungle-sede-info {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .jungle-sede-btn {
        width: 100%;
        justify-content: center;
    }

    .jungle-sedes-filters {
        flex-direction: column;
    }

    .jungle-filter-btn {
        width: 100%;
    }
}