/* NAVBAR con efecto metálico */
.navbar-custom {
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;

    background-image: url('/img/bg-top.webp');
    background-size: cover;
    background-position: center;

    box-shadow:
        0 6px 20px rgba(0,0,0,0.2),
        inset 0 0 10px rgba(255,255,255,0.2);

    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

/* Logo */
.logo {
    max-height: 80px;
    object-fit: contain;
    z-index: 3;
}

/* Brillo metálico */
.navbar-custom::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(to left, rgba(0,21,212,0.25), transparent);
    filter: blur(4px);
    pointer-events: none;
}

/* Links */
.navbar a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    white-space: nowrap;
}

.navbar a:hover {
    opacity: 0.85;
}

/* Iconos */
.navbar i {
    font-size: 1rem;
}

/* Dropdown */
.dropdown-menu {
    background: #0f2e66;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.dropdown-item {
    color: white;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(255, 153, 0, 0.15);
}

/* Link activo */
.navbar a.nav-active {
    color: #ff8c00 !important;
}

.navbar a.nav-active::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ff6600;
    border-radius: 2px;
}

/* BOTÓN HAMBURGUESA */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.6);
    font-size: 1.4rem;
}

/* MOBILE */
@media (max-width: 991px) {
    .navbar-custom {
        height: auto;
        padding: 15px 0;
    }

    .navbar-collapse {
        background: rgba(15,46,102,0.95);
        padding: 20px;
        border-radius: 14px;
        margin-top: 12px;
        text-align: center;
    }

    .navbar a.nav-active::after {
        display: none;
    }
}
