/* -------------------------------------------------------------
   PROFESSIONAL SIDEBAR NAV STYLES
------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width, 220px);
    height: 100vh;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 100;
    
    /* Core Minimalism & Glassmorphism */
    background: rgba(5, 5, 7, 0.85); /* Mostly transparent to black */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    margin-bottom: 4rem;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    flex-grow: 1; /* Pushes the contact button to the bottom if desired, or keeps it structured */
}

.nav-links a.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem; /* More professional, slightly smaller font */
    font-weight: 400;
    font-family: var(--font-body);
    transition: color 0.3s ease, margin-left 0.3s ease;
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 0;
}

.nav-links a.nav-item::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--brand-primary);
    margin-right: 0;
    transition: width 0.3s ease, margin-right 0.3s ease;
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
    color: var(--text-main);
    margin-left: 5px;
}

.nav-links a.nav-item:hover::before,
.nav-links a.nav-item.active::before {
    width: 15px;
    margin-right: 10px;
}

.nav-btn {
    margin-top: auto; 
    margin-bottom: 2rem;
    padding: 0.8rem 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    
    /* (3) Neumorphism Style strictly for Button */
    background: var(--bg-dark); /* Blend into bg but elevate via shadows */
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 8px; /* Slightly softer radius for Neumorphism */
    box-shadow: var(--neu-shadow);
    
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-btn:hover {
    color: var(--brand-primary);
    box-shadow: var(--neu-shadow-inset); /* Pressed state */
    border-color: rgba(255, 85, 0, 0.3); /* Subtle Cyberpunk glow on hover */
}

.nav-btn:hover::before {
    display: none; 
}

@media (max-width: 900px) {
    .navbar {
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem 0 0 0;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        background: rgba(5, 5, 7, 0.95);
    }
    
    .logo {
        margin-bottom: 1rem;
        font-size: 1.5rem;
        padding: 0 1.5rem;
        align-self: flex-start;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 1.2rem;
        width: 100%;
        overflow-x: auto;
        padding: 0 1.5rem 1rem 1.5rem;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .nav-links::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .nav-links a.nav-item {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
    
    .nav-links a.nav-item::before {
        display: none;
    }
    
    .nav-links a.nav-item:hover,
    .nav-links a.nav-item.active {
        margin-left: 0;
        color: var(--brand-primary);
    }

    .nav-btn {
        margin: 0;
        padding: 0.4rem 1rem;
        white-space: nowrap;
        font-size: 0.75rem;
    }
}
