/* ═══════════════════════════════════════════════════════════
   Dt. Muhammed Furkan Pazar — style.css
   Mobil öncelikli; genişletmeler min-width media query ile.
   Palet: yalnızca antrasit + beyaz/gri (vurgu rengi yok).
   ═══════════════════════════════════════════════════════════ */

:root {
  /* renk */
  --ink: #232b36;          /* antrasit — logo rengi */
  --ink-soft: #39424e;
  --ink-faint: #232b360f;  /* %6 antrasit — zemin tonu */
  --bg: #f6f7f8;
  --surface: #ffffff;
  --line: #e3e6e9;
  --muted: #667080;
  --on-dark: #f2f4f6;
  --on-dark-muted: #a9b2bc;

  /* tipografi */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2rem, 6.5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 4vw, 2.25rem);
  --fs-h3: 1.0625rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* ritim */
  --space-section: clamp(4rem, 10vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 72rem;

  --shadow-soft: 0 1px 2px #232b360a, 0 8px 24px #232b360d;
  --shadow-lift: 0 2px 4px #232b3612, 0 16px 40px #232b361a;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.2; text-wrap: balance; font-weight: 700; }

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

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 0.625rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container-narrow { max-width: 46rem; }

.section { padding-block: var(--space-section); }
.section-tint { background: var(--ink-faint); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.875rem;
}

.section h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }

.section-intro {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

/* ── 404 ── */
.notfound {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}
.notfound img { width: 5rem; height: 5rem; margin-inline: auto; opacity: 0.35; }
.notfound h1 { font-size: 1.5rem; }
.notfound p { color: var(--muted); }

/* ── header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f6f7f8d9;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  min-width: 0;
}
.brand-mark { width: 2.125rem; height: 2.125rem; color: var(--ink); flex-shrink: 0; }
.brand-name {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: none; /* dar ekranda yalnızca logo işareti */
}

/* logo sembolü fill'i ebeveynin color'ından alır */
.brand-mark, .hero-mark svg, .doctor-mark svg { fill: currentColor; }

.header-right { display: flex; align-items: center; gap: 0.75rem; }

/* dil seçici */
.lang-switch {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1875rem;
  gap: 0.125rem;
}
.lang-switch button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.flag { width: 1.125rem; height: 0.75rem; border-radius: 2px; }

/* nav — mobilde açılır panel */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem clamp(1.25rem, 5vw, 2.5rem) 1.25rem;
  box-shadow: var(--shadow-soft);
}
.nav.is-open { display: flex; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--ink); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 12vw, 8.5rem);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 2rem;
}
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.hero .lead {
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-mark {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(16rem, 42vw, 30rem);
  opacity: 0.05;
  pointer-events: none;
}
.hero-mark svg { width: 100%; height: auto; aspect-ratio: 1; color: var(--ink); }

/* ── butonlar ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8125rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-solid {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-solid:hover { background: var(--ink-soft); box-shadow: var(--shadow-lift); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-icon svg { width: 1.25rem; height: 1.25rem; }

/* ── hizmet kartları ── */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--ink-faint);
  color: var(--ink);
  margin-bottom: 1rem;
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.card p { font-size: var(--fs-small); color: var(--muted); }

.services-note {
  margin-top: 2rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ── hekim (koyu bölüm) ── */
.section-dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section-dark .eyebrow { color: var(--on-dark-muted); }

.doctor-inner {
  display: grid;
  gap: 2.5rem;
}
.doctor-mark {
  width: clamp(7rem, 20vw, 11rem);
  justify-self: center;
}
.doctor-mark svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  color: var(--on-dark);
  opacity: 0.9;
}
.doctor-role {
  font-weight: 600;
  color: var(--on-dark-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}
.doctor-bio { max-width: 38rem; color: var(--on-dark); margin-bottom: 2rem; }

.doctor-facts {
  display: grid;
  gap: 1.25rem;
}
.doctor-facts > div {
  border-left: 2px solid #ffffff2e;
  padding-left: 1rem;
}
.doctor-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 0.25rem;
}
.doctor-facts dd { font-weight: 600; }

/* ── ilkeler ── */
.principles {
  list-style: none;
  counter-reset: principle;
  padding: 0;
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}
.principles li {
  counter-increment: principle;
  position: relative;
  padding-top: 2.75rem;
}
.principles li::before {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.7;
}
.principles h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.principles p { font-size: var(--fs-small); color: var(--muted); }

/* ── SSS ── */
.faq-list { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 1.125rem 3rem 1.125rem 1.25rem;
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ── iletişim ── */
.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}
.contact-info { display: grid; gap: 2rem; align-content: start; }
.contact-block h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.625rem;
}
.contact-block p { max-width: 26rem; }

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.15s ease;
}
.text-link:hover { text-decoration-color: var(--ink); }

.hours { border-collapse: collapse; }
.hours td { padding: 0.25rem 0; }
.hours td:first-child { padding-right: 2rem; color: var(--muted); }
.hours td:last-child { font-weight: 600; }
.hours .hours-closed td:last-child { color: var(--muted); font-weight: 500; }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-height: 18rem;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border: 0;
}

/* ── footer ── */
.footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: 3rem;
  font-size: var(--fs-small);
}
.footer-inner { display: grid; gap: 1.25rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  color: var(--on-dark);
}
.footer-brand .brand-mark { color: var(--on-dark); }
.footer-disclaimer { max-width: 44rem; }
.footer-meta {
  display: grid;
  gap: 0.375rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ffffff1f;
  font-size: 0.8125rem;
}
.footer .text-link { color: var(--on-dark); text-decoration-color: #ffffff40; }
.footer .text-link:hover { text-decoration-color: var(--on-dark); }

/* ── floating butonlar ── */
.floating {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.375rem;
  height: 3.375rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lift);
  transition: transform 0.15s ease, background 0.15s ease;
}
.float-btn:hover { background: var(--ink-soft); transform: translateY(-2px); }
.float-btn svg { width: 1.625rem; height: 1.625rem; }

/* ═══ tablet ve üstü ═══ */
@media (min-width: 640px) {
  .brand-name { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .doctor-facts { grid-template-columns: repeat(3, 1fr); }
  .footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 2rem;
  }
}

@media (min-width: 900px) {
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.75rem;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav a {
    font-size: 0.9375rem;
    padding: 0;
    border: 0;
    color: var(--muted);
  }
  .nav-toggle { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; }
  .hero-mark { position: relative; right: auto; top: auto; transform: none; justify-self: end; opacity: 0.06; }

  .cards { grid-template-columns: repeat(4, 1fr); }
  .principles { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }

  .doctor-inner { grid-template-columns: auto 1fr; gap: 5rem; align-items: center; }
  .doctor-mark { justify-self: start; }

  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; }
  .contact-map { min-height: 24rem; }
}
