:root {
    --azul: #4A90E2;
    --blanco: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: #fdfdfd;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    height: 100vh; /* Ocupa toda la pantalla */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: var(--blanco);
    text-align: center;
}

.hero-image-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la foto sin deformarla */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    padding-bottom: 60px;
    z-index: 10;
}

.pre-title { letter-spacing: 3px; font-size: 0.9rem; text-transform: uppercase; }
.main-name { font-family: 'Great Vibes', cursive; font-size: 4.5rem; margin: 10px 0; }
.divider { font-size: 1.5rem; margin-bottom: 10px; }
.date-hero { font-weight: 300; font-size: 1.2rem; margin-bottom: 30px; }

.btn-start {
    display: inline-block;
    padding: 15px 40px;
    background: var(--azul);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    transition: transform 0.3s;
}

.btn-start:hover { transform: scale(1.05); }

/* Grid para las otras fotos */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
}

.photo-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .main-name { font-size: 3.2rem; }
}

.mini-gallery {
    padding: 40px 15px;
    text-align: center;
    background: #fff;
}

.mini-gallery h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--azul);
    font-size: 0.9rem;
}

.photo-grid {
    display: grid;
    /* Esto crea 4 columnas iguales */
    grid-template-columns: repeat(4, 1fr); 
    gap: 12px;
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1; /* Hace que todas las fotos sean perfectamente cuadradas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto dinámico al pasar el mouse */
.photo-item:hover img {
    transform: scale(1.1);
}

/* --- AJUSTE PARA MÓVILES --- */
@media (max-width: 600px) {
    .photo-grid {
        /* En celulares pequeños, 4 en fila quedan muy chicas, 
           así que ponemos 2 y 2 para que se luzcan más */
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px;
    }
}