/* =========================================================
   ANKARA PSİKOLOG KOLEKTİFİ — TASARIM SİSTEMİ
   Palet: tek bir mavi aile içinde tonal kademeler + sıcak kağıt zemin
   Tipografi: Fraunces (başlık) + Plus Jakarta Sans (gövde)
   ========================================================= */

:root {
  /* --- Renkler --- */
  --ink: #11283f;        /* en koyu lacivert — başlıklar, footer, nav */
  --primary: #2d6a93;    /* ana marka mavisi — buton, link, ikon */
  --primary-dark: #21516f;
  --secondary: #6fa3c6;  /* yumuşak mavi — ikincil vurgular */
  --tint: #e3eef6;       /* açık mavi — bölüm zeminleri, kartlar */
  --tint-2: #f1f6fa;     /* daha da açık mavi, kart üstü */
  --paper: #fbfaf7;      /* sıcak kırık beyaz — ana zemin */
  --white: #ffffff;
  --ink-soft: rgba(17, 40, 63, 0.68);
  --ink-faint: rgba(17, 40, 63, 0.45);
  --border-soft: rgba(17, 40, 63, 0.10);

  /* --- Tipografi --- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Ölçü / boşluk --- */
  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-soft: 0 18px 45px -20px rgba(17, 40, 63, 0.28);
  --shadow-card: 0 10px 30px -18px rgba(17, 40, 63, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Sıfırlama ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--primary);
  display: inline-block;
}

.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p { color: rgba(251, 250, 247, 0.78); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Yumuşak görünme efekti ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white) !important; transform: translateY(-2px); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-outline.on-ink { border-color: rgba(251,250,247,0.55); color: var(--paper); }
.btn-outline.on-ink:hover { background: var(--paper); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* =========================================================
   ÜST MENÜ (HEADER)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
}
.brand img { height: 44px; width: auto; }
.brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  position: relative;
  flex-shrink: 0;
}
.brand .brand-mark::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.9;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; font-size: 0.92rem; color: var(--ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* =========================================================
   HERO (ANASAYFA)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  min-height: 560px;
  padding-bottom: 80px;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--primary);
}
.hero-copy p.lead {
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-trust .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}
.hero-trust .stat span {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* Hero görsel paneli: gerçek fotoğraf yerine "kolektif" kümesi grafiği */
.hero-visual {
  position: relative;
  background: var(--tint);
  border-radius: var(--radius-l);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cluster-svg { width: 86%; height: auto; }
.hero-quote {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 16px 26px;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  max-width: 78%;
  text-align: center;
}
.hero-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -2px;
}
.wave-divider path { fill: var(--tint-2); }
.wave-line {
  width: 200%;
  animation: waveDrift 26s linear infinite;
}
@keyframes waveDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   KOLEKTİF / HAKKIMIZDA ÖZET
   ========================================================= */
.about-teaser { background: var(--tint-2); }
.about-teaser-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.node-mini { width: 100%; max-width: 340px; }
.about-teaser .lead { font-size: 1.15rem; color: var(--ink); font-family: var(--font-display); font-weight: 400; }

/* =========================================================
   KART BİLEŞENLERİ
   ========================================================= */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 34px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(45, 106, 147, 0.25);
}
.card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.card .icon-wrap svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 14px; font-size: 0.95rem; }
.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* Ekip kartı */
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-m);
  background: var(--tint);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder-avatar { width: 100%; height: 100%; }
.team-card h3 { margin-bottom: 2px; font-size: 1.15rem; }
.team-card .unvan { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; display: block; }
.team-card p { font-size: 0.92rem; }

/* Makale kartı */
.post-card .post-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-m);
  background: var(--tint);
  overflow: hidden;
  margin-bottom: 18px;
}
.post-card .post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-date { font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* =========================================================
   SÜREÇ (NUMARALI ADIMLAR)
   ========================================================= */
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.process-step { position: relative; padding-left: 0; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--secondary);
  opacity: 0.55;
  margin-bottom: 14px;
  font-weight: 500;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.95rem; }
.process-connector {
  display: none;
}

/* =========================================================
   CTA ŞERİDİ
   ========================================================= */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--paper); margin-bottom: 8px; }
.cta-band p { color: rgba(251,250,247,0.75); margin-bottom: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(251, 250, 247, 0.82);
  padding: 80px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251, 250, 247, 0.12);
}
.footer-brand .brand { color: var(--paper); }
.footer-brand p { color: rgba(251, 250, 247, 0.65); margin-top: 16px; max-width: 280px; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251,250,247,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.55);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(251,250,247,0.82); }
.footer-col a:hover { color: var(--secondary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--secondary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(251,250,247,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(251,250,247,0.5); }
.footer-bottom a:hover { color: var(--secondary); }

/* =========================================================
   SAYFA BAŞLIĞI (İÇ SAYFALAR)
   ========================================================= */
.page-header {
  background: var(--tint);
  padding: 64px 0 56px;
  position: relative;
}
.page-header h1 { margin-bottom: 14px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.page-header p.lead { max-width: 620px; font-size: 1.02rem; }

/* =========================================================
   HAKKIMIZDA
   ========================================================= */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-content .prose h2:first-child { margin-top: 0; }
.about-figure {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--tint);
  aspect-ratio: 4/4.6;
  position: sticky;
  top: 110px;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.prose p { font-size: 1rem; }
.prose h2 { margin-top: 1.6em; }
.values-list { margin-top: 28px; display: grid; gap: 16px; }
.values-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.values-list svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   HİZMET / EKİP DETAY
   ========================================================= */
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.detail-main .prose { font-size: 1.02rem; }
.side-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 28px;
  margin-bottom: 24px;
}
.side-card h4 { font-size: 0.95rem; margin-bottom: 14px; }
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item { display: flex; gap: 12px; align-items: center; }
.related-item .avatar-sm { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--tint); flex-shrink: 0; }
.related-item .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.related-item .name { font-weight: 700; font-size: 0.9rem; }
.related-item .role { font-size: 0.78rem; color: var(--ink-faint); }

.team-detail-head { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.team-detail-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--tint);
  aspect-ratio: 4/4.6;
}
.team-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary);
}

/* =========================================================
   İLETİŞİM
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-m); padding: 32px; margin-bottom: 24px; }
.contact-info-card li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.contact-info-card li:last-child { border-bottom: none; }
.contact-info-card svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-card .label { font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.contact-info-card .value { font-weight: 600; }
.map-frame { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--border-soft); }
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

.form-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-m); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-s);
  background: var(--tint-2);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 6px; }

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-s);
  margin-bottom: 24px;
  font-size: 0.92rem;
  font-weight: 600;
}
.alert-success { background: #e3f3ea; color: #1f6b45; }
.alert-error { background: #fbe7e7; color: #a3332f; }

/* =========================================================
   BLOG LİSTE / DETAY
   ========================================================= */
.blog-detail-image { border-radius: var(--radius-l); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/8; background: var(--tint); }
.blog-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.share-row { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-soft); }

/* =========================================================
   BOŞ DURUM (içerik yokken)
   ========================================================= */
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-faint); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 360px; order: -1; }
  .about-teaser-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-figure { position: static; aspect-ratio: 16/9; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-detail-head { grid-template-columns: 1fr; }
  .team-detail-photo { max-width: 320px; }
}
@media (max-width: 760px) {
  .nav-phone { display: none; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex; position: absolute; top: 84px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border-soft); gap: 18px; z-index: 49;
  }
  .main-nav.open ul { display: flex; flex-direction: column; gap: 16px; } }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-band-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
