/* Navigation Styles */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1600px;
    height: 76px;
    background: transparent;
    backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar.scrolled {
    background: rgba(var(--bg-secondary-rgb), 0.6);
    backdrop-filter: blur(8px);
    border-color: var(--border-dark);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Navigation Typography */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo-asset {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
}

.nav-resume {
    border: 2px solid var(--border-dark);
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.nav-resume:hover {
    background-color: var(--border-dark);
    color: var(--text-primary);
}

.nav-resume:hover {
    color: var(--text-primary);
}

.nav-resume::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        top: 16px;
        width: calc(100% - 32px);
        height: 60px;
        padding: 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 92px;
        flex-direction: column;
        background-color: rgba(var(--bg-secondary-rgb), 0.95);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border-dark);
        border-radius: 20px;
        width: calc(100% - 32px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-dark);
        padding: 2rem 0;
        margin: 0 16px;
    }

    .nav-menu.active {
        left: 0;
    }
}

/* Large screens navigation adjustments */
@media (min-width: 1400px) {
    .nav-container {
        padding: 0 20px;
    }
}