/* Klinik Zarafet — ziyaretci sayfalari */

:root {
  --ink: #0A2540;
  --ink-soft: #36506A;
  --muted: #4A6275;
  --teal: #1F6F7A;
  --teal-dark: #15535C;
  --teal-light: #9DD3D5;
  --coral: #E29578;
  --bg: #F3F7F8;
  --white: #FFFFFF;
  --line: #DCE7EB;
  --line-soft: #E6EEF1;
  --lab: #0B1F33;
  --radius: 24px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1440px;
  --gutter-left: 136px;
  --gutter-right: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: 40px; }
p { margin: 0; }
.icon { width: 18px; height: 18px; flex: none; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.muted { color: var(--ink-soft); }
.anchor-alias { position: absolute; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter-right) 0 var(--gutter-left); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-tight { display: flex; flex-direction: column; gap: 10px; }
.stack-wide { display: flex; flex-direction: column; gap: 32px; }
.section { position: relative; z-index: 1; padding: 96px 0; }
.section-white { background: var(--white); }
.section-intro { max-width: 720px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.text-link { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

/* Dugmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #12365C; color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border-color: #C7D9E0; }
.btn-outline:hover { border-color: var(--teal); color: var(--ink); }
.btn-large { padding: 14px 24px; font-size: 16px; }
.btn-small { min-height: 44px; padding: 8px 16px; align-self: flex-start; }

/* Ust menu */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 700; font-size: 17px; }
.brand-title { font-size: 13px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--teal); }
.locale-switcher { display: inline-flex; align-items: center; }
.locale-switcher a { padding: 10px 7px; color: var(--muted); text-decoration: underline; }
.locale-switcher a[aria-current] { color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; }

/* Sus katmanlari: DNA seridi ve hucreler */
.decor-helix { position: absolute; top: 0; left: 64px; width: 0; height: 100%; pointer-events: none; z-index: 3; }
.decor-cells { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.helix-bead, .helix-rung, .cell, .cell-nucleus { position: absolute; will-change: transform; }
.helix-bead { top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; }
.helix-rung { width: 52px; height: 2px; border-radius: 2px; left: -26px; transform-origin: 50% 50%; }
.cell { border-radius: 50%; }
.cell-nucleus { border-radius: 50%; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--teal); }
.hero h1 { font-size: 60px; line-height: 1.06; letter-spacing: -0.015em; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; }
.lead-short { display: none; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 15px; }
.hero-links a { text-decoration: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; display: flex; justify-content: flex-end; padding: 24px 0 48px; }
.hero-image {
  width: 100%; max-width: 470px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 42%; border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255,255,255,0.85), 0 0 0 13px rgba(31,111,122,0.28), 0 30px 60px rgba(10,37,64,0.14);
}
.hero-card {
  position: absolute; left: 4%; bottom: 0; display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: 20px; padding: 14px 22px 14px 16px; box-shadow: 0 16px 36px rgba(10,37,64,0.14);
}
.hero-card .icon { width: 26px; height: 26px; color: var(--teal); }
.hero-card span { display: flex; flex-direction: column; line-height: 1.35; }
.hero-card strong { font-size: 15px; }
.hero-card small { font-size: 13px; color: var(--muted); }

/* Hakkimda */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.about-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: var(--radius); background: linear-gradient(180deg, var(--bg), #E3EFF2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 18px 20px; }
.facts div:first-child { padding-left: 0; }
.facts div + div { border-left: 1px solid var(--line-soft); }
.facts dt { font-family: var(--serif); font-size: 28px; }
.facts dd { margin: 0; font-size: 14px; color: var(--muted); }

/* Uygulamalar: laboratuvar */
.lab {
  position: relative; z-index: 1; padding: 96px 0; overflow: hidden; color: #E8F1F4; background-color: var(--lab);
  background-image: linear-gradient(rgba(157,211,213,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(157,211,213,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.lab h2 { color: var(--white); }
.lab-inner { position: relative; display: flex; flex-direction: column; gap: 28px; }
.lab-head { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; }
.lab-eyebrow { font-size: 13px; color: var(--teal-light); }
.lab-lens { position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 1px dashed rgba(157,211,213,0.25); animation: k-spin 60s linear infinite; }
.lab-lens::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(157,211,213,0.12); }
.lab-blob { position: absolute; border-radius: 50%; border: 1px solid rgba(157,211,213,0.18); background: radial-gradient(circle at 40% 35%, rgba(157,211,213,0.22), rgba(157,211,213,0.04) 60%, transparent 70%); animation: k-drift 18s ease-in-out infinite alternate; }
.lab-blob::after { content: ""; position: absolute; left: 38%; top: 34%; width: 24%; height: 24%; border-radius: 50%; background: rgba(226,149,120,0.35); }
.lab-blob-a { width: 120px; height: 120px; left: -30px; bottom: 24px; }
.lab-blob-b { width: 90px; height: 90px; right: 22%; bottom: 30px; animation-duration: 24s; }
.lab-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(255,255,255,0.06); border: 1px solid rgba(157,211,213,0.2); border-radius: 14px; }
.lab-tab { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: #E8F1F4; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.lab-tab .mono { font-size: 13px; opacity: 0.7; }
.lab-tab[aria-selected="true"] { background: var(--teal-light); color: var(--ink); }
.lab-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lab-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(157,211,213,0.18); border-radius: 18px;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), border-color .35s ease, background .35s ease;
}
.lab-card[hidden] { display: none; }
.lab-card.is-pre { opacity: 0; transform: translateY(18px); }
.lab-card:hover { border-color: rgba(157,211,213,0.5); background: rgba(255,255,255,0.07); }
.lab-card::before { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, rgba(157,211,213,0.10), transparent); animation: k-scan 5.5s ease-in-out infinite; animation-delay: var(--d, 0ms); pointer-events: none; }
.lab-card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--white); margin-top: 4px; }
.lab-card p { font-size: 15px; color: #A9C4D0; line-height: 1.55; }
.lab-card-top { display: flex; align-items: center; justify-content: space-between; }
.lab-code { font-size: 12px; color: #8FB3C2; }
.lab-tile { position: relative; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.lab-tile svg { width: 24px; height: 24px; }
.lab-tile::after { content: ""; position: absolute; inset: -4px; border-radius: 17px; border: 1.5px solid currentColor; opacity: 0; animation: k-pulse 3.2s ease-out infinite; animation-delay: var(--d, 0ms); }
.lab-card-pregnancy .lab-tile { color: var(--teal-light); background: rgba(157,211,213,0.12); }
.lab-card-women .lab-tile { color: #F2B39E; background: rgba(242,179,158,0.12); }
.lab-card-foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 11px; color: #8FB3C2; }
.lab-bar { display: block; height: 3px; border-radius: 3px; background: rgba(157,211,213,0.15); overflow: hidden; }
.lab-bar span { display: block; height: 100%; width: 40%; border-radius: 3px; animation: k-read 3.6s ease-in-out infinite; animation-delay: var(--d, 0ms); }
.lab-card-pregnancy .lab-bar span { background: var(--teal-light); }
.lab-card-women .lab-bar span { background: #F2B39E; }

@keyframes k-scan { 0% { top: -40%; } 55%, 100% { top: 110%; } }
@keyframes k-pulse { 0% { opacity: .6; transform: scale(.9); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes k-read { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes k-spin { to { transform: rotate(360deg); } }
@keyframes k-drift { 0% { transform: translate(0, 0); } 100% { transform: translate(24px, -30px); } }

/* Ilk muayene */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.rounded-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius); }

/* Gebelik takvimi */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 8px; border-top: 2px solid var(--ink); }
.timeline li { position: relative; padding: 30px 20px 4px 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.timeline-dot { position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(226,149,120,0.45); }
.timeline-week { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.timeline strong { font-size: 16px; }

/* Yazilar */
.article-grid, .article-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(10,37,64,0.08); }
.article-card img { width: 100%; height: 160px; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.article-kicker { font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; }
.article-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.article-list-card > :not(img) { padding: 0 20px; }
.article-list-card .article-kicker { padding-top: 16px; }
.article-list-card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; margin: 6px 0; }
.article-list-card p { color: var(--muted); font-size: 15px; }
.article-list-card .article-link-label { padding-top: 12px; padding-bottom: 20px; margin-top: auto; font-weight: 700; color: var(--teal); }

/* Yazi sayfalari */
.page-main { position: relative; z-index: 1; }
.page-hero { padding: 72px 0 40px; }
.page-hero-shell, .section-shell { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter-right) 0 var(--gutter-left); }
.page-hero-shell { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: 52px; max-width: 900px; }
.page-hero p { color: var(--ink-soft); font-size: 19px; max-width: 760px; }
.page-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.page-eyebrow { font-family: var(--mono); font-size: 13px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; }
.page-main .section { padding: 24px 0 96px; }
.page-article-shell { display: flex; justify-content: flex-start; }
.page-article-card { max-width: 820px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; }
.page-article-meta { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.page-back-link { font-weight: 700; text-decoration: none; }
.article-body { display: flex; flex-direction: column; gap: 16px; color: var(--ink-soft); }
.article-body h2 { font-size: 30px; color: var(--ink); margin-top: 16px; }
.article-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.article-note { background: #EAF4F5; border-left: 3px solid var(--teal); border-radius: 12px; padding: 16px 20px; color: var(--ink); }

/* Footer */
.site-footer { position: relative; z-index: 1; background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 15px; color: var(--ink-soft); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col strong { color: var(--ink); font-size: 16px; }
.footer-col .btn { margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: #5B7183; }
.mobile-bar { display: none; }

/* Orta ekran */
@media (max-width: 1320px) {
  .site-nav { gap: 16px; font-size: 14px; }
  .lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid, .article-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .menu-button { display: inline-flex; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px 16px;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(10,37,64,0.08);
  }
  .site-nav.is-open > a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .site-nav.is-open .locale-switcher { padding-top: 8px; }
}

/* Telefon */
@media (max-width: 900px) {
  :root { --gutter-left: 20px; --gutter-right: 20px; }
  body { padding-bottom: 76px; }
  h2 { font-size: 32px; }
  .decor-helix { display: none; }
  .decor-cells { opacity: 0.35; }
  .header-cta { display: none; }
  .hero { padding: 32px 0 56px; }
  .hero-grid, .about-grid, .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 42px; }
  .lead-long, .hero-links { display: none; }
  .lead-short { display: block; }
  .hero-media { justify-content: center; padding: 8px 0 64px; }
  .hero-image { max-width: 260px; }
  .hero-card { left: 0; right: 0; }
  .section, .lab { padding: 64px 0; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding-left: 0; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .lab-lens { width: 320px; height: 320px; }
  .lab-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--ink); padding-left: 24px; gap: 8px; }
  .timeline li { padding: 4px 0 16px; }
  .timeline-dot { top: 10px; left: -33px; }
  .article-grid, .article-archive-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero h1 { font-size: 38px; }
  .page-article-card { padding: 28px 22px; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px; background: rgba(255,255,255,0.96); border-top: 1px solid var(--line);
  }
  .mobile-bar-main { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lab-card, .lab-card.is-pre { opacity: 1; transform: none; transition: none; }
  .lab-card::before, .lab-tile::after, .lab-bar span, .lab-lens, .lab-blob { animation: none; }
}
