.section {
    padding: 0; /* Elimina el espacio interno */
    margin: 0; /* Opcional: elimina margen si lo hubiera */
}


.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Reduce el espacio entre las secciones */
    margin: 0 auto; /* Centra el contenedor */
    padding: 5px; /* Ajusta el espacio interno */
    width: 90%; /* Reduce el ancho general */
    max-width: 800px; /* Limita el tamaño máximo */
}


.gallery-section {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 8px; /* Reduce el espacio entre imágenes */
    flex-wrap: wrap;
}

.gallery img {
    width: 150px; /* Tamaño de la imagen */
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animación suave */
    cursor: pointer; /* Cambia el cursor a una mano */
}

.gallery img:hover {
    transform: scale(1.1); /* Aumenta el tamaño un 10% */
    opacity: 0.8; /* Hace la imagen un poco más tenue */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Agrega una sombra */
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox.active {
    display: flex;
}