/**
 * Estilos para la Sección Premium de Tours (Showcase 1 + 4)
 * Plugin: Global Expeditions Home Sections
 *
 * Espacio de nombres: .ge-tour-showcase, .ge-tour-showcase__*
 */

/* ==========================================================================
   1. CONTENEDOR PRINCIPAL
   ========================================================================== */
.ge-tour-showcase {
    background-color: #FFFFFF;
    padding: 75px 0 85px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.ge-tour-showcase__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   2. TARJETA PRINCIPAL PANORÁMICA (7 LAGUNAS DE AUSANGATE)
   ========================================================================== */
.ge-tour-showcase__featured {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    min-height: 440px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background-color: #0F172A;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-sizing: border-box;
}

.ge-tour-showcase__featured:hover,
.ge-tour-showcase__featured:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   3. CUADRÍCULA DE 4 TARJETAS SECUNDARIAS
   ========================================================================== */
.ge-tour-showcase__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.ge-tour-showcase__card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 330px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
    background-color: #0F172A;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-sizing: border-box;
}

.ge-tour-showcase__card:hover,
.ge-tour-showcase__card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   4. ENLACE CONTENEDOR DE LA TARJETA (ACCESIBILIDAD POR TECLADO)
   ========================================================================== */
.ge-tour-showcase__card-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    min-height: inherit;
    position: relative;
    text-decoration: none !important;
    outline: none;
    box-sizing: border-box;
}

.ge-tour-showcase__card-link:focus-visible {
    outline: 3px solid #55BFEA !important;
    outline-offset: 3px;
}

/* ==========================================================================
   5. MEDIOS Y FOTOGRAFÍAS CON ZOOM SUAVE
   ========================================================================== */
.ge-tour-showcase__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ge-tour-showcase__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.ge-tour-showcase__featured:hover .ge-tour-showcase__image,
.ge-tour-showcase__featured:focus-within .ge-tour-showcase__image,
.ge-tour-showcase__card:hover .ge-tour-showcase__image,
.ge-tour-showcase__card:focus-within .ge-tour-showcase__image {
    transform: scale(1.06);
}

/* ==========================================================================
   6. DEGRADADO OSCURO CINEMATOGRÁFICO (LEGIBILIDAD DEL TEXTO)
   ========================================================================== */
.ge-tour-showcase__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 25, 0.92) 0%,
        rgba(10, 15, 25, 0.52) 45%,
        rgba(10, 15, 25, 0.12) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.ge-tour-showcase__featured:hover .ge-tour-showcase__scrim,
.ge-tour-showcase__card:hover .ge-tour-showcase__scrim {
    background: linear-gradient(
        to top,
        rgba(10, 15, 25, 0.95) 0%,
        rgba(10, 15, 25, 0.58) 50%,
        rgba(10, 15, 25, 0.15) 80%,
        transparent 100%
    );
}

/* ==========================================================================
   7. CONTENIDO ALINEADO A LA PARTE INFERIOR IZQUIERDA
   ========================================================================== */
.ge-tour-showcase__content {
    position: relative;
    z-index: 3;
    padding: 26px 22px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
}

.ge-tour-showcase__content--featured {
    padding: 42px 36px;
    max-width: 760px;
}

/* ==========================================================================
   8. TÍTULOS Y DESCRIPCIONES BLANCAS
   ========================================================================== */
.ge-tour-showcase__title {
    font-family: inherit;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.25 !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.ge-tour-showcase__title--featured {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
}

.ge-tour-showcase__desc {
    font-family: inherit;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    line-height: 1.45 !important;
    margin: 0 0 16px 0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.ge-tour-showcase__desc--featured {
    font-size: 15.5px !important;
    margin-bottom: 22px !important;
    max-width: 620px;
}

/* ==========================================================================
   9. BOTÓN NARANJA ELEGANTE («VER EXPERIENCIA →»)
   ========================================================================== */
.ge-tour-showcase__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F58220;
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(245, 130, 32, 0.35);
    pointer-events: auto;
    letter-spacing: 0.3px;
    line-height: 1;
}

.ge-tour-showcase__btn--featured {
    font-size: 14.5px;
    padding: 11px 26px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(245, 130, 32, 0.4);
}

.ge-tour-showcase__btn svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

/* Hover en la tarjeta o botón: brillo naranja y desplazamiento de flecha */
.ge-tour-showcase__card:hover .ge-tour-showcase__btn,
.ge-tour-showcase__card:focus-within .ge-tour-showcase__btn,
.ge-tour-showcase__featured:hover .ge-tour-showcase__btn,
.ge-tour-showcase__featured:focus-within .ge-tour-showcase__btn {
    background-color: #FF7900;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 121, 0, 0.48);
}

.ge-tour-showcase__card:hover .ge-tour-showcase__btn svg,
.ge-tour-showcase__card:focus-within .ge-tour-showcase__btn svg,
.ge-tour-showcase__featured:hover .ge-tour-showcase__btn svg,
.ge-tour-showcase__featured:focus-within .ge-tour-showcase__btn svg {
    transform: translateX(4px);
}

/* ==========================================================================
   10. RESPONSIVE / ADAPTABILIDAD
   ========================================================================== */
@media (max-width: 992px) {
    .ge-tour-showcase {
        padding: 60px 0 70px 0;
    }

    .ge-tour-showcase__featured {
        min-height: 380px;
        margin-bottom: 20px;
    }

    .ge-tour-showcase__content--featured {
        padding: 30px 24px;
    }

    .ge-tour-showcase__title--featured {
        font-size: 26px !important;
    }

    .ge-tour-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ge-tour-showcase__card {
        min-height: 290px;
    }
}

@media (max-width: 640px) {
    .ge-tour-showcase {
        padding: 45px 0 55px 0;
    }

    .ge-tour-showcase__featured {
        min-height: 320px;
        border-radius: 10px;
        margin-bottom: 16px;
    }

    .ge-tour-showcase__content--featured {
        padding: 22px 18px;
    }

    .ge-tour-showcase__title--featured {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }

    .ge-tour-showcase__desc--featured {
        font-size: 14px !important;
        margin-bottom: 16px !important;
    }

    .ge-tour-showcase__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ge-tour-showcase__card {
        min-height: 250px;
        border-radius: 10px;
    }

    .ge-tour-showcase__content {
        padding: 20px 18px;
    }

    .ge-tour-showcase__title {
        font-size: 18px !important;
    }

    .ge-tour-showcase__desc {
        font-size: 13px !important;
        margin-bottom: 14px !important;
    }

    .ge-tour-showcase__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ==========================================================================
   11. PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .ge-tour-showcase__featured,
    .ge-tour-showcase__card,
    .ge-tour-showcase__image,
    .ge-tour-showcase__btn,
    .ge-tour-showcase__btn svg,
    .ge-tour-showcase__scrim {
        transition: none !important;
        transform: none !important;
    }
}
