/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fdfdfd;
    line-height:1.7;
}

/* ==========================================
   VARIABLES
========================================== */

:root{

    --verde:#2E7D32;
    --verde-claro:#4CAF50;

    --amarillo:#FBC02D;
    --amarillo-claro:#FFF8E1;

    --blanco:#ffffff;

    --gris:#666666;
    --gris-claro:#f5f5f5;

    --sombra:0 10px 30px rgba(0,0,0,0.10);

}

/* ==========================================
   CONTENEDOR GENERAL
========================================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================
   HEADER
========================================== */

.header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    background:rgba(255,255,255,0.95);

    backdrop-filter:blur(10px);

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 40px;

    z-index:1000;

    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.logo-container{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo{

    height:70px;
    width:auto;

}

.logo-text{

    display:flex;
    flex-direction:column;

}

.logo-text .marca{

    font-size:28px;
    font-weight:700;
    color:var(--verde);

}

.logo-text span:last-child{

    font-size:13px;
    color:var(--gris);

}

/* ==========================================
   MENU
========================================== */

.navbar{

    display:flex;
    gap:25px;

}

.navbar a{

    text-decoration:none;
    color:#333;

    font-weight:500;

    transition:.3s;

}

.navbar a:hover{

    color:var(--verde);

}

/* ==========================================
   HAMBURGER
========================================== */

.hamburger{

    display:none;

    flex-direction:column;
    gap:5px;

    cursor:pointer;

}

.hamburger span{

    width:28px;
    height:3px;

    background:var(--verde);

    border-radius:20px;

}

/* ==========================================
   HERO
========================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:100px 20px;

    background:url('../images/galeria/cooperativa.jpeg');
    background-size:cover;
    background-position:center;

}

.hero-overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:850px;

    color:white;

}

.hero-logo{

    width:180px;

    margin-bottom:25px;

}

.hero-content h1{

    font-size:3rem;

    margin-bottom:20px;

}

.hero-content p{

    font-size:1.2rem;

}

.hero-frase{

    margin-top:25px;

    font-style:italic;

    color:#f8f8f8;

}

/* ==========================================
   BOTONES HERO
========================================== */

.hero-buttons{

    margin-top:35px;

    display:flex;
    justify-content:center;
    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    background:var(--verde);

    color:white;

    text-decoration:none;

    padding:15px 30px;

    border-radius:50px;

    transition:.3s;

}

.btn-primary:hover{

    background:#1b5e20;

}

.btn-secondary{

    background:var(--amarillo);

    color:#333;

    text-decoration:none;

    padding:15px 30px;

    border-radius:50px;

    transition:.3s;

}

.btn-secondary:hover{

    transform:translateY(-2px);

}

/* ==========================================
   IMPACTO
========================================== */

.impacto{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    padding:80px 8%;

    background:white;

}

.impacto-card{

    background:white;

    padding:35px 20px;

    text-align:center;

    border-radius:20px;

    box-shadow:var(--sombra);

    transition:.3s;

}

.impacto-card:hover{

    transform:translateY(-8px);

}

.impacto-card h3{

    font-size:2.5rem;

    color:var(--verde);

    margin-bottom:10px;

}

.impacto-card p{

    color:var(--gris);

    font-weight:500;

}

/* ==========================================
   TITULOS DE SECCION
========================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.5rem;

    color:var(--verde);

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:var(--gris);

}

/* ==========================================
   HISTORIA
========================================== */

.historia{

    padding:100px 0;

    background:var(--gris-claro);

}

.historia .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}

.historia-image img{

    width:100%;

    border-radius:25px;

    box-shadow:var(--sombra);

}

.historia-content h2{

    font-size:2.5rem;

    color:var(--verde);

    margin-bottom:25px;

}

.historia-content p{

    margin-bottom:20px;

    color:#444;

}

/* ==========================================
   SEDE
========================================== */

.sede{

    padding:100px 0;

    background:white;

}

.sede .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    align-items:center;

}

.sede-image img{

    width:100%;

    border-radius:25px;

    box-shadow:var(--sombra);

}

.sede-content h2{

    font-size:2.5rem;

    color:var(--verde);

    margin-bottom:25px;

}

.sede-content p{

    margin-bottom:20px;

    color:#444;

}

/* ==========================================
   PRODUCTOS
========================================== */

.productos{

    padding:100px 8%;

    background:var(--amarillo-claro);

}

.productos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}

.producto-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--sombra);

    transition:.4s;

}

.producto-card:hover{

    transform:translateY(-10px);

}

.producto-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.producto-card:hover img{

    transform:scale(1.05);

}

.producto-info{

    padding:25px;

}

.producto-info h3{

    color:var(--verde);

    margin-bottom:12px;

    font-size:1.3rem;

}

.producto-info p{

    color:#555;

}

/* ==========================================
   MISION Y VISION
========================================== */

.mision-vision{

    padding:100px 8%;

    background:white;

}

.mv-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.mv-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--sombra);

    border-top:5px solid var(--verde);

}

.mv-card h3{

    color:var(--verde);

    margin-bottom:20px;

    font-size:1.5rem;

}

.mv-card p{

    color:#444;

}

/* ==========================================
   VALORES CORPORATIVOS
========================================== */

.valores{

    padding:100px 8%;

    background:var(--gris-claro);

}

.valores-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.valor-card{

    background:white;

    text-align:center;

    padding:40px 25px;

    border-radius:20px;

    box-shadow:var(--sombra);

    transition:.3s;

}

.valor-card:hover{

    transform:translateY(-10px);

}

.valor-icon{

    font-size:3rem;

    margin-bottom:15px;

}

.valor-card h3{

    color:var(--verde);

    margin-bottom:15px;

}

/* ==========================================
   GALERIA
========================================== */

.galeria{

    padding:100px 8%;

    background:white;

}

.galeria-principal{

    max-width:1000px;

    margin:0 auto 30px;

}

.galeria-principal img{

    width:100%;

    height:550px;

    object-fit:cover;

    border-radius:25px;

    box-shadow:var(--sombra);

}

.miniaturas{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

}

.miniatura{

    width:110px;

    height:80px;

    object-fit:cover;

    border-radius:12px;

    cursor:pointer;

    opacity:.7;

    transition:.3s;

    border:3px solid transparent;

}

.miniatura:hover{

    opacity:1;

    transform:scale(1.05);

}

.miniatura.active{

    opacity:1;

    border-color:var(--verde);

}

/* ==========================================
   DOCUMENTOS DIAN
========================================== */

.documentos{

    padding:100px 8%;

    background:var(--amarillo-claro);

}

.documentos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.documento-card{

    background:white;

    padding:25px;

    border-radius:15px;

    text-decoration:none;

    color:#333;

    font-weight:600;

    box-shadow:var(--sombra);

    transition:.3s;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:100px;

    text-align:center;

}

.documento-card:hover{

    background:var(--verde);

    color:white;

    transform:translateY(-5px);

}

/* ==========================================
   CONTACTO
========================================== */

.contacto{

    padding:100px 8%;

    background:white;

}

.contacto-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.contacto-card{

    background:white;

    text-align:center;

    padding:35px 25px;

    border-radius:20px;

    box-shadow:var(--sombra);

}

.contacto-card h3{

    color:var(--verde);

    margin-bottom:15px;

}

/* ==========================================
   FOOTER
========================================== */

.footer{

    background:#1b5e20;

    color:white;

    text-align:center;

    padding:60px 20px;

}

.footer-logo{

    width:120px;

    margin-bottom:20px;

}

.footer h3{

    margin-bottom:15px;

}

.footer p{

    margin-bottom:10px;

}

.copyright{

    margin-top:25px;

    opacity:.8;

    font-size:.9rem;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .historia .container,
    .sede .container{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .header{

        padding:15px 20px;

    }

    .navbar{

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        padding:20px;

        display:none;

        box-shadow:0 10px 20px rgba(0,0,0,.1);

    }

    .navbar.active{

        display:flex;

    }

    .hamburger{

        display:flex;

    }

    .hero-content h1{

        font-size:2rem;

    }

    .hero-logo{

        width:130px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .galeria-principal img{

        height:320px;

    }

    .miniatura{

        width:80px;

        height:60px;

    }

}

@media(max-width:480px){

    .impacto-card h3{

        font-size:2rem;

    }

    .section-title h2{

        font-size:2rem;

    }

    .historia-content h2,
    .sede-content h2{

        font-size:2rem;

    }

}