/* Paleta de colores */
:root {
    --white: #ffffff;
    --black: #000000;
    --grey: #757575;
    --greyLight: #dfe4ea;
    --greyWhite: #f9f9f9;
    --greyBlue: #22205F;
    --greyNight: #0B141F;
}

/* ==========================
        HERO
============================= */

.texto-jubileo-1 {
    padding: 180px 10%;
    color: #000;
    margin-top: -155px;
    margin-bottom: 5px;
}

.texto-jubileo-1 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px; 
    color: #22205F; 
}

.texto-jubileo-1 p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.texto-jubileo-1 strong {
    color: #22205F; 
}

.hero_jubileo {
    position: relative;
    top: -94px;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
    color: white;
    overflow-x: hidden;
}

.hero_jubileo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, -0.9));
    z-index: 0;
}

.hero_jubileo img {
    width: 105%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: translateX(-3.7%);
}

.container-img-jubileo {
    width: 50%;
    position: sticky;
    left: 0;
    top: 0;
    height: 100vh;
}

.imagen-jubileo {
    position: sticky;
    width: auto; 
    height: 100vh;
    object-fit: cover;
    object-position: center;
    max-height: 100vh;
}

.texto-jubileo {
    background-color: white; 
    position: relative;
    color: var(--black);
    line-height: 1.6;
    width: 100%;
    display: flex;
    min-height: 100vh;
    margin-top: -55px;
}

.texto-contenido {
    width: 50%;
    max-width: 880px;
    margin-left: auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    padding-right: 60px;
}

.hero_jubileo h1 {
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 1;
    margin-left: 200px;
    font-size: 6rem;
}

.texto-jubileo ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style-type: disc;
}

.texto-jubileo ul li {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--black);
}

.texto-jubileo ul ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: circle;
}

.texto-jubileo ul li strong {
    font-weight: bold;
    color: #22205F;
}

.texto-jubileo h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px; 
    color: #22205F; 
}

.texto-jubileo p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.texto-jubileo strong {
    color: #22205F; 
}

/* ==========================
    BOTÓN DE CAMBIO DE IDIOMA
============================= */
.lang-btn {
    background-color: #22205F;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.lang-btn:hover {
    background-color: #1a2533;
}

/* ==========================
    MEDIA QUERIES
============================= */

@media screen and (min-width: 2000px) {
    .texto-jubileo {
        overflow: hidden;
    }
    
}

/* Tablets y dispositivos medianos */
@media screen and (max-width: 1024px) {
    .hero_jubileo h1 {
        font-size: 4rem;
        margin-left: 100px;
    }

    .texto-jubileo {
        flex-direction: column;
    }

    .container-img-jubileo {
        width: 100%;
        height: auto;
        position: relative;
    }

    .imagen-jubileo {
        height: auto;
        max-height: 500px;
    }

    .texto-contenido {
        width: 100%;
        max-width: none;
        padding: 20px;
        margin-left: 0;
    }
}

/* Tablets pequeñas */
@media screen and (max-width: 768px) {
    .hero_jubileo {
        height: auto;
        min-height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0px;
        width: 100vw;
        position: relative;
        overflow: hidden;
    }

    .hero_jubileo h1 {
        font-size: 2.5rem;
        width: 90%;
        max-width: 350px;
        line-height: 1.2;
        margin: 0 auto;
        z-index: 2;
        color: white;
    }

    .hero_jubileo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .texto-jubileo-1 {
        padding: 100px 5%;
        margin-top: -90px;
    }

    .texto-jubileo-1 h2 {
        font-size: 1.8rem;
    }

    .texto-jubileo-1 p {
        font-size: 1.1rem;
    }

    .texto-jubileo h2 {
        font-size: 1.8rem;
    }

    .texto-jubileo p {
        font-size: 1.1rem;
    }

    .texto-jubileo ul li {
        font-size: 1.1rem;
    }
}

/* Móviles */
@media screen and (max-width: 501px) {

    .hero_jubileo h1 {
        font-size: 2rem;
        width: 95%;
        max-width: 300px;
    }

    .texto-jubileo-1 {
        padding: 0px 5%!important;
    }

    .texto-jubileo-1 h2 {
        font-size: 1.5rem;
    }

    .texto-jubileo-1 p {
        font-size: 1rem;
    }

    .texto-jubileo h2 {
        font-size: 1.5rem;
    }

    .texto-jubileo p {
        font-size: 1rem;
    }

    .texto-jubileo ul li {
        font-size: 1rem;
    }

    .imagen-jubileo {
       display: none;
    }
}


