/* ===========================
   🔧 RESETEO BÁSICO
=========================== */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   🎨 ESTILOS GENERALES
=========================== */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* evita scroll lateral */
}

/* ===========================
   🧭 HEADER Y NAVEGACIÓN
=========================== */
header {
    position: absolute;
    /* se coloca sobre la imagen */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    /* fondo semitransparente */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-size: larger;
}

.menu a:hover {
    background-color: rgba(147, 149, 151, 0.637);
    /* color del cuadro, podés cambiarlo */
    padding: 0.5rem 1rem;
    /* espacio interno del cuadro */
    border-radius: 5px;
    /* bordes redondeados */
    text-decoration: none;
    /* quita el subrayado */
    transition: 0.3s;
    /* suaviza el efecto */
}

/* ===========================
   🖼️ SECCIÓN DE IMAGEN (HERO)
=========================== */
.img-fondo {
    height: 100vh;
    /* ocupa toda la altura visible */
    background-image: url("fotos/banner_prinRecurso\ 2-100.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* fondo fijo */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    position: relative;
}

/* Oscurece un poco la imagen para mejorar legibilidad */
.img-fondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.img-fondo-texto {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.img-fondo-texto span {
    display: block;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.img-fondo-texto h1 {
    font-size: 3.3rem;
    font-weight: 400;
    line-height: 1.1;
}

/* ===========================
   📄 CONTENIDO PRINCIPAL
=========================== */
main {
    background: white;
    padding: 2rem;
    line-height: 1.6;
}

/* ===========================
   📱 DISEÑO RESPONSIVO
=========================== */
@media (max-width: 900px) {
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-texto h1 {
        font-size: 1.5rem;
    }

    .img-fondo {
        background-image: url("fotos/Captura.JPG");
    }

    .bloques {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        padding: 2rem 1rem !important;
        width: 100% !important;
    }

    .bloque {
        width: 90% !important;
        height: 220px !important;
        border-radius: 15px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        overflow: hidden !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .bloque-texto h2 {
        font-size: 2rem;
    }

}



/* ===========================
   🧩 BLOQUES GRANDES (2x2)
=========================== */
.bloques {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 4rem;
    padding: 5rem 10.5rem;
    background-color: #efefef;
}

.bloque {
    background-color: #ffffff;
    border-radius: 22px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.bloque {
    text-decoration: none;
}

.bloque::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1;
}

.bloque-texto {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.bloque-texto h2 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bloque:hover {
    transform: translateY(-5px);
    box-shadow: 27px 10px 60px rgba(0, 0, 0, 0.8);
}

.bloque1 {
    background-image: url("fotos/cuadro1Recurso\ 4-100.jpg");
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}

.bloque2 {
    background-image: url("fotos/cuadro2Recurso\ 5-100.jpg");
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}

.bloque3 {
    background-image: url("fotos/cuadro3Recurso\ 6-100.jpg");
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}

.bloque4 {
    background-image: url("fotos/cuadro4Recurso\ 8-100.jpg");
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
}



/* ===========================
   📌 SECCIÓN DE 3 TEXTOS
=========================== */

.seccion-info {
    width: 100%;
    padding: 5rem 2rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
}

.info-item {
    max-width: 900px;
}

.info-texto {
    font-size: 1.7rem;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

.info-texto b {
    font-weight: 700;
    color: #009688;
    /* Verde similar a tu ejemplo */
}

.info-icono {
    font-size: 3rem;
    color: #009688;
    margin-top: 2rem;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .info-texto {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .info-icono {
        font-size: 2.5rem;
    }

    .img-fondo-texto span {
        font-size: 1.1rem;
    }

    .img-fondo-texto h1 {
        font-size: 2.2rem;
    }
}

/* ===========================
   🖼️ IMAGEN HISTORIA
=========================== */

.imagen-completa {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.imagen-completa img {
    width: 80%;
    max-width: 2000px;
    /* limite opcional para pantallas gigantes */
    height: auto;
    display: block;
    border-radius: 0;
    /* por si querés sin bordes */
}

/* ============================
   SECCIÓN ¿QUIÉNES SOMOS?
=============================== */

.quienes-somos {
    max-width: 950px;
    margin: 4rem auto;
    padding: 3rem 2.5rem;
    text-align: center;
    line-height: 1.85;
    font-size: 1.22rem;
    font-weight: 500;
    color: #2f2f2f;
}

.quienes-somos p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.85;
    font-weight: 500;
}

.quienes-somos ul,
.quienes-somos ol {
    display: inline-block;
    text-align: left;
    margin: 1.5rem auto;
}

/* TÍTULO verde con sombra suave */
.titulo-quienes {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: #366438;
    font-weight: bold;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

.titulo-quienes p {
    font-size: larger;
}

/* Lista de objetivos numerada */

.lista-objetivos {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.lista-objetivos li {
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icono-objetivo {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 14px;
}


/* ================================
   COMISIÓN DIRECTIVA
================================ */

.comision-directiva {
    max-width: 820px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.comision-foto img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin-bottom: 1.5rem;
}

.comision-texto h2 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.comision-texto p {
    font-size: 1.1rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

/* ================================
   NUESTRA HISTORIA
================================ */

.nuestra-historia {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.historia-titulo {
    text-align: center;
    font-size: 2.3rem;
    color: #c9553b;
    /* rojo ladrillo */
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.18);
}

/* CONTENEDOR PRINCIPAL */
.historia-contenedor {
    display: flex;
    gap: 2.5rem;
}

/* ================================
   NUESTRA HISTORIA
================================ */

.nuestra-historia {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.historia-titulo {
    text-align: center;
    font-size: 2.3rem;
    color: #c9553b;
    /* rojo ladrillo */
    margin-bottom: 2.5rem;
    font-weight: bold;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.18);
}

.historia-contenedor {
    display: flex;
    gap: 3rem;
}

/* Imagen completa de la línea del tiempo */
.historia-imagen img {
    width: 160px;
    /* ajustable si la querés más grande */
    display: block;
}

/* Texto a la derecha */
.historia-texto {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.historia-texto p {
    margin-bottom: 1.2rem;
}

.historia-texto strong {
    font-weight: bold;
}


/* =====================
   TEXTO DERECHA
===================== */
.historia-texto {
    flex: 1;
    line-height: 1.6;
    font-size: 1.1rem;
}

.historia-texto p {
    margin-bottom: 1rem;
}

.historia-texto strong {
    font-weight: bold;
}

/* ============================
        FOOTER
============================ */

.footer {
    background: #000;
    padding: 3rem 0;
    color: #fff;
    font-size: 1rem;
}

.footer-contenedor {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-col {
    width: 25%;
    line-height: 1.5;
}

.footer-col h3 {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-horario-titulo {
    margin-top: 1.2rem;
    font-weight: bold;
}

.footer-como-llegar img {
    height: 70px;
    /* ajustalo si lo querés más grande/chico */
    object-fit: contain;
}

/* ================================
   NUESTRA HISTORIA - ICONO + TEXTO
================================ */

.nuestra-historia {
    max-width: 1150px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.historia-titulo {
    text-align: center;
    font-size: 3rem;
    color: #c9553b;
    margin-bottom: 4rem;
    font-weight: bold;
    text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.22);
}

.historia-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4.5rem;
}

.historia-icono {
    display: flex;
    justify-content: center;
    align-items: center;
}

.historia-icono img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
}

.historia-texto {
    flex: unset;
    font-size: 1.65rem;
    line-height: 1.75;
    color: #222;
    text-align: center;
}

.historia-texto p {
    margin: 0;
}

.historia-texto strong {
    font-weight: 800;
}

/* Oculta estructura vieja si quedó algo del formato anterior */
.historia-contenedor {
    display: block;
}

.historia-imagen {
    display: none;
}

/* ================================
   RESPONSIVE NUESTRA HISTORIA
================================ */

@media (max-width: 768px) {
    .nuestra-historia {
        margin: 3rem auto;
        padding: 0 1.2rem;
    }

    .historia-titulo {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .historia-item {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-bottom: 3.5rem;
        text-align: center;
    }

    .historia-icono img {
        width: 140px;
    }

    .historia-texto {
        font-size: 1.25rem;
        line-height: 1.65;
        text-align: center;
    }
}

@media (max-width: 650px) {
    .quienes-somos {
        margin: 2.5rem 1rem;
        padding: 2rem 1.3rem;
        font-size: 1.08rem;
        line-height: 1.75;
    }

    .quienes-somos p {
        font-size: 1.08rem;
        line-height: 1.75;
    }

    .titulo-quienes {
        font-size: 2rem;
    }

    .lista-objetivos {
        max-width: 100%;
        gap: 1rem;
    }

    .icono-objetivo {
        max-width: 100%;
        border-radius: 10px;
    }
}