/* Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.chicle-regular {
  font-family: "Chicle", serif;
  font-weight: 400;
  font-style: normal;
}
        
body {
    background-color: #ffffff;
}
        
.contenedor {
    width: 98%;
    margin: 0 auto;
    padding: 0 5px;
}
section {
    width: 100%;
    margin-bottom: 30px;
}
        
a {
    text-decoration: none;
    color: inherit;
}
        
ul, li {
    list-style: none;
}
        
/* Header */
header {
    width: 100%;
    height: 60px;
    background: #556b2f;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
        
header .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
        
.logo-container {
    display: flex;
    align-items: center; /* Permite que se comprima si es necesario */
    min-width: 450px; /* Asegura un mínimo para el logo y título */
}
        
.logo {
    width: 45px; /* Reducido */
    height: 45px; /* Reducido */
    margin-right: 8px;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
    transition: all 0.7s;
}
        
.logo:hover {
    transform: rotate(360deg);
}
        
header h1 {
    display: block;
    font-size: 22px;
    padding-top: 35px;
}
        
        /* Menu Toggle */
#menu-bar {
    display: none;
}
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    transition: all 0.7s;
    display: block;
    width: 40px;
    height: 40px;
    color: white;
    margin-left:-400px;
}
        

        
/* Aseguramos que los iconos sean visibles */
.bi-list, .bi-caret-down {
    display: inline-block !important;
    color: inherit !important;
}
/* Menu Mobile */
.menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, #556b2f, #adc178);
    transform: translateX(-100%);
    transition: all 0.7s;
    overflow-y: auto;
    z-index: 99;
    padding: 20px 0;
}
        
#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}
        
.menu > ul > li {
    margin-bottom: 5px;
}
        
.menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-weight: 500;
    transition: all 0.7s;
    border-radius: 4px;
    margin: 0 10px;
}
        
        .menu a:hover {
            background-color: rgba(255, 255, 255, 0.2);
            padding-left: 25px;
        }
        
        /* Submenu estilos */
        .menu li {
            position: relative;
        }
        
        .menu ul ul {
            max-height: 0;
            overflow: hidden;
            transition: all 0.7s;
            background-color: rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            margin: 0 20px;
        }
        
        .menu-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .dropdown-toggle {
            cursor: pointer;
            transition: all 0.7s;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            padding-right: 20px;
        }
        
        .dropdown-toggle i {
            transition: all 0.7s;
            margin-right: 15px;
            font-size: 16px;
        }
        
        input[type="checkbox"] {
            display: none;
        }
        
        input[type="checkbox"]:checked ~ ul {
            max-height: 500px;
            margin-top: 5px;
            margin-bottom: 10px;
        }
        
        input[type="checkbox"]:checked + label i {
            transform: rotate(180deg);
        }
        
        /* Submenu estilo especial para items */
        .menu ul ul a {
            padding-left: 35px;
            font-size: 14px;
            border-left: 2px solid transparent;
        }
        
        .menu ul ul a:hover {
            border-left: 2px solid #ffffff;
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        /* Manejar el espacio para el contenido debajo del header */
        main {
        }
        
        /* Media queries para responsividad - CAMBIO A PARTIR DE 1000px */
        @media (min-width: 1000px) {
            /* Estructura del header en escritorio */
            header {
                height: 60px; /* Mantenido igual para optimizar espacio */
            }
            
            header .contenedor {
                display: flex;
                justify-content: flex-start;
                padding: 0; /* Quitar padding para usar todo el ancho */
            }
            
            .logo-container {
                padding-left: 10px;
                max-width: 300px; /* Limitar ancho para dar más espacio al menú */
            }
            
            /* Estilo del menú horizontal para pantallas grandes */
            .menu-toggle {
                display: none;
            }
            
            .menu {
                position: static;
                height: auto;
                background: none;
                transform: translateX(0);
                padding: 0;
                width: calc(100% - 220px); /* Usar el resto del espacio */
                overflow: visible;
            }
            
            .menu > ul {
                display: flex;
                flex-direction: row;
                justify-content: flex-end; /* Distribuir elementos hacia la derecha */
                height: 60px;
                align-items: center;
                width: 100%;
            }
            
            .menu > ul > li {
                position: relative;
                margin: 0;
                height: 100%;
                display: flex;
                align-items: center;
            }
            
            .menu a {
                margin: 0;
                padding: 5px 8px; /* Reducido */
                font-size: 18px; /* Reducido */
                white-space: nowrap;
            }
            
            .menu a:hover {
                padding-left: 8px; /* Mantener padding consistente */
                background-color: rgba(255, 255, 255, 0.1);
            }
            
            /* Submenús como desplegables verticales */
            .menu ul ul {
                position: absolute;
                top: 100%;
                left: 0;
                width: 220px;
                margin: 0;
                padding: 5px 0;
                background: #556b2f;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
                z-index: 100;
            }
            
            .dropdown-toggle {
                padding-right: 5px; /* Reducido */
                height: 100%;
                align-items: center;
            }
            
            .dropdown-toggle i {
                margin-left: 3px; /* Reducido */
                margin-right: 0;
                font-size: 12px; /* Reducido */
            }
            
            .menu li:hover > ul {
                max-height: 500px;
                opacity: 1;
                visibility: visible;
            }
            
            /* Comportamiento de hover para submenús en desktop */
            .menu li:hover > input[type="checkbox"] + label i {
                transform: rotate(180deg);
            }
            
            /* Ajuste para el diseño horizontal */
            .menu > ul > li > .dropdown-toggle {
                display: inline-flex;
                width: auto;
                height: 100%;
            }
            
            /* Submenús de segundo nivel (si los hubiera) */
            .menu ul ul ul {
                left: 100%;
                top: 0;
            }
            
            /* Para mantener los submenús ocultos hasta hover */
            .menu ul ul {
                opacity: 0;
                visibility: hidden;
            }
            
            .menu li:hover > ul {
                opacity: 1;
                visibility: visible;
            }
            
            /* Submenú estilo especial para items en desktop */
            .menu ul ul a {
                padding: 8px 12px;
                font-size: 17px;
                text-align: left;
                border-left: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .menu ul ul a:hover {
                padding-left: 15px;
                border-left: none;
            }
            
            /* Último elemento del menú sin margen derecho */
            .menu > ul > li:last-child {
                padding-right: 10px;
            }
        }
        
        /* Para pantallas muy grandes, ajustar un poco más el espacio */
        @media (min-width: 1200px) {
            .menu a {
                padding: 5px 10px;
                font-size: 18px;
            }
            
            .logo-container {
                max-width: 240px;
            }
            
            header h1 {
                font-size: 26px;
            }
        }
.slider {
    padding-top: 50px;
    width: 100%;
    margin: auto;
    overflow: hidden;
}
.slider ul {
    display: flex;
    padding: 0;
    position: relative;
    width: 1000%;
    animation: cambio 60s infinite alternate;
}
.slider .contenedor-1 {
    position: absolute;
    width: 98%;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
    z-index: 100;
}
.slider li {
    list-style: none;
    width: 100%;
}
.slider img {
    width: 100%;
}
@keyframes cambio {
    0% {margin-left: 0; }
    8% {margin-left: 0; }
    10% {margin-left: -100%; }
    18% {margin-left: -100%; }
    20% {margin-left: -200%; }
    28% {margin-left: -200%; }
    30% {margin-left: -300%; }
    38% {margin-left: -300%; }
    40% {margin-left: -400%; }
    48% {margin-left: -400%; }
    50% {margin-left: -500%; }
    58% {margin-left: -500%; }
    60% {margin-left: -600%; }
    68% {margin-left: -600%; }
    70% {margin-left: -700%; }
    78% {margin-left: -700%; }
    80% {margin-left: -800%; }
    88% {margin-left: -800%; }
    90% {margin-left: -900%; }
    100% {margin-left: -900%; }
}
#asociacion .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#asociacion article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#asociacion article-1 {
    display: none;
}

#asociacion h2 {
    text-align: center;
    margin-bottom: 10px;
}
.txt-introduccion {
    width: 100%;
    margin: auto;
    text-align: justify;
}
.beige {
    padding-top: 20px;
    max-width: 70%;
    margin: auto;
    background: #e3ea7b;
    padding: 15px;
    border-radius: 15px;
}
.asociacion-title {
    color: #629160;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
}
.asociacion-img {
    width: 100%;
    max-width: 280px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: all 0.7s;
}
.asociacion-img:hover {
    transform: scale(1.1);
    border-radius: 50%;
    border: 5px solid #629160;
}
.txt-asociacion {
    text-align: justify;
    width: 100%;
    max-width: 280px;
    margin: auto;
}
.linea-1 {
    margin-bottom: 15px;
    display: block;
    width: 280px;
    margin: auto;
    border: 2px solid #629160;
}
.linea {
    margin-bottom: 15px;
    display: block;
    width: 200px;
    margin: auto;
    border: 2px solid #629160;
}
.boton {
    width: 100px;
    padding: 7px;
    background: #629160;
    float: right;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 7px;
    transition: all 0.5s;
}
.boton:hover {
    background: #556b2f;
    border-bottom-right-radius: 55%;
    border-top-right-radius: 55%;
    transform: scale(1.2);
}
#proyectos .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#proyectos article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#proyectos h2 {
    text-align: center;
    margin-bottom: 10px;
}
#excursiones .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#excursiones article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#excursiones h2 {
    text-align: center;
    margin-bottom: 10px;
}
.espacio {
    margin: 20px;
}
.capital {
    font-size: 28px;
    font-weight: bold;
    font-family: "Chicle", serif;
    color: #629160;
}
#talleres .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#talleres article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#talleres h2 {
    text-align: center;
    margin-bottom: 10px;
}
#noticias .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#noticias article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#noticias h2 {
    text-align: center;
    margin-bottom: 10px;
}
#cocina .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#cocina article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#cocina h2 {
    text-align: center;
    margin-bottom: 10px;
}
#blog .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#blog article {
    margin: 15px;
    padding: 10px;
    border: 5px solid #629160;
}
#blog h2 {
    text-align: center;
    margin-bottom: 10px;
}
footer {
    background: #629160;
    color: white;
    padding: 30px 0;
}
footer .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.copy {
    font-size: 20px;
    font-weight: bold;
    font-family: "Chicle", serif;
}
.sociales {
    font-family: "Chicle", serif;
    width: 100%;
    text-align: center;
    font-size: 28px;
    padding-top: 15px
}
.sociales a {
    margin: 20px;
}
.sociales a:hover {
    color: #e3ea7b;
}
#secundario .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#secundario article {
    margin: 75px;
    padding: 20px;
    border: 5px solid #629160;
}
#secundario h2 {
    text-align: center;
    margin-bottom: 10px;
}
#secundario article-1 {
    display: none;
}
.clase-a {
    width: 100%;
    max-width: 280px;
}
#principal-objetivos .contenedor {
    display: table;
    max-width: 1000px;
}
#principal-objetivos h2 {
    color: #629160;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 5px solid #629160;
    margin: auto;
    padding-bottom: 10px;
}
#principal-objetivos p {
    width: 100%;
    text-align: justify;
    padding-bottom: 20px;   
}
#principal-objetivos img {
    width: 100%;
    max-width: 280px;
    float: left;
    padding-right: 12px;
    margin-top: 7px;
}
#principal-objetivos h3 {
    text-align: center;
}

#principal-objetivos .contenedor {
    display: table;
    max-width: 1000px;
}
#principal-objetivos h2 {
    color: #629160;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 5px solid #629160;
    margin: auto;
    padding-bottom: 10px;
}
#principal-objetivos p {
    width: 100%;
    text-align: justify;
    padding-bottom: 20px;   
}
#principal-objetivos img {
    width: 100%;
    max-width: 280px;
    float: left;
    padding-right: 12px;
    margin-top: 7px;
}
#principal-objetivos h3 {
    text-align: center;
}










#noticia-dos .contenedor {
    display: table;
    max-width: 1000px;
}
#noticia-dos h2 {
    color: #629160;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 5px solid #629160;
    margin: auto;
    padding-bottom: 10px;
}
#noticia-dos p {
    width: 100%;
    text-align: justify;
    padding-bottom: 20px;
    
}
#noticia-dos img {
    width: 100%;
    max-width: 280px;
    float: left;
    padding-right: 12px;
    margin-top: 7px;
}
#noticia-dos h3 {
    text-align: center;
}
.verde-b {
    color: darkgreen;
    font-weight: bold;
    font-family: "Chicle", serif;
    font-style: italic;
}
/*===============Formulario===========*/
.form-container {
    width: 100%;
    max-width: 500px;
    background-color: #84b47e;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: auto;
}
        
        .form-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
        }
        
        h1 {
            color: white;
            text-align: center;
            margin-bottom: 30px;
            font-weight: 600;
            position: relative;
        }
        
        h1::after {
            content: "";
            display: block;
            width: 260px;
            height: 4px;
            background-color: darkolivegreen;
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        .form-group {
            margin-bottom: 25px;
            position: relative;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: white;;
            transition: all 0.3s ease;
        }
        
        input, textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #333;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            transition: all 0.3s ease;
            background-color: white;
        }
        
        input:focus, textarea:focus {
            border-color: #333;
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
            background-color: white;
        }
        
        textarea {
            height: 180px;
            resize: vertical;
        }
        
        button {
            background: darkgreen;
            color: white;
            border: none;
            padding: 14px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            display: block;
            width: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
        }
        
        button:active {
            transform: translateY(1px);
        }
        
        button span {
            position: relative;
            z-index: 1;
        }
        
        button::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        button:hover::after {
            opacity: 1;
        }
        
        .required:after {
            content: " *";
            color: #ff3860;
            font-weight: bold;
        }
        
        .input-icon {
            position: absolute;
            top: 43px;
            right: 15px;
            color: #999;
            transition: all 0.3s ease;
        }
        
        input:focus + .input-icon, textarea:focus + .input-icon {
            color: var(--primary-color);
        }
        
        .form-footer {
            text-align: center;
            margin-top: 25px;
            color: white;
            font-size: 14px;
        }
        
        .success-message {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-100px);
            background-color: #4caf50;
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }
        
        .success-message.show {
            transform: translateX(-50%) translateY(0);
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .pulse {
            animation: pulse 0.5s;
        }
.rojo {
    color: red;
    font-weight: bold;
}
.verde {
    color: darkgreen;
}
.btn_enviar {
    color: darkgreen;
    font-weight: bold;
    cursor: pointer;
}
#principal-objetivos .pie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 70px;
    float: right;
    margin-top: -20px;    
}
#noticia-dos .pie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 70px;
    float: right;
    margin-top: -20px;    
}
#articulos .contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#articulos img {
    margin: 15px;
    width: 100%;
    max-width: 280px;
    border: 5px solid #629160;
    border-radius: 15px;
    transition: all 0.7s;
}
#articulos img:hover {
    transform: scale(1.2);
    border: 7px solid darkolivegreen;
    border-radius: 0;
}
#articulos h2 {
    text-align: center;
}
#articulos .verde {
    border-bottom: 5px solid darkolivegreen;
    width: 250px;
    margin: auto;
}

















