/* Terapist kişisel sitesi — tek şablon, dört renk teması */

[data-theme="zumrut"] {
  --p: #0F6B4A; --p-2: #1FA971; --p-3: #BFEBD3; --soft: #EEF8F2; --bg: #FFFFFF; --surface: #FFFFFF;
  --ink: #0F241A; --ink-2: #2F4A3D; --muted: #64796E; --line: #E0EDE5; --on-p: #FFFFFF; --deep: #0A3A28;
}
[data-theme="adacayi"] {
  --p: #4F6B55; --p-2: #8BA888; --p-3: #D6E3D2; --soft: #F3F5EE; --bg: #FCFCF8; --surface: #FFFFFF;
  --ink: #232B22; --ink-2: #445040; --muted: #687264; --line: #E4E8DC; --on-p: #FFFFFF; --deep: #2F3F32;
}
[data-theme="okyanus"] {
  --p: #0E5E6F; --p-2: #2BA3A8; --p-3: #C4E6E8; --soft: #EDF6F7; --bg: #FFFFFF; --surface: #FFFFFF;
  --ink: #0E2429; --ink-2: #2C4A50; --muted: #637A7F; --line: #DCEBED; --on-p: #FFFFFF; --deep: #0A3A44;
}
/* Özel tema: değişkenler sayfa açılırken body'ye yazılır; buradakiler yedek değerlerdir. */
[data-theme="ozel"] {
  --p: #0F6B4A; --p-2: #1FA971; --p-3: #BFEBD3; --soft: #EEF8F2; --bg: #FFFFFF; --surface: #FFFFFF;
  --ink: #0F241A; --ink-2: #2F4A3D; --muted: #64796E; --line: #E0EDE5; --on-p: #FFFFFF; --deep: #0A3A28;
  --deep-on: #FFFFFF; --accent-text: #0F6B4A;
}
[data-theme="gece"] {
  --p: #3DD68C; --p-2: #7BE8B3; --p-3: #1E5A43; --soft: #0F3226; --bg: #0B2A20; --surface: #113528;
  --ink: #EAF7F0; --ink-2: #C3DDD0; --muted: #8FB3A2; --line: #1D4A39; --on-p: #062418; --deep: #06201A;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16.5px/1.65 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--p); text-decoration: none; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.ic { flex-shrink: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); font-size: 14.5px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 600 15.5px/1 'Plus Jakarta Sans', sans-serif; padding: 15px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-p { background: var(--p); color: var(--on-p); box-shadow: 0 10px 24px -10px var(--p); }
.btn-p:hover { background: var(--deep); color: var(--on-p); }
[data-theme="gece"] .btn-p:hover { background: var(--p-2); }
.btn-o { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-o:hover { border-color: var(--p-2); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.preview-bar { background: #FDF4E3; color: #7A4F10; text-align: center; font-size: 13.5px; padding: 8px 16px; border-bottom: 1px solid #F3DDB3; }

/* üst menü */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.id { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.id b { display: block; font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; line-height: 1.2; }
.id small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id .logo { height: 42px; width: auto; max-width: 120px; object-fit: contain; }
.mark { width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; background: var(--p); color: var(--on-p); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.links a:hover { background: var(--soft); color: var(--p); }
@media (max-width: 820px) { .links { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; padding: 56px 0 84px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 90% 10%, var(--soft), transparent 65%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kick { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--p); background: var(--soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.tagline { font-size: 20px; color: var(--ink-2); max-width: 540px; line-height: 1.55; }
.modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 30px; }
.modes span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.modes .ic { color: var(--p); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.blob {
  position: absolute; inset: 6%; overflow: hidden; background: linear-gradient(145deg, var(--p-2), var(--p));
  border-radius: 58% 42% 46% 54% / 50% 56% 44% 50%; box-shadow: 0 30px 60px -30px var(--p);
  display: grid; place-items: center; z-index: 1;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
.mono-big { font-family: 'Fraunces', serif; font-size: clamp(64px, 10vw, 120px); color: var(--on-p); font-weight: 600; letter-spacing: -.02em; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--p-3); }
.ring.r1 { inset: -2%; animation: spin 60s linear infinite; }
.ring.r2 { inset: 14%; border-style: solid; border-color: color-mix(in srgb, var(--p-3) 50%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring.r1 { animation: none; } }
.bubble {
  position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 8px;
}
.bubble b { font-family: 'Fraunces', serif; font-size: 28px; color: var(--p); line-height: 1; }
.bubble small { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.bubble .ic { color: var(--p); }
.bubble.b1 { left: -4%; bottom: 12%; flex-direction: column; align-items: flex-start; gap: 2px; }
.bubble.b2 { right: -2%; top: 10%; }
@media (max-width: 900px) {
  .hero { padding: 32px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 340px; order: -1; }
  .bubble.b1 { left: 0; }
  .bubble.b2 { right: 0; }
}

/* kısa bilgiler */
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: 8px; }
.facts .wrap > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts .wrap > div:first-child { border-left: 0; }
.facts b { display: block; font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; color: var(--p); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; margin: 0 22px; padding: 0; }
  .facts .wrap > div:nth-child(3) { border-left: 0; }
  .facts .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* bölümler */
.sec { padding: 96px 0; }
.sec.tint { background: var(--soft); }
.head { max-width: 640px; margin-bottom: 40px; }
.sec h2 { font-size: clamp(30px, 4vw, 44px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p); margin-bottom: 12px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } .sec { padding: 72px 0; } }
.prose { font-size: 18px; color: var(--ink-2); line-height: 1.75; }
.prose p:first-child::first-letter { font-family: 'Fraunces', serif; float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--p); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags span { background: var(--soft); color: var(--p); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; align-items: center; gap: 14px; transition: transform .2s, border-color .2s; }
.spec:hover { transform: translateY(-2px); border-color: var(--p-2); }
.spec .num { font-family: 'Fraunces', serif; font-size: 15px; color: var(--muted); }
.spec b { font-weight: 600; font-size: 16px; flex: 1; }
.spec .ok { color: var(--p-2); }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.svc { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--surface); position: relative; overflow: hidden; }
.svc::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--soft); right: -50px; top: -50px; z-index: 0; }
.svc > * { position: relative; z-index: 1; }
.svc-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--p); color: var(--on-p); display: grid; place-items: center; margin-bottom: 18px; }
.svc h3 { font-size: 22px; }
.svc p { color: var(--muted); margin: 0; }

.edu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.edu li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 16px; color: var(--ink-2); }
.edu .ic { color: var(--p); margin-top: 3px; }

.visit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--surface); }
.card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.card h3 .ic { color: var(--p); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 11px 12px; border-radius: 12px; font-size: 15px; color: var(--ink-2); }
.hours li + li { border-top: 1px dashed var(--line); }
.hours li b { font-weight: 600; color: var(--ink); }
.hours li.today { background: var(--soft); border-color: transparent; }
.hours li.today span::after { content: ' · Bugün'; color: var(--p); font-weight: 600; font-size: 13px; }
.addr { color: var(--muted); }
.map { width: 100%; height: 300px; border: 0; border-radius: 16px; background: var(--soft); }
[data-theme="gece"] .map { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

.contact { background: var(--deep); color: var(--deep-on, #E9F3EE); }
[data-theme="gece"] .contact { background: var(--surface); }
.contact h2 { color: var(--deep-on, #fff); }
.contact .lead { color: color-mix(in srgb, var(--deep-on, #fff) 75%, transparent); font-size: 17.5px; max-width: 440px; }
.eyebrow.light { color: var(--p-3); }
[data-theme="gece"] .eyebrow.light { color: var(--p); }
.clist { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.clist li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.clist .ic { color: color-mix(in srgb, var(--deep-on, #fff) 80%, var(--p-3)); }
[data-theme="gece"] .clist .ic { color: var(--p); }
.clist a { color: var(--deep-on, #fff); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--deep-on, #fff); background: color-mix(in srgb, var(--deep-on, #fff) 12%, transparent); transition: background .15s; }
.socials a:hover { background: color-mix(in srgb, var(--deep-on, #fff) 24%, transparent); }

.form { background: var(--bg); color: var(--ink); border-radius: 26px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; gap: 14px; }
.form h3 { font-size: 24px; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form input, .form textarea {
  font: 15.5px/1.4 'Plus Jakarta Sans', sans-serif; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--p-2); box-shadow: 0 0 0 4px var(--soft); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } .form { padding: 24px; } }
.form .btn { margin-top: 4px; }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.sent { text-align: center; padding: 30px 10px; }
.sent .ic { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--soft); color: var(--p); margin-bottom: 14px; }

.foot { padding: 26px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--bg); }
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.made { display: inline-flex; align-items: center; gap: 8px; color: #0F6B4A; background: #EEF8F2; border: 1px solid #D5EDDF; padding: 7px 14px 7px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.made:hover { background: #E1F3E8; }
body:has(.wa-fab) .foot .wrap { padding-right: 96px; }

.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .15s; }
.wa-fab:hover { transform: scale(1.06); color: #fff; }

/* bulunamadı */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(700px 400px at 50% 0%, #E3F5EA, transparent 70%), #fff; color: #10231A; }
.nf h1 { font-size: 40px; }
.nf p { color: #62786D; max-width: 420px; margin: 0 auto 26px; }
.nf .code { font-family: ui-monospace, Menlo, monospace; background: #F3FBF6; border: 1px solid #DDEBE3; padding: 3px 8px; border-radius: 8px; color: #0F6B4A; }
.nf .btn-p { --p: #138A5E; --deep: #0F6B4A; --on-p: #fff; }
.modes span.seek { background: #FFF6E0; border-color: #F5D98B; color: #7A4F10; font-weight: 700; }
.modes span.seek .ic { color: #B7791F; }

/* ---------- iletişim: bot tuzağı, onay, doğrudan ulaşım ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.form label.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--p); }
.form.direct { align-content: start; }
.form.direct .muted { margin: 0 0 6px; }
.form.direct .btn { justify-content: center; }

/* ---------- blog ---------- */
.blog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.post-card { display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--surface); color: var(--ink); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--p-2); transform: translateY(-2px); }
.post-card small { color: var(--muted); font-size: 13px; }
.post-card h3 { font-size: 21px; line-height: 1.3; }
.post-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-card .more { color: var(--p); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.blog-page { padding: 64px 0 96px; }
.blog-page .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.blog-page .crumbs a { color: var(--p); }
.article { max-width: 740px; margin: 0 auto; }
.article h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin-bottom: 14px; }
.article .meta { color: var(--muted); font-size: 14.5px; margin-bottom: 34px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.article .body { font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.article .body h2 { font-size: 28px; margin: 38px 0 12px; color: var(--ink); }
.article .body h3 { font-size: 22px; margin: 30px 0 10px; color: var(--ink); }
.article .body p, .article .body ul, .article .body ol, .article .body blockquote { margin: 0 0 20px; }
.article .body blockquote { border-left: 4px solid var(--p-2); padding: 4px 0 4px 18px; color: var(--ink); font-style: italic; }
.article .body a { color: var(--p); text-decoration: underline; text-underline-offset: 3px; }
.article .body code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article .author-box { margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; display: flex; gap: 16px; align-items: center; background: var(--surface); }
.article .author-box .mark, .article .author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.article .author-box p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.blog-list { max-width: 900px; margin: 0 auto; }
.blog-list h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 30px; }
.blog-list .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .blog-list .posts { grid-template-columns: minmax(0, 1fr); } }
.related { max-width: 740px; margin: 56px auto 0; }
.related h2 { font-size: 24px; margin-bottom: 16px; }
.related .posts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.owner-bar { position: relative; z-index: 60; background: #FFF8E8; border-bottom: 1px solid #F3DDB3; color: #5C3F0B; font-size: 14px; }
.owner-bar .wrap { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.owner-bar .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.owner-bar form { margin: 0; }
.owner-bar .btn { padding: 8px 16px; font-size: 14px; }
.owner-bar .btn-go { background: #0F6B4A; color: #fff; border-color: #0F6B4A; }
.owner-bar .btn-back { background: #fff; color: #10231A; border-color: #E7D7B1; }
.empty-blog { text-align: center; color: var(--muted); padding: 40px 0; }

/* Uzun, bölünemeyen sözcükler sayfayı yana taşırmasın. */
body { overflow-wrap: break-word; }
.article, .post-card { min-width: 0; overflow-wrap: anywhere; }
/* Dar ekranda başlık: düğme tek satır, ad ve unvan kısalır (üst üste binmez). */
.top .btn { white-space: nowrap; flex: none; }
.top .id { min-width: 0; }
.top .id > span:last-child { min-width: 0; }
.top .id b, .top .id small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .top .wrap { gap: 12px; } .top .btn-sm { padding: 9px 14px; font-size: 14px; } }
