/*-----------------------SECCION 1 (VIDEO)-----------------------*/
/* Hero Section */
.hero {
    position: relative;
    height: 54rem; /* Cambiado de 90vh a 40rem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero h1,
.hero button {
    position: relative;
    z-index: 1;
}

.hero2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px #000;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 900;
}

.hero1 {
    font-size: 2.5rem;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 2px; 
    text-align: center; 
    -webkit-text-stroke: 1px white; 
    color: transparent;
}

/*-----------------------SECCION 2-3 (IMG1-IMG3)-----------------------*/
/* CONFIGURACIONES GENERALES */
/* SecciÃ³n Promociones */

.seccion-promos h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    margin-top: 3rem;
    text-align: left;
    background: transparent;
    color: white;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.promo {
    display: flex;
    justify-content: flex-start; /* Default alignment for larger screens */
    align-items: center;
    width: 100%;
    height: 57rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.promo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
    z-index: 1;
}

.contenido {
    position: relative;
    z-index: 2;
    width: 45%; /* Default width for larger screens */
    max-width: 800px; /* Limit maximum width */
    background: transparent;
    padding: 2rem;
    border-radius: 20px;
    text-align: left; /* Default text alignment */
    margin-left: 5rem;
    margin-right: 2rem;
}

.promo p {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.contenido .btn{
    margin-top: 2rem;
}

/* CONFIGURACIONES SECCION 1 (IMG1) */
.promo-1 {
    background-image: url('../img/home1.webp');
}

/* CONFIGURACIONES SECCION 2 (IMG2) */
.promo-2 {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #000;
    padding: 60px 20px;
}

.promo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/home2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1);
}

.domina{
    text-decoration: underline;
}

/*-----------------------NOSOTROS Y UBICACION-----------------------*/
/* SecciÃ³n General */
.section {
    padding: 4rem 2rem;
}

/* Sedes Section */
.sedes-section {
    background-color: #111;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.sedes-section h2 {
    font-size: 6rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-left: 11%;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 2px; 
    -webkit-text-stroke: 1px white; 
    color: transparent;
    font-weight: 1000;
}

.sedes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.nosotros {
    width: 20%;
    margin-left: 3rem;   
}

.nosotros h3 {
    font-size: 2.5rem; /* Adjusted to match other section headings */
    margin-bottom: 1rem;
    text-align: center; /* Center the title */
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.nosotros p {
    font-size: 1.2rem; /* Adjusted to match other section text */
    margin-bottom: 2rem;
    line-height: 1.5;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.map{
    width: 70%;
    height: 380;
    border: 0; 
    border-radius: 30px; 
    margin-right: 3rem; 
    filter: invert(90%) hue-rotate(180deg);
}

.map-placeholder {
    background-color: #ccc;
    width: 500px;
    height: 250px;
    border-radius: 20px;
}

/* -------------------- RESPONSIVE DESIGN -------------------- */
@media (max-width: 1024px) {
    .hero {
        height: 40rem; /* Ajustado de 60vh a 28rem */
        padding: 1rem;
    }
    .hero1, .hero2 {
        font-size: 2.5rem;
    }
    .promo {
        justify-content: center; /* Center content horizontally */
        height: auto;
        min-height: 30rem; /* Ajustado de 30rem a 20rem */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 1rem;
    }
    .contenido {
        width: 60%; /* Adjust width for medium screens */
        text-align: center; /* Center text */
        margin: 0 auto; /* Center container */
        padding: 1rem;
    }
    .sedes-section h2 {
        font-size: 3.5rem;
        margin-left: 0;
    }
    .sedes-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .nosotros {
        width: 80%;
        margin-left: 0;
        margin-bottom: 2rem;
    }
    .map, .map-placeholder {
        width: 90%;
        margin-right: 0;
        height: 14rem; /* Ajustado de 220px a 14rem */
    }
}

@media (max-width: 768px) {
    .hero {
        height: 40rem; /* Ajustado de 40rem a 20rem */
    }
    .hero1, .hero2 {
        font-size: 3rem;
        text-align: center;
    }
    .promo {
        flex-direction: column; /* Stack content vertically */
        justify-content: center;
        padding: 1rem;
        height: auto;
    }
    .contenido {
        position: absolute; /* Make the content fill the parent container */
        top: 0;
        left: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        text-align: center; /* Center text */
        margin: 0; /* Remove margins */
        border-radius: 0; /* Remove border radius */
        background: rgba(0, 0, 0, 0.6); /* Ensure black background */
        padding: 1rem; /* Add padding for spacing */
        display: flex; /* Use flexbox for centering */
        flex-direction: column;
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }
    .seccion-promos h2 {
        font-size: 2rem;
        margin-top: 1rem;
        text-align: center;
    }
    .promo p {
        font-size: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .sedes-section {
        padding: 2rem 0.5rem;
    }
    .sedes-section h2 {
        font-size: 2rem;
        margin-left: 0;
        -webkit-text-stroke: 0.5px white;
    }
    .sedes-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    .nosotros {
        width: 95%;
        margin-left: 0;
        margin-bottom: 1rem;
    }
    .nosotros h3 {
        font-size: 2rem;
        text-align: center;
    }
    .nosotros p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .map, .map-placeholder {
        width: 100%;
        height: 9rem; /* Ajustado de 150px a 9rem */
        margin-right: 0;
        border-radius: 10px;
    }
    .contenido .btn {
        display: flex;
        justify-content: center; /* Center the button horizontally */
        align-items: center; /* Maintain vertical alignment */
        margin: 1rem auto; /* Adjust margin-top to 1rem */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 40rem; /* Ajustado de 40rem a 16rem */

    }
    .hero1, .hero2 {
        font-size: 2rem; /* Ajustado de 2.5rem a 2rem */
    }
    .contenido {
        position: absolute; /* Make the content fill the parent container */
        top: 0;
        left: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        text-align: center; /* Center text */
        margin: 0; /* Remove margins */
        border-radius: 0; /* Remove border radius */
        background: rgba(0, 0, 0, 0.6); /* Ensure black background */
        padding: 1rem; /* Add padding for spacing */
        display: flex; /* Use flexbox for centering */
        flex-direction: column;
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }
    .promo p {
        font-size: 0.9rem;
    }
    .contenido .btn {
        display: flex;
        justify-content: center; /* Center the button horizontally */
        align-items: center; /* Maintain vertical alignment */
        margin: 1rem auto; /* Adjust margin-top to 1rem */
    }
    .nosotros h3 {
        font-size: 1.5rem;
    }
    .sedes-section h2 {
        font-size: 1.5rem;
    }
}
