/* ==========================================================================
   Psikolog Cihan Buzdağlı — Tasarım Sistemi
   Auros (koyu teal / bioluminescent) referansından sağlık bağlamına uyarlandı.
   ========================================================================== */

:root {
  /* Yüzeyler */
  --abyss:      #012624;
  --deep:       #011d1c;
  --kelp:       #003734;
  --kelp-2:     #04433f;
  --line:       rgba(187, 199, 198, 0.14);
  --line-strong:rgba(187, 199, 198, 0.28);

  /* Metin */
  --platinum:   #ffffff;
  --mist:       #edfffe;
  --silver:     #bbc7c6;
  --silver-dim: #8ea3a1;

  /* Vurgu */
  --phosphor:   #fde9ff;
  --aqua:       #7fe9df;
  --grad-aurora: linear-gradient(95deg, #cbfffc 0%, #edfffe 26%, #fffdf7 48%, #fad1ff 92%);
  --grad-bio:    linear-gradient(90deg, #00827c 0%, #cbfffc 100%);

  /* Ölçek */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  --gap: 24px;

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--abyss);
  color: var(--silver);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Arka plan atmosferi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(127, 233, 223, 0.10), transparent 60%),
    radial-gradient(50% 45% at 0% 100%, rgba(253, 233, 255, 0.06), transparent 60%);
  pointer-events: none;
}

/* Hareketli arka plan katmanı */
#ambientCanvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none; opacity: .5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--platinum);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 18px;
}
.eyebrow .ico { width: 16px; height: 16px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--silver); font-size: 1.05rem; }

.ico { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------- Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem;
  padding: 15px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-aurora); color: #062421;
  box-shadow: 0 10px 30px -12px rgba(203, 255, 252, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(203, 255, 252, 0.6); }
.btn-ghost { border-color: var(--line-strong); color: var(--mist); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--platinum); transform: translateY(-2px); }
.btn-wa { background: #04433f; color: var(--mist); border-color: var(--line-strong); }
.btn-wa:hover { background: #065c55; transform: translateY(-2px); }

/* --------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1, 29, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.2rem; color: var(--platinum); font-weight: 500; min-width: 0; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-bio); color: #012624;
}
.brand .mark { overflow: hidden; }
.brand .mark .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.brand small { display:block; font-family: var(--font-body); font-size: .68rem; letter-spacing:.14em; text-transform: uppercase; color: var(--aqua); font-weight:600; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.92rem; color: var(--silver); font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--platinum); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 9px 16px; font-size: 0.85rem; border-radius: 8px; }
.nav-actions .btn .ico { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--mist); width: 44px; height: 44px; place-items: center; cursor: pointer; }

/* --------------------------------------------------------- Hero (ortalanmış + alttan yükselen küre) */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(80px, 12vw, 150px) 0 clamp(200px, 34vw, 440px);
  text-align: center;
}
.hero-orb {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(140%, 1500px); height: 100%; z-index: 1; pointer-events: none;
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  right: 8%; bottom: -6%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(70, 220, 205, 0.28) 0%, rgba(0, 130, 124, 0.10) 40%, transparent 70%);
  filter: blur(10px);
}
.hero-inner { position: relative; z-index: 3; max-width: 800px; margin-inline: auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.18rem; color: var(--silver); max-width: 54ch; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* İstatistik şeridi */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(1,29,28,.4); position: relative; z-index: 4; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 34px 22px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--phosphor); line-height: 1; }
.stat .lbl { font-size: .82rem; letter-spacing: .04em; color: var(--silver-dim); text-transform: uppercase; margin-top: 8px; }

/* --------------------------------------------------------- Kartlar / hizmetler */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--kelp); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .card-ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(127, 233, 223, 0.10); color: var(--aqua); margin-bottom: 20px;
}
.card .card-ico .ico { width: 26px; height: 26px; }
.card h3 { color: var(--platinum); margin-bottom: 10px; }
.card p { color: var(--silver); font-size: .98rem; margin: 0; }
.card .card-desc { color: var(--silver); font-size: .98rem; }
.card .card-desc p { margin: 0 0 .55em; }
.card .card-desc p:last-child { margin-bottom: 0; }
.card .card-desc ul, .card .card-desc ol { margin: .3em 0 .55em; padding-left: 1.2em; }
.card .card-desc a { color: var(--aqua); text-decoration: underline; }
.card .card-desc strong { color: var(--mist); }

/* --------------------------------------------------------- Hakkımda */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.about-figure { border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--kelp), var(--deep)); position: relative; }
.about-figure img { width:100%; height:100%; object-fit: cover; }
.about-figure .placeholder { position:absolute; inset:0; display:grid; place-items:center; color: var(--silver-dim); }
.about-figure .placeholder .ico { width: 72px; height: 72px; stroke-width: 1; opacity:.5; }
.about-text p { color: var(--silver); }
.quote {
  border-left: 2px solid var(--aqua); padding: 6px 0 6px 22px; margin: 26px 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--mist); font-style: italic;
}
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--silver); }
.checklist .ico { color: var(--aqua); width: 20px; height: 20px; margin-top: 3px; }

/* --------------------------------------------------------- Yaklaşım / şerit */
.band {
  background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.steps { display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--kelp); border:1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.step .n { font-family: var(--font-display); color: var(--phosphor); font-size: 1.4rem; line-height:1; width: 38px; flex:none; }
.step h4 { font-family: var(--font-body); color: var(--platinum); font-size: 1.02rem; margin: 2px 0 4px; }
.step p { margin: 0; font-size: .92rem; }

/* --------------------------------------------------------- İletişim / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; }
.info-list { display: grid; gap: 20px; margin: 28px 0; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico-wrap { width: 46px; height: 46px; border-radius: 12px; background: rgba(127,233,223,.10); color: var(--aqua); display: grid; place-items: center; flex: none; }
.info-item .ico-wrap .ico { width: 22px; height: 22px; }
.info-item strong { color: var(--platinum); display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; font-weight:600; }
.info-item a, .info-item span { color: var(--silver); }
.info-item a:hover { color: var(--aqua); }

.form-card { background: var(--kelp); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; color: var(--mist); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--deep); border: 1px solid var(--line-strong); border-radius: 9px;
  color: var(--platinum); padding: 13px 15px; font: inherit; font-size: .95rem;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--aqua); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--silver-dim); margin-top: 14px; }
.form-note a { color: var(--aqua); text-decoration: underline; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.alert-ok { background: rgba(127,233,223,.12); border: 1px solid rgba(127,233,223,.4); color: var(--mist); }
.alert-err { background: rgba(255,120,120,.12); border: 1px solid rgba(255,120,120,.4); color: #ffd9d9; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); margin-top: 12px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(.95); }

/* --------------------------------------------------------- CTA şerit */
.cta-band { text-align: center; }
.cta-band .inner {
  background: linear-gradient(150deg, var(--kelp-2), var(--deep));
  border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(40px, 6vw, 72px);
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 0 auto 28px; color: var(--silver); }

/* --------------------------------------------------------- Footer */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--silver-dim); margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-grid a { color: var(--silver); font-size: .95rem; }
.footer-grid a:hover { color: var(--aqua); }
.footer-brand p { color: var(--silver-dim); font-size: .92rem; max-width: 34ch; margin-top: 14px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--silver); transition: .15s; }
.social a:hover { color: var(--aqua); border-color: var(--aqua); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--silver-dim); }
.footer-bottom a { color: var(--silver-dim); }
.footer-bottom a:hover { color: var(--aqua); }
.footer-credit { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; text-align: center; }
.tasarlayan { display: inline-flex; align-items: center; gap: 9px; color: var(--silver-dim); justify-content: center; }
.tasarlayan span { font-size: .82rem; }
.tasarlayan img { height: 18px; width: auto; opacity: .85; transition: opacity .15s; }
.tasarlayan:hover img { opacity: 1; }

/* --------------------------------------------------------- Yüzen WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #04433f; color: var(--mist); border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.6); transition: .2s;
}
.wa-float:hover { background: #065c55; transform: scale(1.06); }
.wa-float .ico { width: 28px; height: 28px; }

/* --------------------------------------------------------- İç sayfa başlığı */
.page-hero { padding: clamp(60px, 8vw, 96px) 0 clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--silver); max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: var(--silver-dim); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--aqua); }

/* --------------------------------------------------------- Blog */
.post-card {
  display: flex; flex-direction: column; background: var(--kelp);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease; color: inherit;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.post-cover { aspect-ratio: 16/9; background: linear-gradient(160deg, var(--kelp-2), var(--deep)); position: relative; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--silver-dim); }
.post-cover-ph .ico { width: 40px; height: 40px; stroke-width: 1; opacity: .5; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.post-date { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--aqua); }
.post-date .ico { width: 15px; height: 15px; }
.post-card h3 { color: var(--platinum); margin: 0; }
.post-body p { color: var(--silver); font-size: .95rem; margin: 0; }
.post-more { display: inline-flex; align-items: center; gap: 7px; color: var(--aqua); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.post-more .ico { width: 16px; height: 16px; transition: transform .15s; }
.post-card:hover .post-more .ico { transform: translateX(3px); }

/* Yazı içeriği */
.post-content { font-size: 1.05rem; line-height: 1.8; }
.post-content h2 { font-family: var(--font-body); font-size: 1.5rem; margin: 1.4em 0 .5em; color: var(--platinum); }
.post-content h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }
.post-content ul, .post-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.post-content li { margin: .35em 0; color: var(--silver); }
.post-content a { color: var(--aqua); text-decoration: underline; }
.post-content blockquote { border-left: 3px solid var(--aqua); margin: 1.2em 0; padding: .3em 0 .3em 18px; color: var(--mist); font-style: italic; }
.post-content img { border-radius: 12px; margin: 1em 0; }
.post-content strong { color: var(--mist); }

/* Ana sayfa blog şeridi */
.home-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }

/* Sosyal medya / Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--kelp); display: block; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ig-item:hover img { transform: scale(1.06); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(1,29,28,.45); opacity: 0; transition: opacity .2s; color: #fff; }
.ig-item:hover .ig-hover { opacity: 1; }
.ig-hover .ico { width: 26px; height: 26px; }
.ig-embed { border-radius: 16px; overflow: hidden; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Uzun metin (gizlilik/kvkk) */
.prose { max-width: 760px; }
.prose p { color: var(--silver); }
.prose h2, .prose h3 { margin-top: 1.6em; }

/* --------------------------------------------------------- Responsive */
@media (max-width: 940px) {
  .hero-grid, .about-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 420px; margin-inline: auto; }
  .about-figure { max-width: 380px; margin-inline: auto; }
  .grid-3, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--deep); border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 6px;
  }
  .site-header.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-actions .btn-ghost { display: none; }
  .grid-3, .footer-grid, .form-row, .stats { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .hero-badge { left: 10px; }
}
@media (max-width: 640px) {
  .nav { height: 62px; gap: 10px; }
  .brand { font-size: 1rem; gap: 9px; }
  .brand .mark { width: 34px; height: 34px; }
  .brand .mark .ico { width: 19px; height: 19px; }
  .brand > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand small { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-label { display: none; }
  .nav-actions .btn-primary { padding: 10px; }
  .nav-actions .btn-primary .ico { width: 18px; height: 18px; }
  .container { padding-inline: 16px; }
}
