/* ===== FUENTES PERSONALIZADAS ===== */
@font-face {
    font-family: 'Balgruf';
    src: url('/media/fonts/balgruf.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Belgiano';
    src: url('/media/fonts/belgiano.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== ESTILOS BASE ===== */
body {
    font-family: 'Belgiano', serif;
    color: #40372A;
    background-color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn, .navbar-brand {
    font-family: 'Balgruf', sans-serif;
    letter-spacing: 0.05em;
    font-weight: normal;
}

/* ===== CABECERA FIJA CON LOGO ===== */
.header-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, backdrop-filter 0.3s;
    box-sizing: border-box;
}

.header-site.scrolled {
    background: rgba(10, 26, 42, 0.85);
    backdrop-filter: blur(5px);
}

/* Logo */
.navbar-brand {
    padding: 0;
    margin: 0;
}
.navbar-brand img {
    height: 60px;
    width: auto;
    display: block;
}

/* Menú y navegación */
.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
    text-decoration: none;
}

.nav-link:hover {
    color: #4aa3ff !important;
    border-bottom-color: #4aa3ff;
}

/* Selector de idiomas */
.mod-languages {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 15px;
}

.mod-languages ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mod-languages a {
    color: #ffffff !important;
    font-family: 'Balgruf', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    transition: all 0.3s;
    text-decoration: none;
}

.mod-languages a:hover {
    color: #4aa3ff !important;
    border-color: #4aa3ff;
    background: rgba(74, 163, 255, 0.1);
}

/* ===== SECCIONES PARALLAX ===== */
.seccion-parallax {
    background-attachment: fixed !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin: 0;
    width: 100%;
}

.seccion-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 42, 0.5);
    z-index: 1;
}

.seccion-parallax .contenido-seccion {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    margin: 0 auto;
    width: 100%;
}

.seccion-parallax h2 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.seccion-parallax .subtitulo {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #4aa3ff;
    font-family: 'Belgiano', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

/* Ejemplo de fondo para cada sección (puedes asignar estas clases a tus módulos) */
.seccion-el-martillo {
    background-image: url('/images/img/martillo-de-las-estaciones-fulvinter.jpg');
}
.seccion-contacto {
    background-image: url('/images/img/contactoFulvinter.jpg');
}
/* Añade más según necesites */

/* ===== TARJETAS Y CONTENIDO ===== */
/* Contenedor de columnas */
.grid-columnas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Tarjetas personalizadas */
.card-fulvinter {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #4aa3ff;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    backdrop-filter: blur(2px);
}

.card-fulvinter:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(74, 163, 255, 0.3);
    border-color: #ffffff;
}

.card-fulvinter img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid #4aa3ff;
}

.card-fulvinter h3 {
    color: #4aa3ff;
    margin-bottom: 15px;
    font-size: 2rem;
}

.card-fulvinter p {
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-fulvinter .btn {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 2px solid #4aa3ff;
    color: #4aa3ff;
    text-decoration: none;
    font-family: 'Balgruf', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    cursor: pointer;
}

.card-fulvinter .btn:hover {
    background: #4aa3ff;
    color: #0a1a2a;
    border-color: #4aa3ff;
}

/* Texto en columnas dentro de artículos */
.texto-columnas {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid #4aa3ff;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

/* ===== FOOTER CON IMAGEN DE FONDO ===== */
.footer {
    background-image: url('/images/img/contactoFulvinter.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0 30px;
    position: relative;
    color: #ffffff;
    text-align: center;
    margin-top: 80px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 42, 0.85);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    color: #cccccc;
    font-family: 'Belgiano', serif;
}

/* ===== UTILIDADES ===== */
/* Espaciado para el header fijo */
main, .site-content {
    margin-top: 90px; /* Ajusta según la altura de tu header */
}

/* Responsive */
@media (max-width: 768px) {
    .header-site {
        padding: 10px 20px;
        flex-wrap: wrap;
    }
    
    .navbar {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .texto-columnas {
        column-count: 1;
    }
    
    .seccion-parallax {
        background-attachment: scroll; /* Mejor rendimiento en móviles */
        min-height: 60vh;
    }
    
    .seccion-parallax h2 {
        font-size: 2.5rem;
    }
}

/* ===== SECCIÓN INTRO ===== */
/* Logos flotantes */
.logo-nintendo-switch {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 150px;
}

.logo-fulvinter-principal {
    display: block;
    margin: 40px auto;
    max-width: 80%;
    text-align: center;
}

/* Título intro */
.intro-titulo {
    font-family: 'Balgruf', sans-serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: center;
}
.intro-titulo em {
    color: #4aa3ff;  /* Azul destacado */
    font-style: italic;
}

/* Párrafo justificado */
.texto-justificado {
    text-align: justify;
    max-width: 900px;
    margin: 30px auto;
    font-size: 1.2rem;
}

/* Widget Steam */
.widget-steam {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 100%;
}
.widget-steam iframe {
    max-width: 100%;
    height: auto;
}

/* ===== TEASER TRÁILER ===== */
.teaser-trailer {
    margin: 60px 0;
    text-align: center;
}
.teaser-trailer iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border: 2px solid #4aa3ff;
    box-shadow: 0 0 30px rgba(74, 163, 255, 0.3);
}

/* ===== GALERÍA ===== */
.galeria-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.galeria-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #4aa3ff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.galeria-home img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(74, 163, 255, 0.5);
}

/* ===== TARJETAS DE 3 COLUMNAS ===== */
.grid-tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}
.tarjeta-juego {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4aa3ff;
    padding: 20px;
    transition: all 0.3s;
}
.tarjeta-juego:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 163, 255, 0.3);
}
.tarjeta-juego img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #4aa3ff;
    margin-bottom: 20px;
}
.tarjeta-juego h3 {
    font-family: 'Balgruf', sans-serif;
    color: #4aa3ff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}
.tarjeta-juego p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.tarjeta-juego .btn {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid #4aa3ff;
    color: #4aa3ff;
    text-decoration: none;
    font-family: 'Balgruf', sans-serif;
    transition: all 0.3s;
}
.tarjeta-juego .btn:hover {
    background: #4aa3ff;
    color: #0a1a2a;
}

/* ===== DETALLES DEL JUEGO (2 columnas) ===== */
.grid-detalles {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin: 60px 0;
    align-items: center;
}
.icono-juego {
    width: 100%;
    border: 3px solid #4aa3ff;
    border-radius: 50%;
}
.tabla-detalles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 20px;
}
.detalle-item {
    border-bottom: 1px solid #4aa3ff;
    padding: 10px 0;
}
.detalle-item strong {
    color: #4aa3ff;
    font-family: 'Balgruf', sans-serif;
    display: block;
    margin-bottom: 5px;
}

/* ===== BOTÓN NINTENDO ESHOP ===== */
.btn-nintendo {
    background: #e60012;  /* Rojo Nintendo */
    border-color: #e60012;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: inline-block;
    margin: 20px 0;
}
.btn-nintendo:hover {
    background: #b3000f;
    border-color: #b3000f;
}

/* ===== PEGI ===== */
.pegi-logo {
    float: right;
    margin: 20px 0 20px 20px;
    max-width: 80px;
}

/* ===== REDES SOCIALES ===== */
.redes-sociales {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
}
.red-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(74, 163, 255, 0.2);
    border: 2px solid #4aa3ff;
    border-radius: 50%;
    transition: all 0.3s;
    text-indent: -9999px;  /* Oculta texto */
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}
/* Aquí irían los iconos específicos, necesitas las imágenes */

/* ===== CONTACTO ===== */
.btn-contacto {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #4aa3ff;
    color: #4aa3ff;
    font-family: 'Balgruf', sans-serif;
    font-size: 1.3rem;
    text-decoration: none;
    margin: 30px auto;
    text-align: center;
}
.btn-contacto:hover {
    background: #4aa3ff;
    color: #0a1a2a;
}

/* Ajustes específicos para la portada */
.cabecera-portada {
    min-height: 200px;
    margin-bottom: 40px;
}

/* Mejorar espaciado entre secciones */
.intro-portada, .widget-steam, .teaser-trailer, .galeria-home, .grid-tarjetas, .grid-detalles {
    margin-bottom: 60px;
}

/* Ajustar el hr para que sea más decorativo */
hr {
    border: 1px solid #4aa3ff;
    width: 50%;
    margin: 40px auto;
    opacity: 0.3;
}

/* Hacer que el iframe de YouTube sea responsive */
.teaser-trailer iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

/* Ajustar el widget Steam en móvil */
@media (max-width: 768px) {
    .widget-steam {
        float: none;
        margin: 20px 0;
    }
    .widget-steam iframe {
        width: 100%;
        height: auto;
    }
    .pegi-logo {
        float: none;
        margin: 20px auto;
        display: block;
    }
}

/* ===== MENÚ ESTILO ORIGINAL (ADAPTADO) ===== */

/* Header transparente y fijo */
.tm-header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 980;
    background: transparent;
}

/* Contenedor del menú */
.uk-navbar-container {
    background: transparent !important;
}

/* Estilo de la barra de navegación */
.uk-navbar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.uk-logo {
    font-size: 24px;
    font-family: 'Raleway', sans-serif;
    color: #292c3d;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.uk-logo img {
    height: 70px;
    width: auto;
}
/* Versión del logo para fondo oscuro (si aplica) */
.uk-logo-inverse {
    display: none;
}

/* Menú de navegación principal */
.uk-navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}
.uk-navbar-nav > li > a {
    min-height: 80px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #4f5260;
    text-decoration: none;
    position: relative;
    transition: color 0.1s ease-in-out;
}
.uk-navbar-nav > li > a:hover {
    color: #94e1d9;
}
.uk-navbar-nav > li.uk-active > a {
    color: #292c3d;
}
.uk-navbar-nav > li.uk-active > a::before {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 15px;
    right: 15px;
    height: 1px;
    background-color: #94e1d9;
}

/* Dropdown (submenú) */
.uk-navbar-dropdown {
    display: none;
    position: absolute;
    z-index: 1020;
    width: 200px;
    padding: 25px;
    background: #fff;
    color: #4f5260;
    border-radius: 2px;
    box-shadow: 2px 15px 50px rgba(41,44,61,0.1);
}
.uk-navbar-dropdown.uk-open {
    display: block;
}
.uk-navbar-dropdown-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
.uk-navbar-dropdown-nav > li > a {
    display: block;
    padding: 5px 0;
    color: #90929d;
    font-size: 11px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    text-decoration: none;
}
.uk-navbar-dropdown-nav > li > a:hover {
    color: #94e1d9;
}

/* Selector de idiomas */
.mod-languages {
    margin-left: 15px;
}
.mod-languages ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}
.mod-languages img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Iconos de redes sociales */
.uk-grid-small {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.uk-icon-link {
    color: #4f5260;
    transition: color 0.1s ease-in-out;
}
.uk-icon-link:hover {
    color: #94e1d9;
}
.uk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.uk-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Efecto sticky al hacer scroll */
.uk-navbar-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(5px);
    box-shadow: 2px 15px 50px rgba(41,44,61,0.1);
    z-index: 980;
}
.uk-navbar-sticky .uk-logo-inverse {
    display: none; /* Ajusta según tu logo */
}

/* ===== MENÚ ESTILO ORIGINAL ADAPTADO A JOOMLA 6 ===== */

/* Header fijo y transparente */
.header-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
    box-sizing: border-box;
}

/* Efecto al hacer scroll */
.header-site.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    box-shadow: 2px 15px 50px rgba(41,44,61,0.1);
}

/* Logo */
.navbar-brand img {
    height: 60px;
    width: auto;
}

/* Contenedor del menú */
.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Menú principal - apuntando a tu estructura real */
.mod-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.mod-menu .nav-item {
    margin: 0;
    padding: 0;
}

.mod-menu .nav-item > a {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 10px;
    font-size: 11px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #4f5260;
    text-decoration: none;
    position: relative;
    transition: color 0.1s ease-in-out;
    border-bottom: 2px solid transparent;
}

.mod-menu .nav-item > a:hover {
    color: #94e1d9;
    border-bottom-color: #94e1d9;
}

/* Elemento activo (página actual) */
.mod-menu .nav-item.current > a {
    color: #292c3d;
    border-bottom-color: #94e1d9;
}

/* Selector de idiomas (ajusta según tu HTML) */
.mod-languages {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 15px;
}

.mod-languages ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.mod-languages img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Redes sociales (si las tienes en el header) */
.redes-sociales-header {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}

.red-social-icon {
    color: #4f5260;
    transition: color 0.1s;
    text-decoration: none;
}

.red-social-icon:hover {
    color: #94e1d9;
}

/* Versión para móviles */
@media (max-width: 768px) {
    .header-site {
        padding: 10px 20px;
    }
    .mod-menu {
        display: none; /* Ocultar menú en móvil si no tienes versión responsive */
    }
}

/* FORZAR HEADER TRANSPARENTE */
.header.container-header,
.container-nav,
.grid-child.container-nav,
.navbar,
.uk-navbar-container,
header {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Si el header tiene fondo blanco por defecto, lo eliminamos */
.position-sticky.sticky-top {
    background-color: transparent !important;
}

/* Asegurar que el contenedor del menú también sea transparente */
.container-nav {
    background: transparent !important;
}

/* Estilo del menú (para que se vea sobre la imagen) */
.mod-menu .nav-item > a {
    color: #ffffff !important;  /* Texto blanco para que contraste con la imagen */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Sombra para legibilidad */
}

.mod-menu .nav-item > a:hover {
    color: #94e1d9 !important;
}

.mod-menu .nav-item.current > a {
    color: #ffffff !important;
    border-bottom-color: #94e1d9 !important;
}

/* Selector de idiomas con texto blanco */
.mod-languages a {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.mod-languages img {
    filter: brightness(0) invert(1); /* Vuelve las banderas blancas si es necesario */
}

/* Efecto al hacer scroll (cuando tenga clase "scrolled") */
.header.scrolled,
.header.scrolled .container-nav {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
}

.header.scrolled .mod-menu .nav-item > a {
    color: #4f5260 !important;
    text-shadow: none;
}

.header.scrolled .mod-languages a {
    color: #4f5260 !important;
}

.header.scrolled .mod-languages img {
    filter: none; /* Bandera normal sobre fondo blanco */
}

/* Fondo para la página de inicio */
.fondo-inicio {
    background-image: url('/images/headers/bg_level0.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important; /* Efecto parallax si quieres */
    background-repeat: no-repeat !important;
}

/* Asegurar que el contenido se lea sobre la imagen */
.fondo-inicio main,
.fondo-inicio .container-component {
    background-color: rgba(0, 0, 0, 0.3); /* Capa oscura para legibilidad */
    padding: 20px;
    border-radius: 5px;
}

/* Fondo solo para la cabecera de la portada */
.cabecera-portada {
    background-image: url('/images/headers/bg_level0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh; /* Ajusta la altura que quieras */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px; /* Separación con el contenido siguiente */
}

/* Para que el logo se vea bien sobre la imagen */
.logo-fulvinter-principal {
    max-width: 80%;
    height: auto;
    z-index: 2;
    position: relative;
}

/* Capa oscura opcional para mejorar legibilidad (si la imagen es muy clara) */
.cabecera-portada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Ajusta la opacidad */
    z-index: 1;
}

/* Asegurar que el logo esté por encima de la capa oscura */
.cabecera-portada img {
    position: relative;
    z-index: 2;
}

/* Fondo solo para la cabecera de la portada */
.cabecera-portada {
    background-image: url('/images/headers/bg_level0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh; /* Ajusta la altura que quieras */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px; /* Separación con el contenido siguiente */
}

/* Para que el logo se vea bien sobre la imagen */
.logo-fulvinter-principal {
    max-width: 80%;
    height: auto;
    z-index: 2;
    position: relative;
}

/* Capa oscura opcional para mejorar legibilidad (si la imagen es muy clara) */
.cabecera-portada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Ajusta la opacidad */
    z-index: 1;
}

/* Asegurar que el logo esté por encima de la capa oscura */
.cabecera-portada img {
    position: relative;
    z-index: 2;
}

/* ===== CABECERA CON PARALLAX ===== */
.cabecera-portada {
    /* Imagen de fondo con parallax */
    background-image: url('/images/headers/bg_level0.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;  /* ¡Este es el truco del parallax! */
    
    /* Ocupa todo el ancho y alto deseado */
    width: 100%;
    min-height: 90vh;  /* Ajusta según necesites */
    
    /* Eliminar cualquier padding/margen que pueda estar separando del borde */
    margin: 0;
    padding: 0;
    
    /* Para centrar el logo */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Posición relativa para la capa oscura */
    position: relative;
    
    /* Asegurar que no haya separación con el header */
    margin-top: 0;
    padding-top: 0;
}

/* Capa oscura opcional (si la quieres) */
.cabecera-portada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);  /* Muy sutil */
    z-index: 1;
}

/* Logo centrado y por encima de la capa */
.cabecera-portada .logo-fulvinter-principal {
    max-width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    
    /* Animación suave al hacer scroll (opcional) */
    transition: transform 0.3s ease-out;
}

/* Ajuste para móviles (el parallax fijo no funciona bien en móviles) */
@media (max-width: 768px) {
    .cabecera-portada {
        background-attachment: scroll;  /* Quita parallax en móvil */
        min-height: 60vh;
    }
}

/* Eliminar cualquier margen/padding superior en el body y contenedores */
body,
.site-grid,
.container-component,
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Si el header fijo está encima, necesitas compensarlo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Para que la cabecera empiece debajo del header fijo */
.cabecera-portada {
    margin-top: 80px;  /* Ajusta este valor a la altura de tu header */
}

/* En móvil, si el header no es fijo, ajusta */
@media (max-width: 768px) {
    .cabecera-portada {
        margin-top: 0;
    }
}

/* ===== HEADER CON TODO EN UNA LÍNEA ===== */
.header.container-header {
    background-color: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 40px; /* Ajusta el padding a tu gusto */
    box-sizing: border-box;
}

/* El contenedor principal debe ser flex en horizontal */
.container-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    background: transparent !important;
    width: 100%;
}

/* Cada bloque dentro del header */
.mod-menu,                      /* Menú */
.mod-languages,                 /* Idiomas */
.mod-custom {                   /* Logo y Redes (ambos tienen esta clase) */
    display: flex;
    align-items: center;
    margin: 0 10px; /* Espaciado entre elementos */
}

/* El menú específicamente */
.mod-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* Separación entre items del menú */
}

.mod-menu .nav-item {
    margin: 0;
    padding: 0;
}

.mod-menu .nav-item > a {
    color: #4f5260;
    text-decoration: none;
    font-size: 11px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.mod-menu .nav-item > a:hover {
    color: #94e1d9;
    border-bottom-color: #94e1d9;
}

.mod-menu .nav-item.current > a {
    color: #292c3d;
    border-bottom-color: #94e1d9;
}

/* Selector de idiomas */
.mod-languages ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.mod-languages img {
    width: 24px;
    height: auto;
    border-radius: 3px;
}

/* Logo */
.mod-custom img {
    max-height: 50px; /* Ajusta según tu logo */
    width: auto;
    display: block;
}

/* Redes sociales */
.redes-sociales {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.red-social {
    display: block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* Oculta el texto */
    transition: opacity 0.3s;
}

.red-social:hover {
    opacity: 0.7;
}

/* Iconos individuales (necesitas las imágenes) */
.red-social.twitter {
    background-image: url('/images/iconos/twitter.svg'); /* Ajusta la ruta */
}
.red-social.facebook {
    background-image: url('/images/iconos/facebook.svg');
}
.red-social.instagram {
    background-image: url('/images/iconos/instagram.svg');
}
.red-social.youtube {
    background-image: url('/images/iconos/youtube.svg');
}
.red-social.linkedin {
    background-image: url('/images/iconos/linkedin.svg');
}

/* Ajuste para móviles */
@media (max-width: 992px) {
    .container-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .mod-menu {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .mod-languages {
        order: 3;
    }
    .mod-custom {
        order: 1;
    }
    .redes-sociales {
        order: 4;
    }
}