/* ==========================================================================
   Yerleşim — Header · Navigasyon · Footer · Sabit aksiyonlar
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ÜST ŞERİT
   -------------------------------------------------------------------------- */
/* V2: şerit LOGO KOYU MAVİSİNDEN başlayıp soldan sağa açılıyor (--grad-deep).
   V1'de --bys-600 ile başlıyordu; koyu ucu logonun kendi rengine çekmek geçişi
   belirginleştirdi ve 2. rengi sitenin en üstünde bir kez gösteriyor.

   AÇIK UCUN SINIRINI DÜĞME BELİRLİYOR: "Randevu Al" beyaz .08 dolgu taşıdığı için
   zemini bir tık daha açıyor. #3A68C5'te düğme metni 4.53 — bir kademe açığında
   (#3C6BC8) 4.37'ye düşüp eşiğin altına iniyor. Bar metni orada 5.29.

   Logonun açık mavisine (#98B9E2) yaklaşmak beyaz metinle mümkün değil: orada
   beyaz 2.02 veriyor. Daha açık bir bar istenirse metin laciverte çevrilmeli. */
.topbar {
  background: var(--grad-deep);
  color: #fff;
  font-size: .85rem;
  padding-block: .5rem;
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__left  { display: flex; align-items: center; gap: 1.6rem; min-width: 0; }
.topbar__right { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }

/* Üst şeritteki Randevu Al — sosyal medya çiplerinin dolgusuyla aynı (beyaz .08),
   ince beyaz kenarlık, beyaz metin. Kenarlık .7 alfada: .28'de bardan ayrımı
   1.97'ye düşüp düğmenin sınırı seçilmiyordu, .7 ile 3.3 veriyor. */
/* Özgüllük notu: `.topbar a { color: inherit }` (0,1,1) düz `.topbar__cta`yı (0,1,0)
   eziyor ve metni beyaza çeviriyordu (1.69:1). Bu yüzden seçici .topbar ile niteleniyor. */
.topbar .topbar__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .7);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: .82rem;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease);
}
.topbar .topbar__cta:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-1px); }
.topbar .topbar__cta svg { flex: 0 0 auto; }
.topbar a { color: inherit; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }

.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 15px; height: 15px; color: var(--bys-200); flex: 0 0 auto; }

.topbar__social { display: inline-flex; gap: .35rem; }
.topbar__social a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  transition: background .2s, transform .2s;
}
.topbar__social a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.topbar__social svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   2. BAŞLIK / NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  /* Düz beyaz değil: yukarıdan aşağı çok hafif maviye açılan saydam geçiş */
  background-image: linear-gradient(180deg,
    rgba(255, 255, 255, .95) 0%, rgba(233, 241, 251, .92) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Başlığın altındaki gradyan saç teli — her sayfada mavi geçişi tekrar eder */
.site-header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg,
    var(--bys-700) 0%, var(--bys-500) 38%, var(--bys-300) 72%, transparent 100%);
  opacity: .9; pointer-events: none;
}
.site-header.is-stuck {
  box-shadow: 0 4px 20px -8px rgba(20, 35, 71, .16);
  border-bottom-color: var(--line);
}

.navbar-main {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  padding-block: .7rem; min-height: var(--nav-h);
}

/* ── LOGO KİLİDİ (2026-08-18) ──
   Eskiden tek parça PNG'ydi (5.9:1, 4 satır). Artık amblem PNG + gerçek metin:
   ölçek ve renk CSS'ten yönetiliyor, her ekranda net kalıyor, footer'a slogan
   satırı eklemek ayrı dosya gerektirmiyor.

   --lh  : nominal ölçek (tüm ölçüler buna oranlı)
   --emb : amblemin --lh'ye oranı. 0.80'de kilit daha minimal duruyor;
           1.00 eski orandı ve amblem metni eziyordu. */
.brand-link {
  display: inline-flex; align-items: center;
  text-decoration: none;
  --lh: 46px; --emb: .80;
  transition: --lh .3s var(--ease);
}
.brand-lock { display: inline-flex; align-items: center; gap: calc(var(--lh) * .19); line-height: 1; }
.brand-lock__mark { height: calc(var(--lh) * var(--emb)); width: auto; display: block; }
.brand-lock__txt  { display: flex; flex-direction: column; gap: calc(var(--lh) * .085); }
.brand-lock__kick {
  font-family: 'Manrope', sans-serif; font-weight: 600;
  font-size: calc(var(--lh) * .165);
  letter-spacing: .30em; text-indent: .30em;
  color: var(--bys-700);
}
.brand-lock__name {
  font-family: 'Lora', Georgia, serif; font-weight: 600;
  font-size: calc(var(--lh) * .345);
  letter-spacing: .04em; text-indent: .04em;
  color: var(--bys-700);
  white-space: nowrap;
}
.brand-lock__tag {
  font-family: 'Lora', Georgia, serif; font-weight: 600;
  font-size: calc(var(--lh) * .155);
  letter-spacing: .13em; text-indent: .13em;
  margin-top: calc(var(--lh) * .02);
}

.is-stuck .brand-link { --lh: 42px; }

@media (max-width: 991.98px) { .brand-link { --lh: 42px; } }
@media (max-width: 575.98px) { .brand-link { --lh: 38px; } }
@media (max-width: 359.98px) { .brand-link { --lh: 34px; } }

/* --------------------------------------------------------------------------
   3. SABİT NAVİGASYON
   Offcanvas panel kaldırıldı (2026-08-18): gezinme 3 bağlantıya indiği için
   başlığa sığıyor, açılır menüye gerek kalmadı.
   -------------------------------------------------------------------------- */
.nav-main { display: flex; align-items: center; gap: .25rem; }
.nav-main__link {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: .97rem;
  color: var(--ink-900);
  text-decoration: none;
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-main__link:hover {
  background-image: linear-gradient(180deg, var(--bys-100), var(--bys-50));
  color: var(--bys-700);
}
/* Aktif sayfa: koyu mavi metin, açık mavi gradyan dolgu → en koyu durakta 6.84 */
.nav-main__link.active {
  background-image: var(--grad-act-soft);
  color: var(--bys-700);
}

/* Dar ekranda bağlantılar logonun altına, ortalanmış kendi satırına iner:
   logo (5.9:1 oranında) + 3 bağlantı 768 px altında tek satıra sığmıyor. */
@media (max-width: 767.98px) {
  .nav-main {
    width: 100%; justify-content: center; gap: .1rem;
    border-top: 1px solid var(--line);
    margin-top: .5rem; padding-top: .5rem;
  }
  .nav-main__link { font-size: .92rem; padding: .45rem .75rem; }
}


/* --------------------------------------------------------------------------
   4. SAYFA BAŞLIĞI BANDI (iç sayfalar)
   -------------------------------------------------------------------------- */
/* V2: bant tek bir açık mavi-yeşil karışımı değil, MAVİNİN KENDİ İÇİNDE
   koyulaşan bir geçiş (--grad-band). Yön bilinçli: metnin durduğu sol üst
   AÇIK, madalyonun durduğu sağ alt logonun açık mavisi (#98B9E2).
   Ölçüm: h1 (bys-700) en koyu durakta 4.87 · gövde (ink-700) 5.11 — ikisi AA. */
.page-head {
  position: relative;
  background: var(--grad-band);
  color: var(--ink-700);
  /* 2026-08-18: bant çok yüksekti. Dolgu 80px → 30px indirildi ve breadcrumb
     kaldırıldı; bant 337px → ~197px. Daha aşağısı dolguyla mümkün değil:
     kalan yüksekliğin ~130px'i h1 + paragrafın kendisi. */
  padding-block: clamp(1.15rem, 2.2vw, 1.9rem);
  overflow: hidden;
}
.page-head::after {
  content: '';
  position: absolute; inset: 0;
  /* Beyaz ışık sol üstte metni AÇIKLATIR, yeşil vurgu sağ altta —
     3. renk metinden uzakta duruyor, kontrastı düşürmüyor. */
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .70), transparent 58%),
    radial-gradient(circle at 96% 92%, rgba(16, 113, 95, .14), transparent 48%);
  pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { color: var(--bys-700); margin-bottom: .75rem; }
/* 62ch klasik okunabilirlik sınırıydı ama bantta sağda 550px boş kalıyordu.
   86ch: İletişim paragrafı tek satıra düşüyor (eşik 84ch, pay bırakıldı),
   Tedaviler paragrafı 2 satır kalıyor — o metin sınırsız genişlikte bile
   tek satıra sığmıyor (1216px'te de 2 satır). */
.page-head p { color: var(--ink-700); max-width: 86ch; }

/* Breadcrumb */
.breadcrumb-brand { font-size: .88rem; margin-bottom: 1.1rem; }
.breadcrumb-brand a { color: var(--bys-600); text-decoration: none; }
.breadcrumb-brand a:hover { color: var(--bys-800); text-decoration: underline; }
.breadcrumb-brand .sep { color: var(--ink-400); margin-inline: .5rem; }
.breadcrumb-brand .current { color: var(--ink-500); }

/* --------------------------------------------------------------------------
   5. CTA BANDI
   -------------------------------------------------------------------------- */
/* V2: yeşil→mavi karışımı yerine mavinin kendi içinde koyulaşan geçiş.
   Metin solda açık uçta duruyor; sağ uç logonun açık mavisine iniyor. */
.cta-band {
  position: relative;
  background: linear-gradient(120deg,
    #F5F9FD 0%, var(--bys-150) 32%, var(--bys-250) 72%, var(--bys-300) 100%);
  color: var(--ink-700);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: var(--bys-700); }
.cta-band p  { color: var(--ink-700); }
.cta-band > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   6. FOOTER
   -------------------------------------------------------------------------- */
/* Sitenin TEK koyu yüzeyi. V2'de düz iki tonlu değil, logo lacivertinden
   (--bys-700) gece mavisine (--bys-950) çapraz geçiş: koyu mavi ekranda
   yalnız burada tam gücüyle görünüyor.
   Ölçüm: gövde metni (beyaz .68) EN AÇIK durakta 5.51 — AA. */
.site-footer {
  background: var(--grad-footer);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .94rem;
}
.site-footer h5 {
  color: #fff; font-size: 1rem;
  margin-bottom: 1.15rem; letter-spacing: -.01em;
}
.site-footer__brand .brand-lock { --lh: 54px; --emb: .80; margin-bottom: 1.1rem; }
.site-footer__brand .brand-lock__kick,
.site-footer__brand .brand-lock__name { color: #fff; }
/* Slogan beyazın .66'sı: bys-950 üzerinde 8.6:1 */
.site-footer__brand .brand-lock__tag  { color: rgba(255, 255, 255, .66); }

@media (max-width: 575.98px) { .site-footer__brand .brand-lock { --lh: 46px; } }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .6rem; }
.footer-links a {
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  transition: color .2s, padding-left .2s;
  display: inline-block;
}
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact li + li { margin-top: .85rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--bys-300); flex: 0 0 auto; margin-top: .22rem; }
.footer-contact a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; gap: .55rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .8);
  transition: background .25s, transform .25s, color .25s;
}
.footer-social a:hover {
  background-image: linear-gradient(135deg, var(--bys-500), var(--bys-700));
  color: #fff; transform: translateY(-3px);
}
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.35rem;
  font-size: .87rem;
  color: rgba(255, 255, 255, .5);
}
.footer-legal {
  margin-top: .7rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem .55rem;
  font-size: .82rem;
}
.footer-legal .sep { color: rgba(255, 255, 255, .3); }
@media (min-width: 768px) { .footer-legal { justify-content: flex-start; } }

.footer-bottom a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   7. SABİT AKSİYONLAR
   -------------------------------------------------------------------------- */

/* WhatsApp yüzen buton — tablet ve üstü */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem;
  z-index: 1040;
  width: 58px; height: 58px;
  display: none; place-items: center;
  border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .65); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; border: 2px solid #25D366;
  animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (min-width: 768px) { .wa-float { display: grid; } }

/* Mobil alt aksiyon çubuğu */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 1040;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px -8px rgba(20, 35, 71, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .65rem .3rem;
  color: var(--ink-700); text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: .74rem; font-weight: 700;
}
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar svg { width: 21px; height: 21px; color: var(--bys-700); }
/* Ortadaki öğe WhatsApp — 3. renk (klinik yeşili) burada kalıyor:
   hem kanal ayrımını taşıyor hem yeşili küçük dozda görünür tutuyor. */
.mobile-bar a.is-action svg { color: var(--acc); }
.mobile-bar a:active { background: var(--bys-100); }

@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767.98px) { body { padding-bottom: 66px; } }

/* Yukarı çık */
.to-top {
  position: fixed; right: 1.4rem; bottom: 5.6rem;
  z-index: 1039;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: var(--bys-700);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); color: var(--bys-700); }
.to-top svg { width: 19px; height: 19px; }
@media (max-width: 767.98px) { .to-top { display: none; } }
