/* css/header-footer.css */

/* =========================================
   ESTILOS GENERALES (ESCRITORIO)
   ========================================= */

/* --- Estilos del encabezado --- */
header {
    background: linear-gradient(to right, #ff4800, #ff9e00);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0;
    width: 100%;     /* Asegura que ocupe todo el ancho */
    z-index: 1000;
}

header h1 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem 0; /* Ajustado margen */
    text-align: center;
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Navegación en Escritorio (Para que se vea horizontal) --- */
#main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    margin-bottom: 10px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;       /* Horizontal */
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;           /* Espacio entre enlaces */
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 10px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* --- REGLA DE ORO: Ocultar botón hamburguesa en escritorio --- */
.hamburger-menu {
    display: none; 
}

/* --- Estilos del pie de página --- */
footer {
    background: linear-gradient(to right, #0199ff, #0145ff);
    color: white;
    text-align: center;
    padding: 1em 0; /* Ajustado padding */
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: auto;
}