/* =========================================================
   ESTILOS DE BARRA DE NAVEGACIÓN - CONCURSO ESTUDIANTIL
   ========================================================= */
:root {
    --nav-primary: #0052cc;
    --nav-accent: #ff5630;
    --nav-dark: #091e42;
    --nav-text: #334155;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid #e2e8f0;
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1040;
}

.navbar-custom.scrolled {
    background: #ffffff !important;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0, 82, 204, 0.08);
}

/* Brand */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand-custom:hover .brand-icon-box {
    transform: rotate(-10deg) scale(1.05);
    background: #ff5630;
    box-shadow: 0 4px 15px rgba(255, 86, 48, 0.4);
}

.brand-text {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    color: #091e42;
    text-transform: uppercase;
}

.brand-logo-img {
    max-height: 44px;
    max-width: 180px;
    object-fit: contain;
}

/* Navigation Links */
.nav-link-custom {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.nav-link-custom i {
    color: var(--nav-primary);
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--nav-primary) !important;
    background: rgba(0, 82, 204, 0.08);
}

.nav-link-custom:hover i {
    transform: translateY(-2px);
    color: var(--nav-accent);
}

/* Action Buttons */
.btn-nav-reserve {
    background: var(--nav-accent);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 22px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 86, 48, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-nav-reserve:hover {
    background: #de350b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 86, 48, 0.45);
    color: #ffffff !important;
}

.btn-nav-login {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-nav-login:hover {
    background: #0052cc;
    border-color: #0052cc;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-nav-aula {
    background: rgba(0, 82, 204, 0.08);
    border: 1.5px solid #0052cc;
    color: #0052cc !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-aula:hover {
    background: #0052cc;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.25);
}

/* Mobile Toggler */
.navbar-toggler-custom {
    border: 1.5px solid #cbd5e1;
    color: var(--nav-primary);
    padding: 8px 14px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.navbar-toggler-custom:focus {
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
    border-color: var(--nav-primary);
}

@media (max-width: 991px) {
    .navbar-custom {
        padding: 8px 0;
    }

    .brand-text {
        font-size: 1rem;
        max-width: 220px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .navbar-collapse-custom {
        background: #ffffff;
        padding: 20px;
        border-radius: 20px;
        margin-top: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-link-custom {
        padding: 12px 16px !important;
        margin-bottom: 6px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav-link-custom:hover {
        background: rgba(0, 82, 204, 0.08);
    }
    
    .btn-nav-reserve, .btn-nav-login, .btn-nav-aula {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .nav-actions-wrap {
        border-top: 1px solid #e2e8f0 !important;
    }
}
