/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

header, section {
    text-align: center;
    margin-bottom: 30px;
}

h1, h2 {
    color: white;
    text-shadow: 1px 2px 2px black, 0 0 25px blue, 0 0 5px blue;
}

/* Contenedor principal */
.contenedor-principal {
    max-width: 1400px; /* Aumenté el ancho máximo */
    margin: 0 auto;
}

/* Galería */
.contenedor-galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px; /* Más espacio entre imágenes */
    margin-top: 20px;
}

.galeria {
    width: 320px; /* Imágenes más grandes */
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 lightskyblue, 0 6px 20px 0 rgba(0,0,0,0.19);
    cursor: pointer;
}

.foto {
    height: 250px; /* Altura aumentada */
    overflow: hidden;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pie {
    padding: 15px;
    text-align: center;
    text-shadow: 2px 2px 5px purple;
    background: rgba(255, 255, 255, 0.9);
}

.pie p {
    margin: 0;
    color: #333;
    font-weight: bold;
    font-size: 16px; /* Texto un poco más grande */
}

/* Efecto hover simplificado */
.galeria:hover {
    outline: 2px solid lightcoral;
}

/* Responsive */
@media (max-width: 992px) {
    .galeria {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .galeria {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .galeria {
        width: 100%;
        max-width: 350px;
    }
}