/* === ESTILOS GENERALES DE LA BARRA === */
.navbar.custom-navbar {
    background-color: #a0244c;
    /* Color principal (rojo vino) */
    box-shadow: 0 2px 10px rgba(160, 36, 76, 0.3);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

/* === CONTENEDOR PRINCIPAL === */
.navbar .container {
    padding: 0 15px;
}

/* === ESTILOS DEL LOGO === (SE ELIMINÓ EL FILTRO QUE LO CONVERTÍA A BLANCO) */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* === ESTILOS DEL MENÚ === */
.navbar-nav {
    gap: 0.5rem;
}

.nav-item {
    font-weight: 500;
    position: relative;
}

/* === ENLACES DE NAVEGACIÓN === */
.nav-link {
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: white !important;
    background-color: rgba(46, 196, 182, 0.2);
    /* Color de acento con transparencia */
}

.nav-link.active {
    background-color: #81002b;
    /* Color de acento (azul turquesa) */
    font-weight: 600;
}

/* === ICONOS === */
.nav-link .bi {
    font-size: 1.1rem;
    color: white;
}

/* === MENÚ MÓVIL === */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    color: white !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.5);
    /* Color de acento */
}

/* === ESTILOS PARA MÓVIL === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
        background-color: #8a1d40;
        /* Color más oscuro para móvil */
        margin: 0 -15px;
        padding: 0 15px;
    }

    .nav-item {
        margin-bottom: 0.25rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link.active {
        background-color: #81002b;
    }
}

/* === EFECTO DE SUBRAYADO === */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #81002b;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}


/* === AJUSTES PARA ESCRITORIO === */
@media (min-width: 992px) {
    .nav-link::after {
        bottom: 8px;
    }
}