/* Estilos base para ocupar toda la pantalla */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: white; 
    position: relative; 
    overflow-x: hidden; 
}

/* Estilos para el cuerpo - ahora solo centro el contenido sobre el video */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; 
}

/* ------------------------------------------------------------------- */
/* ESTILOS DEL VIDEO DE FONDO */
/* ------------------------------------------------------------------- */
.video-fondo {
    position: fixed; 
    top: 50%;
    left: 50%;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    transform: translate(-50%, -50%); 
    object-fit: cover; 
}

/* ------------------------------------------------------------------- */
/* ESTILOS DEL MENÚ (NAVBAR) - FONDO TRANSPARENTE */
/* ------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 15px 20px;
    background-color: transparent; /* Fondo completamente transparente */
    z-index: 1000; 
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); <-- Sombra eliminada para que flote más */
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e4a71a;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    font-family: Arial, sans-serif; 
    font-size: 1.1em;
    transition: color 0.3s;
    /* Agregamos una ligera sombra para que el texto sea legible sobre el video */
    text-shadow: 1px 1px 2px black; 
}

.nav-links a:hover {
    color: white;
}

.nav-title {
    color: white;
    font-family:  Arial, sans-serif;
    font-size: 1.5em;
    text-shadow: #e4a71a 1px 1px 2px;
}

/* Estilos del botón de hamburguesa (oculto por defecto) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e4a71a;
    font-size: 2em;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 1px 1px 2px black;
}

/* ------------------------------------------------------------------- */
/* CONTENIDO CENTRAL */
/* ------------------------------------------------------------------- */
.contenedor-mensaje {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10; 
}

.texto-principal {
    font-family: 'UnifrakturMaguntia', cursive;
    color: #e4a71a; 
    text-shadow: black 2px 2px 4px;
    font-size: 5vw; 
    text-align: center;
    margin: 0 20px; 
    line-height: 1.1;
}

.logo {
    height: 12vw; 
    width: auto; 
    max-height: 450px;
    filter: drop-shadow(2px 4px 6px black);
}

/* ------------------------------------------------------------------- */
/* RESPONSIVIDAD (COLAPSO A HAMBURGUESA) */
/* ------------------------------------------------------------------- */
@media (max-width: 768px) {
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column; 
        position: absolute;
        top: 60px; 
        left: 0;
        width: 100%;
        /* Fondo semi-transparente para el menú colapsado para legibilidad */
        background-color: rgba(0, 0, 0, 0.9); 
        padding: 10px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 5px 0;
    }
    
    .contenedor-mensaje {
        flex-direction: column;
        margin-top: 100px; 
    }

    .logo {
        height: 30vw; 
        margin-bottom: 20px;
    }

    .texto-principal {
        font-size: 8vw;
    }
}