/* Reset general */
body,
header {
    margin: 0;
    padding: 0;
    font-family: sans-serif !important;
}

/* Navbar fijo */
.navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 64px;
}

/* Azul marino más claro */
.nav-azul-marino {
    background-color: #004080;
    /* tono más claro */
    color: #ffffff;
    height: 64px;
    line-height: 64px;
    width: 100%;
}

/* Contenedor centrado */
.nav-container-centrado {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

/* Logo WebOeba */
.brand-logo {
    font-family: "Segoe UI", sans-serif !important;
    font-size: 1.8rem;
    /* más pequeño */
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 300;
    padding-left: 20px;
    /* mueve WebOeba a la derecha */
}

/* Menú desktop */
.menu-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-desktop li a,
.dropbtn {
    color: #ffffff !important;
    text-decoration: none;
    padding: 0 15px;
    display: block;
    font-size: 0.95rem;
}

.menu-desktop li a:hover,
.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #004080;
    min-width: 200px;
    top: 64px;
    right: 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown-content a {
    color: white !important;
    padding: 12px 16px !important;
    line-height: normal !important;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Icono móvil */
.sidenav-trigger {
    display: none;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .menu-desktop {
        display: none;
    }

    .sidenav-trigger {
        display: block;
    }
}

/* Sidenav móvil */
.sidenav {
    position: fixed;
    top: 0;
    left: -100%;
    /* oculto completamente fuera de pantalla */
    width: 280px;
    height: 100vh;
    background: #004080;
    padding: 20px;
    transition: left 0.25s ease;
    list-style: none;
    margin: 0;
    overflow-y: auto;
    box-shadow: none;
    /* elimina borde */
}

.sidenav.is-open {
    left: 0;
}

.sidenav li {
    margin-bottom: 12px;
}

.sidenav a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem;
}

.sidenav a:hover {
    text-decoration: underline;
}