/* ============================================================
   İzmir Oyun Terapi — Sıcak editoryal tasarım sistemi (v3)
   Karakter: butik psikoloji kliniği × editoryal yayın × sakin
   terapi odası. Kemik beyazı, fildişi, kum, taş, gece
   laciverti, füme, ceviz; sınırlı adaçayı/buz.
   Bu dosya en son yüklenir ve görsel kimliğin tamamını taşır.
   ============================================================ */

:root {
  --bone: #f7f4ee;
  --ivory: #f1ece1;
  --sand: #e6ddcc;
  --stone: #cfc8ba;
  --paper: #fcfaf5;
  --night: #1f2b39;
  --night-deep: #17202c;
  --smoke: #5d6871;
  --walnut: #7c5f44;
  --walnut-soft: #a5825e;
  --sage: #8b9c8d;
  --ice: #e2eaec;
  --hairline: #e2dbcb;

  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, "Georgia", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --lux-shadow: 0 1px 2px rgba(31, 43, 57, .05), 0 18px 44px rgba(31, 43, 57, .08);
  --lux-soft-shadow: 0 1px 2px rgba(31, 43, 57, .04), 0 10px 26px rgba(31, 43, 57, .06);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
}

html { background: var(--bone); }

body {
  color: #2a333d;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 30%, var(--bone) 100%);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- Tipografi ---------- */
h1, h2, h3, .brand strong, .pullquote {
  font-family: var(--font-serif);
  color: var(--night);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 4.3vw, 3.9rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.15; font-weight: 600; }
h3 { font-size: 1.18rem; line-height: 1.3; }

p { max-width: 66ch; }
.lead { font-size: 1.13rem; color: var(--smoke); max-width: 58ch; }

.eyebrow {
  color: var(--walnut);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 0; background: none; box-shadow: none; padding: 0; min-height: 0;
}

.brand small, .meta, .breadcrumb, .footer-note { color: var(--smoke); }

/* ---------- Üst menü ---------- */
.site-header {
  top: 0; width: 100%; margin: 0;
  border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0;
  background: rgba(252, 250, 245, .92);
  backdrop-filter: blur(10px);
  box-shadow: none;
  padding-top: .65rem; padding-bottom: .65rem;
}

.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ivory); box-shadow: none; overflow: hidden; }
.logo-mark img { display: block; width: 100%; height: 100%; }

.main-nav a { border-radius: var(--radius-s); color: #333d47; font-weight: 550; }
.main-nav a:hover { background: var(--ivory); color: var(--night); }
.main-nav a[aria-current=page] { background: var(--night); color: #fff; }
.nav-toggle { background: var(--night); border-radius: var(--radius-s); }

/* ---------- Düğmeler ---------- */
.button {
  min-height: 48px;
  border: 1px solid var(--night);
  border-radius: var(--radius-s);
  background: var(--night);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
  transition: background .15s ease, color .15s ease;
}
.button:hover { background: #2c3d51; border-color: #2c3d51; }
.button.secondary { border: 1px solid var(--hairline); background: var(--paper); color: var(--night); box-shadow: none; }
.button.secondary:hover { border-color: var(--stone); background: var(--ivory); }
.button.soft { border: 1px solid var(--sand); background: var(--sand); color: var(--night); }
.button.soft:hover { background: var(--stone); border-color: var(--stone); }

:focus-visible { outline: 3px solid var(--walnut); outline-offset: 3px; }

/* ---------- Yüzeyler ---------- */
.card, .tool-shell, .article-box, .branch-list article, .result-list .card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: var(--paper);
  box-shadow: var(--lux-soft-shadow);
  backdrop-filter: none;
}
.card { padding: clamp(1.2rem, 2.2vw, 1.8rem); }
.card:hover { transform: none; box-shadow: var(--lux-shadow); }

.mini-cards .card h3:before, .cards .card h2:before { display: none; }

.notice {
  border: 0; border-left: 3px solid var(--walnut);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--ivory); color: #4a4032;
  box-shadow: none; max-width: 62ch;
}

/* ---------- SSS ---------- */
.faq details {
  border: 0; border-top: 1px solid var(--hairline); border-radius: 0;
  background: transparent; box-shadow: none; backdrop-filter: none;
  padding: .35rem 0; margin: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); margin-bottom: 1.25rem; }
.faq summary { font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; color: var(--night); padding: .8rem 0; }
.faq details p { color: #3a444e; max-width: 62ch; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3.5rem, 6vw, 6rem); }
.hero-premium { max-width: 1280px; }
.hero-copy h1 { max-width: 640px; font-size: clamp(2.3rem, 4.4vw, 4rem); }
.hero-copy .lead { max-width: 560px; }
.hero-copy .eyebrow { display: inline-block; border: 0; background: none; box-shadow: none; padding: 0; }

.hero-meta {
  display: block; margin: 1.2rem 0 0; padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  color: var(--smoke); font-size: .95rem; max-width: 560px;
}

.hero-points { gap: .5rem; }
.hero-points span {
  border: 1px solid var(--hairline); border-radius: var(--radius-s);
  background: var(--paper); box-shadow: none;
  font-weight: 550; color: #3a444e;
}

.hero-stage { min-height: 640px; perspective: 1600px; }
.hero-stage:before {
  background: linear-gradient(160deg, var(--ivory), var(--sand));
  border-radius: var(--radius-l);
  box-shadow: var(--lux-shadow);
  transform: rotateX(3deg) rotateY(-4deg);
}

.hero-photo { border: 6px solid var(--paper); border-radius: var(--radius-m); box-shadow: var(--lux-shadow); }
.hero-photo-main { transform: rotateY(-4deg) rotateX(1deg) translateZ(24px); height: 560px; }
.hero-photo-room { transform: rotateY(5deg) rotateX(2deg); height: 330px; }
.hero-photo-main:after, .hero-photo-room:after { background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(31,43,57,.10)); }

.wood-block {
  opacity: .45; border-radius: var(--radius-s);
  background: linear-gradient(145deg, var(--walnut-soft), var(--walnut));
  box-shadow: 0 16px 30px rgba(31, 43, 57, .12), inset 0 -6px 0 rgba(64, 47, 31, .18);
}
.block-b { background: linear-gradient(145deg, var(--stone), var(--sand)); }

.floating-note {
  border: 1px solid var(--hairline); border-radius: var(--radius-m);
  background: rgba(252, 250, 245, .94);
  backdrop-filter: blur(8px);
  box-shadow: var(--lux-soft-shadow);
  font-size: .92rem;
}
.floating-note strong { font-family: var(--font-serif); font-size: 1rem; }
.floating-note span { color: var(--smoke); }

/* ---------- Editoryal bölümler ---------- */
.edit-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pullquote {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-style: italic; line-height: 1.4;
  color: var(--night);
  border-left: 2px solid var(--walnut);
  padding-left: 1.4rem; margin: 0;
  max-width: 24ch;
}

.section-rule { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.section-rule hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

.konu-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  margin-top: 1.5rem;
}
.konu-liste article { padding: 1.1rem 0; border-top: 1px solid var(--hairline); }
.konu-liste h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.konu-liste p { margin: 0; color: var(--smoke); font-size: .97rem; max-width: none; }
.konu-liste a { color: var(--walnut); font-weight: 600; text-decoration-color: var(--stone); text-underline-offset: 3px; }
.konu-liste a:hover { color: var(--night); }

.featured-guides { display: grid; gap: 0; margin-top: .5rem; }
.featured-guides a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.05rem .25rem;
  border-top: 1px solid var(--hairline);
  text-decoration: none; color: var(--night);
}
.featured-guides a:last-child { border-bottom: 1px solid var(--hairline); }
.featured-guides strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.12rem; }
.featured-guides span { color: var(--smoke); font-size: .92rem; white-space: nowrap; }
.featured-guides a:hover strong { color: var(--walnut); }

/* ---------- Fotoğraf bandı (ana sayfa) ve sayfa fotoğrafları ---------- */
.photo-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 1rem;
  align-items: stretch;
}
.photo-band figure { margin: 0; position: relative; }
.photo-band img {
  width: 100%; height: 100%; min-height: 300px; object-fit: cover;
  border: 6px solid var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--lux-shadow);
}
.photo-band figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .35rem .7rem;
  border-radius: var(--radius-s);
  background: rgba(252, 250, 245, .92);
  font-size: .85rem; color: var(--night); font-weight: 600;
}
.photo-band figure:nth-child(2) { transform: translateY(16px); }
.photo-band figure:nth-child(3) { transform: translateY(-10px); }

.page-photo { margin: 0; }
.page-photo img {
  width: 100%; height: auto;
  border: 6px solid var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--lux-shadow);
}
.page-photo figcaption { margin-top: .5rem; font-size: .88rem; color: var(--smoke); }

/* ---------- Rakam bandı ---------- */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-top: 2rem; padding-bottom: 2rem;
}
.trust-strip div {
  min-height: 0; padding: .5rem 1rem;
  border: 0; border-left: 1px solid var(--hairline); border-radius: 0;
  background: none; box-shadow: none;
}
.trust-strip div:first-child { border-left: 0; }
.trust-strip strong { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.9rem); color: var(--walnut); font-weight: 600; }
.trust-strip span { font-weight: 500; color: var(--smoke); font-size: .95rem; }

/* ---------- Süreç adımları ---------- */
.steps .step:before {
  border-radius: 50%;
  background: var(--night); color: var(--paper);
  font-family: var(--font-serif); font-weight: 600;
}
.steps .card {
  background: transparent; border: 0; box-shadow: none;
  border-top: 1px solid var(--hairline); border-radius: 0;
  padding-left: .25rem; padding-right: .25rem;
}

/* ---------- Uzman ---------- */
.expert-portrait img {
  border-radius: var(--radius-m);
  border: 6px solid var(--paper);
  box-shadow: var(--lux-shadow);
  transform: rotateY(2deg);
  filter: saturate(.97);
}
.portrait-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: rgba(252, 250, 245, .95);
  backdrop-filter: blur(8px);
  box-shadow: var(--lux-soft-shadow);
}
.portrait-card strong { color: var(--walnut); font-size: .85rem; letter-spacing: .06em; }
.portrait-card span { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }

.egitim-listesi { list-style: none; padding: 0; margin: 1.25rem 0; }
.egitim-listesi li { padding: .65rem 0; border-top: 1px solid var(--hairline); color: #3a444e; font-size: .98rem; }
.egitim-listesi li:last-child { border-bottom: 1px solid var(--hairline); }
.egitim-listesi strong { color: var(--night); font-weight: 600; }

/* ---------- Şubeler ---------- */
.branch-list article { min-height: 0; }
.branch-list article:after { display: none; }
.branch-list h3 { font-size: 1.05rem; }
.branch-list p { color: var(--smoke); font-size: .95rem; }
.branch-list a.branch-link {
  display: inline-block; margin-top: .4rem;
  color: var(--walnut); font-weight: 600; font-size: .93rem;
  text-decoration-color: var(--stone); text-underline-offset: 3px;
}
.branch-list a.branch-link:hover { color: var(--night); }

/* ---------- Oyun odası ---------- */
.room-map {
  min-height: 620px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  background: var(--ivory);
  box-shadow: var(--lux-shadow);
}
.room-map img { filter: saturate(.92) contrast(1.01); }
.room-hotspot {
  border: 1px solid var(--paper); color: #fff;
  background: var(--night);
  box-shadow: 0 10px 24px rgba(31, 43, 57, .22);
  font-weight: 700;
}
.room-hotspot:hover { background: var(--walnut); }
.info-pop {
  border: 1px solid var(--hairline); border-radius: var(--radius-m);
  background: rgba(252, 250, 245, .97);
  backdrop-filter: blur(8px);
}

/* ---------- Fotoğraf ızgarası (eski bölümler için) ---------- */
.photo-grid img {
  border: 6px solid var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--lux-shadow);
}
.photo-grid img:first-child { transform: rotateY(2deg); }
.photo-grid img:nth-child(2) { transform: translateY(14px); }
.photo-grid img:nth-child(3) { transform: translateY(-6px); }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--night); border-radius: var(--radius-l); box-shadow: var(--lux-shadow); }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #c6cfd8; }
.cta-band .button { background: var(--paper); border-color: var(--paper); color: var(--night); }
.cta-band .button:hover { background: var(--ivory); border-color: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer {
  margin: 5rem auto 0;
  border-radius: 0;
  border-top: 1px solid var(--hairline);
  background: var(--night-deep);
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: #93a0ad; font-weight: 650;
}
.site-footer .brand strong { color: #fff; }
.site-footer a { color: #cbd4dd; }
.site-footer a:hover { color: #fff; }

/* ---------- Araç/sayfa düzenleri ---------- */
.tool-page {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(420px, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.tool-page h1, .tool-page .lead, .tool-page .notice { grid-column: 1; }
.tool-page .tool-shell { grid-column: 2; grid-row: 1 / span 4; position: relative; overflow: hidden; padding: clamp(1.25rem, 2.4vw, 2.2rem); }
.tool-shell:before { display: none; }

.filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.filters label { color: var(--smoke); font-size: .88rem; font-weight: 600; }
.filters select {
  margin-top: .4rem; min-height: 50px;
  border: 1px solid var(--hairline); border-radius: var(--radius-s);
  background: #fff; color: var(--night); box-shadow: none;
}
.filters select:focus-visible { border-color: var(--walnut); }

/* ---------- Makale ---------- */
.article { max-width: 780px; }
.article p, .article li { color: #333d47; }
.author-box { background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius-m); }
.inline-links a {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-s);
  font-weight: 600; color: var(--night);
}
.inline-links a:hover { border-color: var(--walnut-soft); color: var(--walnut); }

/* ---------- Hizmet sayfaları ---------- */
.service-hero h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.service-visual img {
  border: 6px solid var(--paper);
  border-radius: var(--radius-l);
  box-shadow: var(--lux-shadow);
  transform: rotateY(-4deg) rotateX(2deg);
}
.service-visual:after {
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, var(--ivory), var(--sand));
  box-shadow: var(--lux-soft-shadow);
}
.service-panel {
  border: 1px solid var(--hairline); border-radius: var(--radius-m);
  background: rgba(252, 250, 245, .95);
  backdrop-filter: blur(8px);
  box-shadow: var(--lux-soft-shadow);
}
.service-panel span { color: var(--smoke); }

.bento-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  background: var(--paper);
  box-shadow: var(--lux-soft-shadow);
}
.bento-card.dark { color: #fff; background: linear-gradient(150deg, var(--night), #31465c); border: 0; }
.bento-card.dark h2, .bento-card.dark h3 { color: #fff; }
.bento-card.dark p, .bento-card.dark li { color: rgba(255, 255, 255, .85); }

.service-list li { border-radius: var(--radius-s); background: var(--ivory); }

.timeline article:before {
  border-radius: 50%;
  background: var(--night);
  font-family: var(--font-serif); font-weight: 600;
}

.faq-lux details { padding: .5rem 0; border-radius: 0; }

.hero-premium:after { background: linear-gradient(90deg, transparent, var(--hairline), transparent); }

.visual-showcase, .expert-feature, .branches {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.trust-strip { max-width: 1180px; }

/* ---------- Duyarlılık ---------- */
@media (max-width: 1000px) {
  .tool-page { display: block; }
  .tool-page .tool-shell { margin-top: 1.5rem; }
  .filters { grid-template-columns: 1fr; }
  .edit-intro { grid-template-columns: 1fr; }
  .pullquote { max-width: none; }
  .konu-liste { grid-template-columns: 1fr; gap: 0; }
  .trust-strip div { border-left: 0; border-top: 1px solid var(--hairline); }
  .trust-strip div:first-child { border-top: 0; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band figure:first-child { grid-column: span 2; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }
  .hero-stage { min-height: 480px; }
  .hero-photo-main { height: 400px; }
  .hero-photo-room { height: 220px; }
  .card, .tool-shell { border-radius: var(--radius-m); }
  .room-map { min-height: 460px; border-radius: var(--radius-m); }
  .featured-guides span { display: none; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band figure:first-child { grid-column: auto; }
  .photo-band figure:nth-child(2), .photo-band figure:nth-child(3) { transform: none; }
  .photo-band img { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo, .wood-block, .photo-grid img, .photo-band figure, .expert-portrait img,
  .hero-stage:before, .service-visual img { transform: none !important; }
  .card, .button { transition: none !important; }
}
