/* =========================================================
   Dr. Dt. Berna Özel Diş Kliniği — tema: mor (varsayılan) / mavi
   Tüm renkler tema değişkenlerinden gelir; bileşenlerde ham hex yok.
   ========================================================= */

/* ---------- Tema tokenları ---------- */
:root,
[data-theme="purple"] {
  --c-primary: #5a1d6e;
  --c-primary-600: #6b2a82;
  --c-primary-800: #43105a;
  --c-primary-900: #2f0a40;
  --c-heading: #4a1559;
  --c-accent: #c9963f;            /* hero ikonları (altın) */
  --c-icon: #6b2a82;              /* bilgi kartı / liste ikonları */
  --c-tint: #f8f2fb;
  --c-tint-2: #efe3f6;
  --c-line: #e8dcef;
  --c-text: #2a2230;
  --c-muted: #5c5463;

  --topbar-bg: linear-gradient(90deg, #3d0e51 0%, #5a1d6e 100%);
  --footer-bg: linear-gradient(120deg, #350b48 0%, #4d1762 55%, #5a1d6e 100%);
  --band-bg: linear-gradient(90deg, #5a1d6e 0%, #7a3593 100%);
  --hero-fade: #f6eefa;
  --why-bg: linear-gradient(120deg, #f6eefa 0%, #ead9f3 100%);

  --logo-1: #f0c46a;
  --logo-2: #b37a22;
  --logo-footer-1: #f0c46a;
  --logo-footer-2: #c48a2c;

  --shadow-color: 80 20 100;
  --modal-tint: rgb(47 10 64 / .5);
}

[data-theme="blue"] {
  --c-primary: #0b4db0;
  --c-primary-600: #1460cc;
  --c-primary-800: #083b8c;
  --c-primary-900: #062258;
  --c-heading: #0a2350;
  --c-accent: #1667dd;
  --c-icon: #1667dd;
  --c-tint: #f1f6fe;
  --c-tint-2: #e2edfc;
  --c-line: #d7e4f6;
  --c-text: #1d2737;
  --c-muted: #4f5b6d;

  --topbar-bg: linear-gradient(90deg, #08285f 0%, #0b4db0 100%);
  --footer-bg: linear-gradient(120deg, #061f52 0%, #0a3a8f 55%, #0b4db0 100%);
  --band-bg: linear-gradient(90deg, #0a3c95 0%, #1366d6 100%);
  --hero-fade: #eff5fe;
  --why-bg: linear-gradient(120deg, #f1f6fe 0%, #dce9fb 100%);

  --logo-1: #5fb2ff;
  --logo-2: #0b4db0;
  --logo-footer-1: #8fcbff;
  --logo-footer-2: #3a8cf0;

  --shadow-color: 10 50 120;
  --modal-tint: rgb(6 34 88 / .5);
}

/* ---------- Genel tokenlar ---------- */
:root {
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-card: 14px;
  --btn-radius: 10px;
  --shadow-sm: 0 4px 14px rgb(var(--shadow-color) / .08);
  --shadow-md: 0 12px 32px rgb(var(--shadow-color) / .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .3s;
  --section-y: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}

/* ---------- Temel ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body, .site-header, .topbar, .site-footer, .cta-band, .btn {
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
::selection { background: var(--c-primary); color: #fff; }
a { color: var(--c-primary); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: .5rem; z-index: 2000;
  background: var(--c-primary); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}


/* ---------- Tipografi ---------- */
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--c-heading);
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.section-lead { color: var(--c-muted); margin-bottom: 1.75rem; max-width: 34ch; }

/* ---------- Butonlar ---------- */
.btn {
  --bs-btn-font-weight: 600;
  font-size: .92rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px;
  padding: .6rem 1.35rem;
}
.btn .bi-arrow-right { transition: transform var(--dur) var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }

.btn-theme {
  background: var(--c-primary);
  color: #fff;
  border: 1px solid var(--c-primary);
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 18px rgb(var(--shadow-color) / .22);
}
/* Hover: koyulaşma + kalkma + buton boyunca geçen ışık şeridi */
.btn-theme {
  background-image: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .28) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 120% 0;
  background-repeat: no-repeat;
  transition: background-color var(--dur) var(--ease), background-position .7s var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-theme:hover, .btn-theme:focus-visible {
  background-color: var(--c-primary-800); border-color: var(--c-primary-800); color: #fff;
  background-position: -20% 0;
  transform: translateY(-2px); box-shadow: 0 12px 24px rgb(var(--shadow-color) / .3);
}
.btn-theme:active { transform: translateY(0); }

.btn-outline-theme {
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
  background: #fff;
  border-radius: var(--btn-radius);
}
.btn-outline-theme:hover, .btn-outline-theme:focus-visible { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-pill { border-radius: 999px; }
.btn-lg-custom { padding: .75rem 1.5rem; }

.btn-white {
  background: #fff; color: var(--c-primary);
  border-radius: 999px; padding: .7rem 2.6rem; font-weight: 700;
}
.btn-white:hover, .btn-white:focus-visible { background: var(--c-tint-2); color: var(--c-primary-800); }

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--topbar-bg);
  color: #fff;
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar-social a:hover { opacity: .8; }
.topbar a:focus-visible, .site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: #fff; }
.topbar-info { gap: 0; }
.topbar-info li { display: flex; align-items: center; gap: .45rem; padding: 0 1rem; }
.topbar-info li:first-child { padding-left: 0; }
.topbar-info li + li { border-left: 1px solid rgb(255 255 255 / .35); }
.topbar-info a { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem 0; }
.topbar-social { gap: .35rem; }
.topbar-social a {
  display: grid; place-items: center; width: 32px; height: 32px; font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgb(var(--shadow-color) / .08); }
.navbar { padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 54px; height: 54px; flex: none; stroke: url(#g-logo); transition: transform .45s var(--ease); }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: rotate(-10deg) scale(1.06); }
img.brand-mark { width: auto; max-width: 220px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; color: var(--c-heading);
}
.brand-sub {
  font-size: 1rem; letter-spacing: .2em; color: var(--c-heading); margin-top: .2rem;
}

.main-menu { gap: .35rem; }
/* Soldan büyüyen alt çizgi: menü, üst bar ve bilgi kartı bağlantılarında ortak hover dili */
.main-menu .nav-link,
.link-grow {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-grow { background-position: 0 100%; }
.link-grow:hover, .link-grow:focus-visible { background-size: 100% 2px; }

.main-menu .nav-link {
  color: var(--c-text);
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem .55rem !important;
  background-position: .55rem calc(100% - .2rem);
}
.main-menu .nav-link.dropdown-toggle::after {
  /* Bootstrap ok işareti yerine Bootstrap Icons chevron */
  content: "\F282"; font-family: "bootstrap-icons"; border: 0;
  margin-left: .3rem; font-size: .7rem; vertical-align: .05em;
  display: inline-block; transition: transform var(--dur) var(--ease);
}
.main-menu .nav-link.dropdown-toggle:hover::after,
.main-menu .nav-link.dropdown-toggle.show::after { transform: rotate(180deg); }
.main-menu .nav-link:hover,
.main-menu .nav-link.active { color: var(--c-primary); }
.main-menu .nav-link:hover,
.main-menu .nav-link:focus-visible,
.main-menu .nav-link.active { background-size: calc(100% - 1.1rem) 2px; }

.dropdown-menu {
  border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow-md); padding: .5rem;
}
.dropdown-item { border-radius: 8px; font-size: .9rem; padding: .5rem .8rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--c-tint); color: var(--c-primary); }

.btn-phone-pill { border-radius: 999px; font-size: .85rem; padding: .45rem 1rem; }
.btn-cta { padding: .55rem 1.4rem; }
.navbar-toggler {
  border: 1px solid var(--c-line); font-size: 1.6rem; color: var(--c-primary); padding: .25rem .6rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-fade);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 7rem;
  min-height: 560px;
}
.hero-img {
  position: absolute; inset: 0 0 0 auto;
  width: 78%; height: 100%;
  object-fit: cover; object-position: 70% 30%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--hero-fade) 0%, var(--hero-fade) 26%, color-mix(in srgb, var(--hero-fade) 70%, transparent) 40%, transparent 58%);
}
.hero .container { z-index: 2; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--c-heading);
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-bottom: 1.1rem;
}
.hero-lead { font-size: 1.08rem; color: var(--c-text); max-width: 46ch; margin-bottom: 1.6rem; }

.hero-features { display: flex; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-features li {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--c-heading);
  padding: 0 1.4rem;
}
.hero-features li:first-child { padding-left: 0; }
.hero-features li + li { border-left: 1px solid var(--c-line); }
.hf-icon { font-size: 2.3rem; color: var(--c-accent); line-height: 1; }
.hf-svg { width: 42px; height: 42px; stroke: currentColor; }

/* ---------- Bilgi kartı ---------- */
.info-strip { position: relative; z-index: 3; margin-top: -4.25rem; }
.info-card {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); padding: 1.25rem .5rem;
}
.info-item {
  display: flex; align-items: center; gap: 1rem; padding: .6rem 1.75rem; position: relative;
}
.info-item + .info-item::before {
  content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--c-line);
}
.info-item > i { font-size: 2.1rem; color: var(--c-icon); line-height: 1; }
.info-item strong { display: block; color: var(--c-heading); font-size: .98rem; }
.info-item span, .info-item a { font-size: .88rem; color: var(--c-muted); text-decoration: none; }
.info-item a:hover { color: var(--c-primary); }
.info-item a { display: inline-block; padding: .3rem 0; }

/* ---------- Hizmetler ---------- */
.services { padding: var(--section-y) 0; }
.service-card {
  position: relative; height: 100%;
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-tint-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-heading); margin-bottom: .45rem; line-height: 1.25; }
.service-body p { font-size: .84rem; color: var(--c-muted); margin-bottom: .6rem; line-height: 1.5; }
.card-arrow {
  margin-top: auto; align-self: flex-end;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--c-primary); font-size: 1.25rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.service-card:hover .card-arrow { background: var(--c-primary); color: #fff; }

/* ---------- Neden biz ---------- */
.why { position: relative; background: var(--why-bg); }
.why-media { min-height: 420px; }
.why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.why-content { position: relative; overflow: hidden; display: flex; align-items: center; }
.why-deco {
  position: absolute; right: -8%; bottom: 4%;
  width: 52%; max-width: 420px; height: auto;
  mix-blend-mode: multiply; opacity: .9;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  pointer-events: none;
}
.why-inner { position: relative; padding: 2.5rem clamp(1.5rem, 3vw, 3rem) 6rem; max-width: 640px; }
.why-list li { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.why-icon {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-icon); font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.why-list h3 { font-size: 1rem; font-weight: 700; color: var(--c-heading); margin: 0 0 .1rem; }
.why-list p { font-size: .9rem; color: var(--c-muted); margin: 0; }

/* ---------- Randevu bandı ---------- */
.cta-band-wrap { position: relative; z-index: 3; margin-top: -3.5rem; }
.cta-band {
  background: var(--band-bg);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgb(var(--shadow-color) / .28);
  padding: 1.4rem 2.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.cta-head { display: flex; align-items: center; gap: 1.25rem; padding-right: 2rem; border-right: 1px solid rgb(255 255 255 / .35); }
.cta-icon { font-size: 2.6rem; line-height: 1; }
.cta-band h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; line-height: 1.2; margin: 0; }
.cta-text { margin: 0; flex: 1; font-size: 1rem; opacity: .95; }

/* ---------- Blog ---------- */
.blog { padding: var(--section-y) 0; }
.blog .section-title { font-size: clamp(1.8rem, 1.2rem + 1.3vw, 2.15rem); text-wrap: wrap; }
.blog-card {
  height: 100%; background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-media { aspect-ratio: 16 / 7.5; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.blog-body time { font-size: .82rem; color: var(--c-primary); font-weight: 600; display: flex; gap: .4rem; align-items: center; margin-bottom: .35rem; }
.blog-body h3 { font-size: 1.08rem; font-weight: 700; color: var(--c-heading); line-height: 1.3; margin-bottom: .5rem; }
.blog-body p { font-size: .84rem; color: var(--c-muted); line-height: 1.5; margin-bottom: .8rem; }
.read-more {
  margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--c-primary);
  display: inline-flex; align-items: center; gap: .4rem; text-underline-offset: 3px;
  align-self: flex-start; min-height: 44px;
}
.read-more:hover { color: var(--c-primary-800); }
.read-more .bi { transition: transform var(--dur) var(--ease); }
.read-more:hover .bi { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgb(255 255 255 / .88); position: relative; font-size: .88rem; }
.footer-top { padding: 3rem 0 2.25rem; }
/* .row'un negatif üst boşluğu footer'dan dışarı taşıp (margin collapse) onu 24px yukarı, son bölümün (ör. iletişim haritası) üstüne çekiyordu. */
.site-footer .footer-top { margin-top: 0; }
.brand-footer { margin-bottom: 1rem; }
.brand-footer .brand-mark { stroke: url(#g-logo-footer); width: 50px; height: 50px; }
.brand-footer .brand-name, .brand-footer .brand-sub { color: #fff; }
.footer-desc { color: rgb(255 255 255 / .82); max-width: 32ch; }
.footer-social a { color: #fff; font-size: 1.35rem; display: grid; place-items: center; width: 36px; height: 36px; }
.footer-social a:hover { color: var(--logo-footer-1); }
.footer-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .1rem; }
.footer-links a { display: inline-block; padding: .2rem 0; }
.footer-links a, .footer-contact a { color: rgb(255 255 255 / .82); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.footer-contact a { display: inline-block; padding: .3rem 0; }
.footer-contact .bi { font-size: 1.05rem; color: #fff; }

.newsletter {
  display: flex; align-items: center; background: #fff; border-radius: 999px; padding: .3rem .3rem .3rem 1.1rem;
}
.newsletter input {
  border: 0; outline: 0; flex: 1; min-width: 0; font-size: .88rem; color: var(--c-text); background: transparent; min-height: 36px;
}
.newsletter button {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--c-primary);
  background: #fff; color: var(--c-primary); font-size: 1.15rem; display: grid; place-items: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.newsletter button:hover { background: var(--c-primary); color: #fff; }
.newsletter:focus-within { box-shadow: 0 0 0 3px rgb(255 255 255 / .45); }
.newsletter-msg { min-height: 1.25rem; margin: .5rem 0 0 .5rem; font-size: .82rem; }

.footer-bottom { border-top: 1px solid rgb(255 255 255 / .15); padding: .9rem 0; font-size: .82rem; }
.legal-links li { padding: 0 1.1rem; }
.legal-links li + li { border-left: 1px solid rgb(255 255 255 / .4); }
.legal-links li:last-child { padding-right: 0; }
.legal-links a { color: #fff; text-decoration: none; display: inline-block; padding: .35rem 0; }
.legal-links a:hover { text-decoration: underline; }

.back-to-top {
  position: absolute; right: 1.25rem; bottom: 3.5rem;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--c-primary-600); color: #fff; font-size: 1.25rem;
  box-shadow: 0 8px 20px rgb(0 0 0 / .25);
  transition: transform var(--dur) var(--ease);
}
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- 404 ---------- */
.notfound { background: var(--hero-fade); display: flex; align-items: center; padding: var(--section-y) 0; }
.notfound-inner { max-width: 640px; }
.notfound-mark { width: 72px; height: 72px; stroke: url(#g-logo); margin-bottom: 1.25rem; }
.notfound-art {
  position: relative; width: min(100%, 380px); aspect-ratio: 1;
  display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 0%, #fff 58%, transparent 100%);
}
.notfound-big { width: 62%; height: 62%; stroke: url(#g-logo); opacity: .9; }
.notfound-code {
  position: absolute; bottom: 6%; font-family: var(--font-display);
  font-size: 4.5rem; line-height: 1; color: var(--c-heading); opacity: .12; letter-spacing: -.02em;
}
.site-footer .footer-bottom:only-child { border-top: 0; }

/* ---------- İç sayfalar ---------- */
.page-hero { background: var(--hero-fade); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem) 0 clamp(1.75rem, 1.2rem + 2vw, 2.75rem); border-bottom: 1px solid var(--c-line); }
.page-title { font-family: var(--font-display); font-weight: 400; color: var(--c-heading); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.12; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.page-breadcrumb { --bs-breadcrumb-divider-color: var(--c-muted); font-size: .84rem; margin: 0 0 .75rem; flex-wrap: wrap; }
.page-breadcrumb a { color: var(--c-muted); text-decoration: none; }
.page-breadcrumb a:hover, .page-breadcrumb a:focus-visible { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.page-breadcrumb .breadcrumb-item.active { color: var(--c-primary); font-weight: 600; overflow-wrap: anywhere; }

.inner-section { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 var(--section-y); }
.inner-lead { max-width: 62ch; font-size: 1.08rem; }
.inner-media { width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); background: var(--c-tint-2); }
.inner-media-wide { max-height: 460px; object-fit: cover; }

.prose { color: var(--c-text); line-height: 1.75; max-width: 72ch; overflow-wrap: anywhere; }
.prose-wide { max-width: 80ch; margin-inline: auto; }
.prose h2 { font-family: var(--font-display); font-weight: 400; color: var(--c-heading); font-size: 1.6rem; margin: 2rem 0 .75rem; }
.prose h3 { color: var(--c-heading); font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.prose a { color: var(--c-primary); text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose table { max-width: 100%; display: block; overflow-x: auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding: 0; }
.gallery-item { margin: 0; border-radius: var(--radius-card); overflow: hidden; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: .65rem .9rem; font-size: .85rem; color: var(--c-muted); }

.side-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-card); padding: 1.35rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.side-card h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--c-heading); margin-bottom: .75rem; }
.side-cta { background: var(--band-bg); border: 0; color: #fff; }
.side-cta h2 { color: #fff; }
.side-cta p { opacity: .92; font-size: .92rem; }
.side-links { margin: 0; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .4rem 0; color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-line); font-weight: 600; font-size: .94rem; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover, .side-links a:focus-visible { color: var(--c-primary); }

.post-wrap { max-width: 780px; margin-inline: auto; }
.post-meta { color: var(--c-primary); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.share-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.share-label { font-weight: 700; color: var(--c-heading); }
.share-list { display: flex; gap: .5rem; margin: 0; padding: 0; }
.share-list a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); font-size: 1.1rem; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.share-list a:hover, .share-list a:focus-visible { background: var(--c-primary); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; border: 1px solid var(--c-line); border-radius: var(--radius-card); text-decoration: none; color: var(--c-heading); font-weight: 700; background: #fff; min-width: 0; }
.post-nav a:hover, .post-nav a:focus-visible { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.post-nav small { color: var(--c-muted); font-weight: 600; }
.post-nav span { overflow-wrap: anywhere; }
.post-nav-next { text-align: right; grid-column: 2; }
.post-nav-prev { grid-column: 1; }

.site-pagination { --bs-pagination-color: var(--c-primary); --bs-pagination-hover-color: var(--c-primary-800); --bs-pagination-active-bg: var(--c-primary); --bs-pagination-active-border-color: var(--c-primary); --bs-pagination-focus-color: var(--c-primary-800); --bs-pagination-border-color: var(--c-line); --bs-pagination-hover-bg: var(--c-tint); gap: .25rem; flex-wrap: wrap; }
.site-pagination .page-link { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px !important; }

@media (max-width: 575.98px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next, .post-nav-prev { grid-column: 1; text-align: left; }
}

/* ---------- Açılır pencere (UiModal / çerez ayarları) ---------- */
.modal-backdrop {
  --bs-backdrop-bg: var(--modal-tint);
  --bs-backdrop-opacity: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ui-modal .modal-content { border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-md); color: var(--c-text); }
.ui-modal .modal-header { border-bottom: 1px solid var(--c-line); gap: .75rem; }
.ui-modal .modal-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--c-heading); margin: 0; }
.ui-modal .modal-header .btn-close { margin-left: auto; }
.ui-modal .modal-footer { border-top: 1px solid var(--c-line); }
.ui-modal-icon { font-size: 1.6rem; line-height: 1; color: var(--c-primary); }
.ui-modal-icon:empty { display: none; }
.ui-modal[data-type="error"] .ui-modal-icon { color: #b3261e; }
.ui-modal[data-type="success"] .ui-modal-icon { color: #1b7a3e; }
.ui-modal-body { white-space: pre-line; }
.cookie-option { padding: .75rem 0; border-top: 1px solid var(--c-line); }
.cookie-option:first-of-type { border-top: 0; }
.cookie-option .form-check-input:checked { background-color: var(--c-primary); border-color: var(--c-primary); }
.cookie-option .form-check-label { font-weight: 700; color: var(--c-heading); }
.cookie-option-desc { margin: .25rem 0 0 2.5em; font-size: .88rem; color: var(--c-muted); }
.cookie-policy-link { color: var(--c-primary); font-size: .9rem; }

/* ---------- Çerez barı ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -8px 30px rgb(var(--shadow-color) / .15);
  padding: 1rem 0;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-bar-text { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; color: var(--c-text); max-width: 70ch; }
.cookie-bar-text strong { color: var(--c-heading); }
.cookie-bar-text a { color: var(--c-primary); }
.cookie-bar-actions { display: flex; flex-wrap: wrap; gap: .6rem; }


/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 1399.98px) {
  .main-menu .nav-link { font-size: .85rem; padding: .5rem .45rem !important; }
  .brand-name { font-size: 1.35rem; }
}

@media (max-width: 1199.98px) {
  .offcanvas-body { display: flex; flex-direction: column; gap: 1.25rem; }
  .main-menu { margin: 0 !important; }
  .main-menu .nav-link { font-size: 1rem; padding: .7rem .25rem !important; background-position: .25rem calc(100% - .35rem); }
  .main-menu .nav-link:hover,
  .main-menu .nav-link:focus-visible,
  .main-menu .nav-link.active { background-size: 2.5rem 2px; }
  .header-actions { flex-wrap: wrap; }
}

@media (max-width: 991.98px) {
  .hero { padding: 0 0 5.5rem; min-height: 0; }
  .hero::before { display: none; }
  .hero-img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; object-position: 100% 30%; }
  .hero-content { padding-top: 2rem; }
  .info-item:nth-child(3)::before { display: none; }
  .info-item { padding: .8rem 1rem; }
  .why-media { min-height: 0; aspect-ratio: 16 / 9; }
  .why-inner { padding: 2.5rem 1.25rem 6rem; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
  .cta-head { border-right: 0; padding-right: 0; }
  /* Mobilde footer'ın üst kenarına oturur; telif satırıyla çakışmaz */
  .back-to-top { top: -23px; bottom: auto; }
  .section-lead { max-width: 60ch; }
}

@media (max-width: 575.98px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1.15rem; }
  .brand-sub { font-size: .85rem; }
  .topbar-social a { width: 28px; height: 28px; font-size: .95rem; }
  .hero-features li { padding: 0 .8rem; font-size: .82rem; gap: .5rem; }
  .hf-icon { font-size: 1.8rem; }
  .hf-svg { width: 32px; height: 32px; }
  .info-item { flex-direction: column; align-items: flex-start; gap: .5rem; padding: .75rem; }
  .info-item > i { font-size: 1.6rem; }
  .info-item span, .info-item a { font-size: .8rem; }
  .why-deco { width: 70%; opacity: .45; }
  .legal-links li { padding: 0 .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Bot tuzağı (honeypot): ekran dışında, erişilebilirlik ağacında yok ---------- */
.bo-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- İletişim sayfası ---------- */
.contact-intro { max-width: 60ch; color: var(--c-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.contact-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
}
.contact-card-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--c-heading); margin-bottom: 1.1rem; }
.contact-list { margin: 0 0 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: .7rem 0; }
.contact-list li + li { border-top: 1px solid var(--c-line); }
.contact-list .bi { font-size: 1.4rem; color: var(--c-icon); line-height: 1.2; flex: none; }
.contact-list strong { display: block; color: var(--c-heading); font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--c-muted); font-size: .95rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding: .25rem 0; }
.contact-list a:hover { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-social a { color: var(--c-primary); font-size: 1.35rem; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-tint); }
.contact-social a:hover { background: var(--c-primary); color: #fff; }
/* Tam genişlik (kenardan kenara) harita: bölümün altında, footer'a kadar. */
.contact-map { width: 100%; height: clamp(320px, 55vh, 560px); line-height: 0; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form-card .form-label { font-weight: 600; color: var(--c-heading); font-size: .9rem; }
.contact-form-card .req { color: #b42318; }
.contact-form-card .form-control { border-color: var(--c-line); border-radius: var(--btn-radius); padding: .7rem .9rem; }
.contact-form-card .form-control:focus { border-color: var(--c-primary); box-shadow: 0 0 0 .2rem rgb(var(--shadow-color) / .18); }
.field-error { color: #b42318; font-size: .84rem; margin: .3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
.newsletter-msg:empty { min-height: 1.25rem; }
@media (max-width: 575.98px) {
  .contact-form-card .btn { width: 100%; }
}

/* ---------- Randevu sayfası ---------- */
/* Üç adım: masaüstünde yan yana, <992px alt alta. Kilitli adımda içerik gizlenir, ipucu görünür. */
.appt-wrap { max-width: 1680px; padding-inline: clamp(1rem, 3vw, 3rem); }
.appt-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 992px) {
  .appt-steps { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(1rem, 1.5vw, 1.75rem); }
}
.appt-panel { container-type: inline-size; scroll-margin-top: 6rem; transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.appt-panel-title { outline: none; }
.appt-locked-hint { display: none; margin: 0; color: var(--c-muted); font-size: .95rem; }
.appt-locked-hint .bi { margin-right: .35rem; }
.appt-panel.is-locked { background: var(--c-tint); border-style: dashed; box-shadow: none; opacity: .75; }
.appt-panel.is-locked .appt-panel-title { color: var(--c-muted); margin-bottom: .5rem; }
.appt-panel.is-locked .appt-panel-body { display: none; }
.appt-panel.is-locked .appt-locked-hint { display: block; }
@media (min-width: 992px) {
  .appt-panel.is-locked { min-height: 22rem; }
}
.appt-panel.is-revealed { animation: appt-reveal .38s var(--ease) both; }
@keyframes appt-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.appt-cal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.appt-cal-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--c-heading); margin: 0; text-transform: capitalize; text-align: center; flex: 1; }
.appt-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-tint);
  color: var(--c-primary); display: inline-grid; place-items: center; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.appt-nav:hover:not(:disabled), .appt-nav:focus-visible { background: var(--c-primary); color: #fff; }
.appt-nav:disabled { opacity: .35; cursor: not-allowed; }
.appt-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.appt-wd { text-align: center; font-size: .75rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; padding: .25rem 0; }
.appt-day {
  aspect-ratio: 1.25; min-height: 40px; border: 1px solid transparent; border-radius: 10px; background: #fff;
  font-weight: 600; font-size: .95rem; color: var(--c-text); position: relative;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.appt-day.is-open { background: var(--c-tint); border-color: var(--c-line); color: var(--c-primary); }
.appt-day.is-open:hover { border-color: var(--c-primary); background: var(--c-tint-2); }
.appt-day.is-full { background: repeating-linear-gradient(135deg, #fbeceb, #fbeceb 4px, #fff 4px, #fff 8px); border-color: #efc4c0; color: #8c2a22; }
.appt-day.is-closed { background: #f1f0f2; color: #9a95a0; cursor: not-allowed; }
.appt-day.is-skeleton { background: linear-gradient(90deg, #f1edf4 25%, #e8e1ed 50%, #f1edf4 75%); background-size: 200% 100%; animation: appt-shimmer 1.2s linear infinite; color: transparent; }
.appt-day.is-selected { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.appt-day[data-today]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--c-accent); }
.appt-day:focus-visible, .appt-chip:focus-visible, .appt-nav:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.appt-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0 0; font-size: .85rem; color: var(--c-muted); }
.appt-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.appt-dot { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--c-line); display: inline-block; }
.appt-dot.is-open { background: var(--c-tint-2); }
.appt-dot.is-full { background: #f6cfcb; border-color: #efc4c0; }
.appt-dot.is-closed { background: #e3e1e6; }
.appt-slot-status { color: var(--c-muted); font-size: .92rem; margin-bottom: .75rem; }
.appt-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.appt-chip {
  min-width: 0; min-height: 44px; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--c-primary);
  background: #fff; color: var(--c-primary); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.appt-chip:hover:not(.is-disabled):not(.is-skeleton):not(.is-selected) { background: var(--c-tint-2); }
.appt-chip.is-selected { background: var(--c-primary); color: #fff; }
.appt-chip.is-disabled { border-color: var(--c-line); background: #f1f0f2; color: #9a95a0; cursor: not-allowed; }
.appt-chip.is-booked { text-decoration: line-through; }
.appt-chip.is-skeleton { border-color: transparent; background: linear-gradient(90deg, #f1edf4 25%, #e8e1ed 50%, #f1edf4 75%); background-size: 200% 100%; animation: appt-shimmer 1.2s linear infinite; }
.appt-summary { background: var(--c-tint); border: 1px solid var(--c-line); border-radius: var(--btn-radius); padding: .75rem 1rem; margin-bottom: 1.1rem; }
.appt-summary-label { display: block; font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.appt-summary strong { color: var(--c-heading); }
.appt-phone { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .5rem; }
.appt-phone .form-select { border-color: var(--c-line); border-radius: var(--btn-radius); padding: .7rem .6rem; }
.appt-consent { font-size: .9rem; color: var(--c-muted); }
.appt-consent .form-check-input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; }
.appt-consent .form-check-input:checked { background-color: var(--c-primary); border-color: var(--c-primary); }
.appt-consent a { color: var(--c-primary); }
@keyframes appt-shimmer { to { background-position: -200% 0; } }
/* Panel genişliğine göre (dar sütun veya telefon) sıkılaştırma. */
@container (max-width: 380px) {
  .appt-phone { grid-template-columns: 1fr; }
  .appt-grid { gap: 3px; }
  .appt-day { aspect-ratio: 1; min-height: 38px; font-size: .9rem; }
  .appt-chip { padding-inline: .4rem; }
  .appt-panel .btn { width: 100%; }
}
@media (max-width: 575.98px) {
  .appt-section .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .appt-day.is-skeleton, .appt-chip.is-skeleton, .appt-panel.is-revealed { animation: none; }
}
