:root {
    --border-radius-pill: 999px;
    --border-color: #dde1e7;
    --bg-light: #ffffff;
    --text-main: #0a4b8d;
    --text-muted: #7a7f8a;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.12);
    --transition-fast: 0.18s ease-out;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
}

/* Genel font istersen (opsiyonel) */
body {
    font-family: "Roboto", sans-serif;
}

.lang-wrapper,
.lang-wrapper * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Ana kapsayıcı */
.lang-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Şu anki dil butonu */
.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    backdrop-filter: blur(10px);
    transition: box-shadow var(--transition-fast),
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.lang-current:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
    transform: translateY(-1px);
    border-color: #cfd5e3;
    background-color: #ffffff;
}

.lang-current:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.flag-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.chevron {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 2px;
    transition: transform var(--transition-fast);
}

.lang-wrapper.open .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.lang-dropdown {
    position: absolute;
    top: 36px;
    left: 0;
    margin-top: 8px;
    min-width: 120px;
    background: var(--bg-light);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 6px 0;
    display: none;
    z-index: 1000;
}

/* Açıkken göster */
.lang-wrapper.open .lang-dropdown {
    display: block;
}

/* baloncuk ucu */
.lang-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: var(--bg-light);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.06);
    z-index: -1;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    transition: background-color var(--transition-fast),
        transform var(--transition-fast);
}

.lang-option span.code {
    font-weight: 500;
}

.lang-option span.label {
    font-size: 13px;
    color: var(--text-muted);
}

.lang-option:hover {
    background-color: #f3f5fb;
    transform: translateY(-1px);
}

/* İletişim butonu */
.btn-contact {
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 8px 18px;
    background: #ffffff;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    font-weight: 500;
    transition: background-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn-contact:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.btn-contact:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

@media (max-width: 480px) {
    .lang-wrapper {
        transform: scale(0.95);
    }
}

.lang-current {
    outline: none;
}

.lang-current:focus,
.lang-current:focus-visible {
    outline: none;
}