/* proyecto principañ */

#proyecto-principal {
    background-color: #f8f8f8;
    padding: 4rem 0;
}

#proyecto-principal h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.proyecto-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.proyecto-content h3 {
    color: #ff5733;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.proyecto-descripcion {
    font-style: italic;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #666;
}

.proyecto-detalles p {
    margin-bottom: 1rem;
}

.proyecto-detalles ul {
    list-style-type: none;
    padding-left: 0;
}

.proyecto-detalles li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.proyecto-detalles li::before {
    content: "•";
    color: #ff5733;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .proyecto-content {
        padding: 1.5rem;
    }

    .proyecto-content h3 {
        font-size: 1.3rem;
    }
}


/* Complas y logos */

#invitacion {
    background-color: #f8f8f8;
    padding: 3rem 0;
}

/* .section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
} */

.logo-container {
    flex: 1;
    text-align: center;
    margin-bottom: 2rem;
}

.fundacion-logo {
    max-width: 200px;
    height: auto;
}

.coplas-container {
    flex: 2;
    padding: 0 2rem;
}

.coplas-container h2 {
    text-align: center;
    color: #ff5733;
    margin-bottom: 1.5rem;
}

.coplas {
    font-style: italic;
    text-align: center;
}

.coplas p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
    }

    .logo-container, .coplas-container {
        flex: 1 1 100%;
    }
}

/* Galeria */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}



.gallery-item.hidden {
    display: none;
}

.toggle-gallery-btn {
    display: block;
    margin: 2rem auto;
    padding: 10px 20px;
    background-color: #ff5733;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-gallery-btn:hover {
    background-color: #e64a2e;
}


/* Galeria items */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}



/* Estilos para el botón "Leer más" y el texto expandible */
.texto-expandible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.texto-expandible.expandido {
    max-height: 1000px; /* Ajusta este valor según la longitud de tu contenido */
}

.leer-mas-btn {
    background-color: #ff5733;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.leer-mas-btn:hover {
    background-color: #e64a2e;
}



/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: rgb(255, 255, 255);
    padding-right: 1rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: #ffcc00;
}

/* Hero section */

.hero-content {
    position: relative;
    text-align: center;
    color: rgb(246, 246, 246); /* Cambia el color del texto a blanco o otro color que contraste */
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem; /* Ajusta el tamaño de la fuente según sea necesario */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra para destacar el texto */
}

.hero-content p {
    font-size: 1.5rem; /* Ajusta el tamaño de la fuente según sea necesario */
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Sombra para destacar el texto */
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ff5733; /* Cambia a un color de botón que destaque */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}




.cta-button:hover {
    background-color: #c0392b; /* Color al pasar el ratón */
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.section p {
    font-size: 1.2rem;
    color: #666;
}

/* Gallery / Carousel */
/* .carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
} */

/* .carousel-images {
        display: flex;
        width: max-content; */
        /* animation: scroll 90s linear infinite;  */
    /* } */

/* .carousel-images img {
    max-width: 100%;
    max-height: 400px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 5px;
} */

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: 15% auto;
    max-width: 80%;
    border-radius: 5px;
}

#caption {
    color: white;
    text-align: center;
    margin: 1rem;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.close:hover {
    color: #ffcc00;
}

/* Location Section */
#map {
    margin-top: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #1a1a1a;
        width: 100%;
        padding: 1rem;
    }

    .nav-list li {
        margin: 1rem 0;
    }

    .menu-icon {
        display: none;
        font-size: 2rem;
        cursor: pointer;
        color: rgb(255, 255, 255);
        padding-right: 1rem;
    }
    .hamburger-icon {
        margin-right: 10px;
        color: #a3b7ba; /* Color naranja que hemos usado en otras partes */
    }
    .fundacion-nombre {
        font-size: 1rem; /* Tamaño de fuente más pequeño */
        font-weight: normal; /* Peso de fuente normal */
    }
    /* Estilos responsivos */
    @media (max-width: 768px) {
        .menu-icon {
            display: flex;
            align-items: center;
        }

        .nav-list {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 60px;
            left: 0;
            background-color: #1a1a1a;
            width: 100%;
            padding: 1rem;
        }

        .nav-list li {
            margin: 1rem 0;
        }

        .nav-list.show {
            display: flex;
        }
    }


    .nav-list.show {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}



/* ubicacion */

#ubicacion iframe {
    width: 100%; /* El iframe ocupará el 100% del ancho disponible */
    height: 300px; /* Ajusta la altura como prefieras */
    max-width: 600px; /* Límite máximo del ancho en pantallas grandes */
    border: 0; /* Elimina el borde */
}

/* Ajustes específicos para pantallas más pequeñas */
@media (max-width: 768px) {
    #ubicacion iframe {
        height: 250px; /* Disminuye la altura en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    #ubicacion iframe {
        height: 200px; /* Ajusta la altura para pantallas aún más pequeñas */
    }
}


/* Estilos para las secciones mejoradas */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease-in-out;
}

.section-container:hover {
    transform: translateY(-5px);
}

.section-icon {
    font-size: 3rem;
    color: #ff5733;
    margin-bottom: 1rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.section-content {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.logros-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.logros-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.logros-list i {
    color: #ff5733;
    margin-right: 10px;
}

/* Animación para los iconos */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.section-icon {
    animation: iconPulse 2s infinite;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section-content {
        font-size: 1rem;
    }
}



#apoyan {
    background-color: #f8f8f8;
    padding: 2rem 0;
}

#apoyan h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-item {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
}

.logo-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-item {
        width: 120px;
        height: 120px;
    }
}




#contacto {
    background-color: #f8f8f8;
    padding: 3rem 0;
}

#contacto h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff5733;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ff5733;
}

@media (max-width: 768px) {
    .contact-info {
        align-items: flex-start;
    }
}
