/* =========================================================
   Zehra Gökdemir Onur — Klinik Psikolog
   Palette: warm sage + soft clay + deep ink (calm, grounded,
   not the AI-default cream+terracotta).
   ========================================================= */

:root {
  --ink:        #2b332e;   /* deep green-charcoal text */
  --ink-soft:   #525c54;
  --paper:      #f6f4ee;   /* warm off-white */
  --paper-2:    #eceae0;   /* alt section bg */
  --sage:       #6f8a72;   /* primary accent (muted sage) */
  --sage-deep:  #4f6a53;
  --clay:       #c98a6b;   /* secondary warm accent */
  --line:       #ddd9cd;
  --card:       #ffffff;

  --shadow-sm: 0 1px 2px rgba(43,51,46,.06), 0 2px 8px rgba(43,51,46,.05);
  --shadow-md: 0 6px 24px rgba(43,51,46,.10);

  --radius: 16px;
  --radius-sm: 10px;

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

  --maxw: 1100px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--sage-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw + .6rem, 2.4rem); margin-bottom: .8rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--sage-deep); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage); }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); background: rgba(111,138,114,.07); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: #1ebe5b; text-decoration: none; }
.btn-whatsapp svg { flex: none; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,244,238,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(43,51,46,.08);
  background: rgba(246,244,238,.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; }
.brand-text small { color: var(--ink-soft); font-size: .8rem; }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin: 0; padding: 0;
}
.nav-menu a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
}
.nav-menu a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--sage-deep);
  color: #fff !important;
  padding: .5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--sage); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(201,138,107,.14), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(111,138,114,.16), transparent 55%),
    var(--paper);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.hero-text h1 { margin-bottom: 1rem; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }

.hero-trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--ff-display); font-size: 1.4rem; color: var(--ink); }
.hero-trust span { font-size: .82rem; color: var(--ink-soft); }

.hero-aside { display: flex; flex-direction: column; gap: 1.4rem; }
.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-md);
}
.hero-card-row {
  display: flex; flex-direction: column;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-card-row:first-child { padding-top: 0; }
.hc-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.hc-value { font-family: var(--ff-display); font-size: 1.05rem; }
.hero-card-link { display: inline-block; margin-top: 1.1rem; font-weight: 600; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-2); }
.section-eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: .6rem;
}
.section-note { color: var(--ink-soft); max-width: 60ch; margin-bottom: 2rem; }

.prose p { color: var(--ink-soft); font-size: 1.05rem; }
.prose p:first-of-type { color: var(--ink); }

/* ---------- Grids ---------- */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.panel h3 { margin-bottom: 1rem; }
.panel-sub { font-family: var(--ff-body); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft);
  margin: 1.4rem 0 .7rem; }

.edu-list { list-style: none; margin: 0; padding: 0; }
.edu-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.edu-list li:last-child { border-bottom: none; }
.edu-title { font-weight: 600; }
.edu-sub { color: var(--ink-soft); font-size: .92rem; }

.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li {
  background: rgba(111,138,114,.10);
  color: var(--sage-deep);
  border: 1px solid rgba(111,138,114,.22);
  padding: .35rem .8rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.tag-list.muted li {
  background: var(--paper-2);
  color: var(--ink-soft);
  border-color: var(--line);
}

/* ---------- Cards (çalışma alanları) ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { padding-bottom: .7rem; border-bottom: 2px solid var(--sage); display: inline-block; }
.card ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.card li { padding: .4rem 0 .4rem 1.4rem; position: relative; color: var(--ink-soft); }
.card li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin: 0;
  position: relative;
}
.review::before {
  content: "“";
  font-family: var(--ff-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--sage);
  opacity: .35;
  position: absolute;
  top: .4rem; left: 1rem;
}
.review p { font-size: .98rem; color: var(--ink); padding-top: .8rem; }
.review footer { font-size: .82rem; color: var(--ink-soft); }
.review footer span { color: var(--sage-deep); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
  align-items: start;
}
.contact-heading { margin-bottom: .8rem; }
.contact-info .section-note { margin-bottom: 2rem; }
.info-block { margin-bottom: 1.8rem; }
.info-block h3 { margin-bottom: .4rem; }
.info-block p { color: var(--ink-soft); }
.map-link { display: inline-block; margin-top: .3rem; font-size: .9rem; font-weight: 600; }

/* ---------- Social section ---------- */
.center { text-align: center; }
.center-note { margin-left: auto; margin-right: auto; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  text-align: left;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  aspect-ratio: 1 / 1;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-align: center;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.social-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.social-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: .6rem;
  color: #fff;
}
.social-name { font-family: var(--ff-display); font-size: 1.15rem; line-height: 1.2; }
.social-handle { font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }

/* Brand-tinted accents per platform */
.social-card.ig .social-icon { background: linear-gradient(135deg, #c98a6b, #b85c8a); }
.social-card.ig:hover { border-color: #c98a6b; }
.social-card.li .social-icon { background: #2d6a8f; }
.social-card.li:hover { border-color: #2d6a8f; }
.social-card.dt .social-icon { background: var(--sage-deep); }
.social-card.dt:hover { border-color: var(--sage-deep); }
.social-card.wa .social-icon { background: #25d366; }
.social-card.wa:hover { border-color: #25d366; }

/* ---------- Process (Nasıl Çalışıyoruz) ---------- */
.process {
  list-style: none;
  counter-reset: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  position: relative;
}
.process-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.process-num {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-deep);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.process-body h3 { margin-bottom: .3rem; }
.process-body p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ (SSS) ---------- */
.faq { margin-top: 1.8rem; display: grid; gap: .8rem; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--ff-display);
  font-size: 1.08rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--ff-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sage-deep);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--sage-deep); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; color: var(--ink-soft); }
.faq-item[open] .faq-answer { animation: faqOpen .28s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(111,138,114,.18);
}
.field textarea { resize: vertical; }
.form-status { margin: .8rem 0 0; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--sage-deep); }
.form-status.err { color: #b4533a; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8ddd6;
  padding: 2.6rem 0;
}
.site-footer strong { color: #fff; font-family: var(--ff-display); font-weight: 500; }
.site-footer p { margin: .3rem 0 0; color: #aab3ab; font-size: .92rem; }
.footer-inner { display: grid; gap: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: #c5cdc4; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: .82rem; color: #8b948c; }

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .grid-two { grid-template-columns: 1fr; }
  .grid-three { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem 1.4rem 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav-menu.open { max-height: 420px; padding: .5rem 1.4rem 1.2rem; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: .6rem; border-bottom: none !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body { font-size: 16px; }
  .hero-trust { gap: 1.4rem; }
}

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