/* ======================================
    NAVBAR styles
========================================*/

.main-header-bar {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}


.navbar-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    font-family: 'Inter', system-ui, sans-serif;
}

.navbar-branding-title a {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.navbar-branding-title a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-branding-title a:hover {
    color: var(--accent);
}

.navbar-branding-title a:hover::after {
    width: 100%;
}

.navbar-branding-desc {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.25rem;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

/* NAVBAR Menu - centered */
.navbar-menu {
    flex: 1;
    text-align: center;
}

.navbar-menu-list {
    list-style: none;
    display: inline-flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.navbar-menu-item-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    position: relative;
    padding: 0.2rem 0;;
    transition: color 0.3s;
}

.navbar-menu-item-link::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.navbar-menu-item-link:hover {
    color: var(--accent);
}

/* NAVBAR Links - Right */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-links-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.navbar-links-social a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.navbar-links-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.navbar-links-social:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.navbar-links-button .theme-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-links-button .theme-btn img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
    transition: transform 0.2s;
}

.navbar-links-button .theme-btn:hover img {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .navbar-menu-list {
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-menu {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }

    .navbar-links {
        order: 2;
        margin-left: auto;
    }

    .navbar-branding {
        order: 1;
        text-align: center;
        width: 100%;
    }
}







