
/* ===== NAVBAR BASE ===== */
.navbar {
    width: 100%;
    background: #ffffff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

/* Sticky */
.sticky-top {
    position: sticky;
    top: 0;
}

/* ===== CONTAINER ===== */
.container-fluid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== BRAND ===== */
.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: #212529;
}

/* Hide brand on large screens */
.d-lg-none {
    display: block;
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none;
    }
}

/* ===== TOGGLER ===== */
.navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.border-0 {
    border: 0;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #212529;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #212529;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

/* ===== COLLAPSE ===== */
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.navbar-collapse {
    width: 100%;
}

@media (min-width: 992px) {
    .navbar-expand-lg .collapse {
        display: flex !important;
    }
}

/* ===== NAV LIST ===== */
.navbar-nav {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        gap: 1.5rem;
        width: auto;
    }
}

/* ===== NAV ITEMS ===== */
.nav-item {
    margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .nav-item {
        margin-bottom: 0;
    }
}

/* ===== NAV LINKS ===== */
.nav-link {
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    color: #212529;
    font-weight: 700;
}

/* ===== IDS ===== */
#navbarNav {
    width: 100%;
}

#portfolioTabs {
    align-items: center;
}

/* Optional smooth underline effect */
.nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
    margin-top: 4px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}