/* =========================================================
   NAVBAR - Sabit ust bar, yer imleri, CV butonu ve dil secici
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    background: rgba(14, 15, 18, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    min-height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-brand-accent {
    color: var(--accent);
}

.nav-brand:hover {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: #fff;
    background-color: rgba(255, 62, 62, 0.14);
}

/* Sağ taraftaki aksiyonlar: CV ve dil seçici aynı yükseklikte ve simetrik */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-cv-btn {
    height: 36px;
    padding: 0 15px;
    box-sizing: border-box;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 62, 62, 0.38);
    color: #ff6b6b;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.nav-cv-btn .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
    flex-shrink: 0;
}

.nav-cv-btn:hover {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* --- LANGUAGE SWITCH --- */
.lang-switch {
    height: 36px;
    padding: 3px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.lang-switch a {
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-switch a:hover {
    color: #fff;
}

.lang-switch a.active {
    background-color: var(--accent);
    color: #fff;
}
