@font-face {
  font-family: 'GTClassicRegular';
  src: url('Fuentes/GTClassicBetav3.2-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GTClassicBold';
  src: url('Fuentes/GTClassicBetav3.2-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GTClassicBlack';
  src: url('Fuentes/GTClassicBetav3.2-Black.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-color: #2D5A27;
    --secondary-color: #6CB33F; /*#D4A017;*/
    --text-dark: #333333;
    --text-light: #F9F9F7;
    --bg-light: #F9F9F7;
    --bg-white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'GTClassicRegular', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--primary-color); } */
h1, h2, h3 { font-family: 'GTClassicRegular', serif; color: var(--primary-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0px 0;
    margin: 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    display: flex; 
    align-items: center; 
    gap: 5px;
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    /* font-family: 'Playfair Display', serif; */
    font-family: 'GTClassicBlack', sans-serif;
    text-decoration: none;
    line-height: 1.0;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.logo span { color: var(--secondary-color); margin-left: 10px; }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--secondary-color); }

.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background-color: var(--primary-color); transition: var(--transition); }

/* Hero Section - FIXED */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    z-index: 1; /* Base layer */
}

.hero-slideshow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -2; /* Behind everything */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(45, 90, 39, 0.75), rgba(0, 0, 0, 0.7)); */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8)); 
    z-index: -1; /* Above slideshow, below content */
}

.hero-content {
    position: relative;
    z-index: 2; /* Above overlay */
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #589433; /* #b88a10; */
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* About Section - FIXED */
.about-section {
    position: relative;
    z-index: 10; /* Above hero */
    background-color: var(--bg-light);
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

/* Contenedor de la imagen con bordes redondeados y sombra */
.about-image {
    position: relative;
    width: 100%;
    height: 400px; /* Altura fija para mantener consistencia */
    border-radius: 15px;
    overflow: hidden; /* Importante: contiene las imágenes dentro del border-radius */
    box-shadow: var(--shadow-lg);
}

/* Slideshow container */
.about-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cada slide individual */
.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(0px); /* Blur sutil para suavizar la baja resolución */
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

/* Slide activo visible */
.about-slide.active {
    opacity: 1;
}

/*
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}
*/

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
}

.about-text blockquote {
    /* font-family: 'Playfair Display', serif; */
    font-family: 'GTClassicBold', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
}

/* Initiatives Section - FIXED */
.initiatives {
    position: relative;
    z-index: 10; /* Above hero */
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.initiative-img {
    width: 100%;
    height: 160px; /* Altura fija para que todas las tarjetas se vean uniformes */
    object-fit: cover; /* Recorta la imagen para que llene el espacio sin deformarse */
    border-radius: 10px; /* Esquinas redondeadas */
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08); /* Sombra sutil para darle profundidad */
}

.initiative-card {
    background: var(--bg-light); 
    padding: 20px; /* Reducido un poco el padding interno para dar espacio a la imagen */
    border-radius: 15px; 
    text-align: center;
    transition: var(--transition); 
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.initiative-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

/*
.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
*/

.initiative-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'GTClassicBold', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.initiative-card p {
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1; /* Hace que los textos se alineen bien si tienen diferente longitud */
}

/* Mission Banner - FIXED */
.mission-banner {
    position: relative;
    z-index: 10; /* Above hero */
    background-image: url('Imagenes/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
}

.mission-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 39, 0.85);
    z-index: 1;
}

.mission-banner .container {
    position: relative;
    z-index: 2;
}

.mission-banner h2 {
    color: var(--text-light);
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Footer - FIXED */
.footer {
    background-color: #1a4d1a; /* Verde más oscuro que el primario */
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

/* Columna Izquierda - Logo + Links en horizontal */
.footer-left {
    flex: 1;
    display: flex;
    align-items: flex-start; /* Alinea logo y links en la parte superior */
    gap: 30px; /* Espacio entre logo y enlaces */
}

/* Contenedor del Logo */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px; /* Ancho mínimo para que no se encoja */
}

.footer-logo-img {
    height: 180px; /* Aumentado de 60px a 80px */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Hace el logo blanco si es necesario */
}

/*
.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}
*/

/* Lista de enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top : 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacio entre cada enlace */
    justify-content: flex-start;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: underline;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.9;
    display: block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Línea Divisoria Vertical */
.footer-divider {
    width: 2px;
    height: 150px;
    background-color: var(--text-light);
    align-self: center;
}

/* Columna Derecha */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-right h4 {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'GTClassicBold', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    margin-top: 0.7rem;
}

.footer-address,
.footer-phone {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}


.social-icon-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon-footer:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon-footer[href*="instagram.com"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-icon-footer[href*="linkedin.com"]:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

.social-icon-footer[href*="wa.me"]:hover {
    background-color: #25d366;
    border-color: #25d366;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}


/* Responsive Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    
    .logo {
        font-size: 1.05rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-logo {
        min-width: auto;
    }
    
    .footer-divider {
        width: 100%;
        height: 2px;
        align-self: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}