#portfolio-parallax-wrapper {
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
    z-index: 1000000;
    background: #000;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.parallax-section {
    position: relative; 
    width: 100%; 
    height: 100vh; /* Ocupa toda la pantalla para que el diseño respire */
    overflow: hidden;
    background: #000;
    margin-bottom: 0;
}

.parallax-window {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

.parallax-bg {
    position: absolute; 
    top: -25%; /* Ajuste sutil para que no parezca zoom */
    left: 0; 
    width: 100%; 
    height: 150%; /* Altura justa para el efecto sin pixelar */
    object-fit: cover; /* Mantiene la proporción original */
    z-index: 1;
}
.parallax-content {
    position: absolute;
    bottom: 50px;
    left: 5%;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.9);
}

/* Capa de protección para legibilidad del texto */
.parallax-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}