/* Reset básico para evitar ruido visual */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100%;
    /* Imagen destacada configurada como fondo */
    background-image: url('/assets/fondo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #161e33; /* Fallback oscuro */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

/* Capa sutil para asegurar el contraste si la imagen es muy brillante en alguna zona */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

header, main, footer {
    z-index: 2; /* Por encima del overlay */
}

header {
    margin-top: 2vh;
    padding: 20px;
    text-align: center;
}

h1 {
    font-family: 'Merriweather', serif;
    font-weight: 300;    
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 4vw, 2.5rem); /* Responsivo total */
    opacity: 0.9;

    /* CONFIGURACIÓN DEL DESTELLO */
    color: #FFFFFF; /* Letra blanca pura */
    text-shadow: 
        0 0 7px #ADD6FF,        /* Núcleo del destello (más nítido) */
        0 0 15px #ADD6FF,       /* Cuerpo del resplandor */
        0 0 30px #ADD6FF,       /* Expansión de luz */
        0 0 50px rgba(173, 214, 255, 0.8); /* Destello ambiental suave */
    
}

/* El main queda vacío para no interferir con la imagen */
main {
    flex-grow: 1;
}

/* Contenedor de iconos */
.social-icons {
    margin-bottom: 5vh;
    display: flex;
    gap: 40px;
    padding: 20px;
}

.social-icons a img {
    width: 60px; /* Tamaño controlado para no saturar */
    height: 60px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.5));
}

.social-icons a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Adaptación para pantallas pequeñas (móvil) */
@media (max-width: 600px) {
    .social-icons {
        gap: 25px;
    }
    .social-icons a img {
        width: 45px;
        height: 45px;
    }
    h1 {
        letter-spacing: 2px;
    }
}