/* A.H.U. — dil seçici, mobil giriş düğmeleri ve çok dilli ayarlar (tüm sayfalar) */

/* ---------- üst çubuk sağ grup ---------- */
.ust-eylem { display:flex; align-items:center; gap:10px; margin-left:auto; }
.nav-links + .ust-eylem { margin-left:14px; }

/* Dil seçici */
.dil-secici { position:relative; }
.dil-dugme { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 12px; border:1.5px solid rgba(139,31,168,.22); border-radius:999px; background:#fff; color:#5E1272; font:800 13px/1 'Nunito',system-ui,sans-serif; letter-spacing:.04em; cursor:pointer; transition:border-color .2s, background .2s; }
.dil-dugme:hover, .dil-dugme[aria-expanded="true"] { border-color:#8B1FA8; background:#F5E8FA; }
.dil-dugme:focus-visible, .dil-liste button:focus-visible, .mob-giris:focus-visible { outline:2px solid #8B1FA8; outline-offset:2px; }
.dil-kure { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; }
.dil-liste { position:absolute; top:calc(100% + 8px); right:0; z-index:1200; min-width:180px; margin:0; padding:6px; list-style:none; background:#fff; border-radius:14px; box-shadow:0 12px 28px rgba(30,10,45,.14), 0 2px 6px rgba(30,10,45,.06); border:1px solid rgba(139,31,168,.1); }
.dil-liste[hidden] { display:none; }
.dil-liste li { margin:0; }
.dil-liste button { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; border:0; border-radius:9px; background:none; color:#1E1E1E; font:600 15px/1.2 'Nunito',system-ui,sans-serif; text-align:start; cursor:pointer; }
.dil-liste button[lang="ar"] { font-family:'Noto Sans Arabic','Segoe UI',Tahoma,sans-serif; }
.dil-liste button[lang="zh"] { font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; }
.dil-liste button:hover { background:#F5E8FA; color:#8B1FA8; }
.dil-liste button[aria-current="true"] { color:#8B1FA8; font-weight:800; }
.dil-liste button[aria-current="true"]::after { content:''; width:7px; height:7px; border-radius:50%; background:#8B1FA8; }

/* Mobil "Giriş" düğmesi: geniş ekranda menüde zaten var */
.mob-giris { display:none; align-items:center; gap:6px; height:40px; padding:0 15px; border-radius:999px; background:#8B1FA8; color:#fff !important; font:800 14px/1 'Nunito',system-ui,sans-serif; text-decoration:none; white-space:nowrap; box-shadow:0 6px 16px -6px rgba(139,31,168,.6); }
.mob-giris .ico { width:16px; height:16px; }
.mob-giris:hover { background:#A93CC7; }

/* Mobil menünün başındaki hesap düğmeleri */
.mobile-menu-links .mm-hesap { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 12px; padding:0 0 14px; border-bottom:1px solid rgba(139,31,168,.12); list-style:none; }
.mobile-menu-links .mm-hesap a { display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:14px 8px !important; border-radius:14px !important; border:0 !important; font-size:14.5px !important; font-weight:800 !important; text-align:center; line-height:1.2; }
.mobile-menu-links .mm-hesap .ico { width:20px; height:20px; }
.mobile-menu-links .mm-giris { background:#8B1FA8 !important; color:#fff !important; }
.mobile-menu-links .mm-kayit { background:#F5E8FA !important; color:#5E1272 !important; box-shadow:inset 0 0 0 1.5px rgba(139,31,168,.25); }
.mobile-menu-links .mm-hesap.tek { grid-template-columns:1fr; }

/* Ana sayfa randevu kartı: Kayıt Ol belirgin, Giriş ikincil */
.hesap-ikili { display:grid !important; grid-template-columns:1fr 1fr; gap:10px; margin-top:6px; }
.hesap-ikili a { display:flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 14px; border-radius:12px; font:800 15px/1.2 'Nunito',system-ui,sans-serif; text-decoration:none; text-align:center; transition:transform .2s, box-shadow .2s, background .2s; }
.hesap-ikili .btn-kayit { background:#fff; color:#5E1272; box-shadow:0 10px 24px -10px rgba(20,0,30,.55); }
.hesap-ikili .btn-kayit:hover { transform:translateY(-2px); background:#FFF6FD; }
.hesap-ikili .btn-giris2 { background:rgba(255,255,255,.12); color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6); }
.hesap-ikili .btn-giris2:hover { background:rgba(255,255,255,.22); }
.hesap-ikili .ico { width:17px; height:17px; }
.hesap-not { margin-top:10px; font-size:12.5px; color:rgba(255,255,255,.82); }

/* Tarayıcı dili önerisi */
.dil-oneri { position:fixed; left:16px; right:16px; bottom:16px; z-index:1300; display:flex; align-items:center; gap:10px; flex-wrap:wrap; max-width:560px; margin:0 auto; padding:12px 44px 12px 16px; background:#2A0E33; color:#fff; border-radius:16px; box-shadow:0 18px 40px -12px rgba(20,0,30,.6); font:600 14px/1.4 'Nunito',system-ui,sans-serif; }
.dil-oneri span { flex:1 1 200px; }
.dil-oneri-evet { border:0; border-radius:999px; padding:9px 14px; background:#fff; color:#5E1272; font:800 13.5px/1 'Nunito',system-ui,sans-serif; cursor:pointer; }
.dil-oneri-kapat { position:absolute; top:6px; right:6px; border:0; background:none; color:#fff; opacity:.75; font-size:22px; line-height:1; cursor:pointer; padding:4px 6px; }

/* ---------- mobil yerleşim ---------- */
@media (max-width:1080px) {
  .mob-giris { display:inline-flex; }
  .ust-eylem { gap:8px; }
  .nav-links + .ust-eylem { margin-left:auto; }
}
@media (max-width:640px) {
  /* Üst bilgi şeridi tek satır: telefon + 7/24 */
  .topbar { padding:6px 0 !important; }
  .topbar-inner { flex-direction:row !important; justify-content:center !important; gap:10px !important; padding:0 12px !important; }
  .topbar-links { gap:8px !important; }
  .topbar-links > :not(:first-child) { display:none !important; }
  .topbar-inner > div:last-child > span:first-child { display:none; }
  /* Logo görselindeki beyaz boşluğu kırp: yazı ve amblem daha büyük görünsün */
  nav .logo img, .site-nav .logo img { width:128px !important; height:54px !important; max-width:none; object-fit:cover; object-position:49% 53%; }
  .nav-inner { gap:8px !important; padding:0 12px !important; }
  .dil-dugme { padding:0 10px; height:38px; }
  .mob-giris { height:38px; padding:0 13px; font-size:13.5px; }
  .hamburger, .burger { padding:6px !important; }
  .hesap-ikili { grid-template-columns:1fr; }
}
@media (max-width:360px) {
  .dil-dugme .dil-kod { display:none; }
}

/* ---------- Arapça (sağdan sola) ve Çince ---------- */
html[lang="ar"] body { font-family:'Noto Sans Arabic','Segoe UI',Tahoma,sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .hero-title, html[lang="ar"] .section-title, html[lang="ar"] .form-title { font-family:'Noto Naskh Arabic','Noto Sans Arabic',serif !important; letter-spacing:0 !important; }
html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea, html[lang="ar"] a { font-family:inherit; letter-spacing:0 !important; }
html[lang="zh"] body { font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] .hero-title, html[lang="zh"] .section-title, html[lang="zh"] .form-title { font-family:'Noto Serif SC','Songti SC',serif !important; letter-spacing:0 !important; }
html[lang="ar"] em, html[lang="zh"] em, html[lang="ar"] i, html[lang="zh"] i { font-style:normal; }
html[lang="ar"] *, html[lang="zh"] * { text-transform:none !important; }
html[dir="rtl"] .dil-liste { right:auto; left:0; }
html[dir="rtl"] .ust-eylem { margin-left:0; margin-right:auto; }
html[dir="rtl"] .nav-links + .ust-eylem { margin-left:0; margin-right:14px; }
@media (max-width:1080px) { html[dir="rtl"] .nav-links + .ust-eylem { margin-right:auto; } }
html[dir="rtl"] .dil-oneri { padding:12px 16px 12px 44px; }
html[dir="rtl"] .dil-oneri-kapat, .dil-oneri[dir="rtl"] .dil-oneri-kapat { right:auto; left:6px; }
/* Telefon numaraları ve e-posta soldan sağa kalsın */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction:ltr; unicode-bidi:isolate; }
/* Sağdan sola düzende WhatsApp düğmesi sola geçsin, içerik üstüne binmesin */
html[dir="rtl"] .wa-float { right:auto !important; left:24px; }
html[dir="rtl"] .wa-tooltip { right:auto !important; left:90px; }
@media (max-width:640px) { html[dir="rtl"] .wa-float { left:16px; } }
/* Geniş ekranda dil düğmesi menünün hemen yanında dursun */
@media (min-width:1025px) {
  .nav-inner > .nav-links { margin-left:auto; }
  html[dir="rtl"] .nav-inner > .nav-links { margin-left:0; margin-right:auto; }
}

/* ---------- panelden yönetilen içerik ---------- */
.site-duyuru { position:relative; z-index:1001; font:600 14px/1.45 'Nunito',system-ui,sans-serif; }
.site-duyuru-ic { max-width:1200px; margin:0 auto; padding:10px 48px 10px 20px; text-align:center; }
.site-duyuru.tur-bilgi { background:#4A1442; color:#fff; }
.site-duyuru.tur-onemli { background:#FFF1CC; color:#5C3B00; border-bottom:1px solid #F0D58A; }
.site-duyuru.tur-acil { background:#B42318; color:#fff; }
.site-duyuru a { color:inherit; font-weight:800; text-decoration:underline; text-underline-offset:3px; margin-left:4px; white-space:nowrap; }
.site-duyuru-kapat { position:absolute; top:50%; right:10px; transform:translateY(-50%); width:32px; height:32px; border:0; border-radius:50%; background:transparent; color:inherit; font-size:22px; line-height:1; cursor:pointer; opacity:.8; }
.site-duyuru-kapat:hover { opacity:1; background:rgba(255,255,255,.15); }
.site-duyuru-kapat:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
html[dir="rtl"] .site-duyuru-ic { padding:10px 20px 10px 48px; }
html[dir="rtl"] .site-duyuru-kapat { right:auto; left:10px; }
@media (max-width:640px) { .site-duyuru { font-size:13px; } .site-duyuru-ic { padding:9px 44px 9px 14px; } }
/* Biyografide paragraflar korunsun; uzun SSS cevapları kesilmesin */
#bioModalText { white-space:pre-line; }
.faq-item.open .faq-a { max-height:1200px; }
.team-row[role="button"]:focus-visible { outline:2px solid #8B1FA8; outline-offset:3px; }
/* Panelden gizlenen bölümler kesin gizlensin */
section[hidden], footer[hidden], header[hidden], body > div[hidden], .team-list[hidden], .team-divider[hidden] { display:none !important; }
