/* assets/css/scroll-styles.css */
.animation-section-wp {
    position: relative;
    height: 1200px; /* Altura total de la sección requerida */
    background-color: #000;
}

.sticky-container-wp {
    position: -webkit-sticky;
    position: sticky;
    top: calc(50vh - 250px); /* Centrado verticalmente durante el sticky */
    height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrub-video-wp {
    position: relative; /* Cambiado de absolute para evitar que "desaparezcan" si no hay contexto */
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 500px;
    display: block;
}

/* Solo el video reverso es absoluto para superponerse al normal */
.reverse-video {
    position: absolute;
    top: 0;
    left: 0;
}

.hidden-video-wp {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.scroll-text-container-wp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.scroll-text-wp {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.scroll-text-wp.active {
    opacity: 1;
    transform: translateY(0);
}
