* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
}

.container {
    width: 90%;
    margin: auto;
}

/* HEADER */
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.nav h2 {
    margin: 0;
}

/* MENÚ */
.nav nav {
    display: flex;
    align-items: center;
}

.nav nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

/* BOTÓN */
.nav .btn {
    margin-left: 15px;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav nav {
    display: flex;
}

.nav nav a {
    margin: 0 10px;
}

.nav .btn {
    margin-left: 10px;
}

.btn {
    background: #2e7d32;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero {
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero img {
    width: 100%;
    border-radius: 10px;
}

.section {
    padding: 60px 0;
}

.gray {
    background: #f5f5f5;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2e7d32;
    color: white;
}


/* EVENTOS */
.evento {
    position: relative;
    text-align: left;
}

.evento .fecha {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.mapa {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.whatsapp-text {
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-float {
    color: white;
    font-size: 22px;
    padding: 14px 16px;
    border-radius: 50%;
    text-decoration: none;
    
}
.whatsapp-float img {
    width: 30px;
}    
/* GALERÍA MODAL */
.galeria-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.galeria-modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.controles {
    margin-top: 20px;
}

.controles button {
    background: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
    height: 45px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social a {
    margin-left: 10px;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social a:hover {
    transform: scale(1.2);
    color: #25D366; /* puedes cambiar color */
}


/* =========================
   RESPONSIVE MÓVIL
========================= */
@media (max-width: 768px) {

    /* HEADER */
    .nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav nav a {
        margin: 5px;
    }

    .nav .btn {
        width: 100%;
        max-width: 250px;
    }

    /* HERO */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    /* GRIDS */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* IMÁGENES */
    img {
        max-width: 100%;
        height: auto;
    }

    /* FOOTER */
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}
