/* ==========================================================================
   Uzm. Klinik Psikolog Anıl Dalkılıç — kesanpsikolog.com
   Tek stil dosyası. Bağımlılık yok.
   ========================================================================== */

/* ---------- Fontlar (yerel) ---------- */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/source-serif-4-500.woff2) format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-serif-4-600.woff2) format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-400-800-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-400-800-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
  --bg: #f7f4ee;
  --bg-2: #efe9df;
  --bg-3: #e7e0d4;
  --surface: #ffffff;
  --ink: #15232b;
  --ink-2: #3f4f58;
  --muted: #57636a;
  --line: #ddd5c8;
  --line-2: #e8e2d8;
  --primary: #26475a;
  --primary-700: #1b3546;
  --deep: #13232c;
  --on-deep: #d5dde0;
  --on-deep-2: #9fb0b7;

  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --section: clamp(72px, 9vw, 128px);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-2);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* İtalik kullanılmaz: vurgu kalınlık ve renkle yapılır */
em, i, cite, address, dfn, var { font-style: normal; }
em { font-weight: 600; color: var(--ink); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--primary-700); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.55rem + 3vw, 4.1rem); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.005em; }
h4 { font-size: 1.125rem; font-weight: 600; }
strong, b { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: #cfdcd6; color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Yerleşim ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--bg-2); }
.section--white { background: var(--surface); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 16px 0 0; font-size: 1.08rem; max-width: 60ch; }
.section-foot { margin: 32px 0 0; }

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-sans); font-size: .98rem; font-weight: 700;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --btn-bg: var(--primary-700); --btn-bd: var(--primary-700); color: var(--btn-fg); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(21, 35, 43, .3); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--bg-2); --btn-fg: var(--ink); --btn-bd: var(--bg-2); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--wa { --btn-bg: #1f7a4d; --btn-bd: #1f7a4d; }
.btn--wa:hover { --btn-bg: #186340; --btn-bd: #186340; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem; color: var(--primary); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1px; }

/* ---------- Üst bölüm (header) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(247, 244, 238, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(21, 35, 43, .08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.42rem; letter-spacing: -.01em; }
.brand__role { margin-top: 5px; font-size: .84rem; font-weight: 500; color: var(--muted); }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px;
  font-size: .94rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .94rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--muted); }
.header-phone:hover { color: var(--primary); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -8px;
  border: 0; background: transparent; cursor: pointer; border-radius: var(--radius);
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 28px; right: 18px; }
.menu-open .menu-toggle span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 24px; right: 12px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-2);
}
.mobile-menu__contact { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu__contact p { margin: 0; color: var(--muted); font-size: .95rem; }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* ---------- Ana sayfa: giriş ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 900px);
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(64px, 8vw, 104px);
  background: var(--bg);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .78; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 238, .96) 0%, rgba(247, 244, 238, .84) 40%, rgba(247, 244, 238, .25) 72%, rgba(247, 244, 238, .1) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 28px; max-width: 11.5em; }
.hero .lead { margin-bottom: 36px; max-width: 40ch; }
.portrait { margin: 0; justify-self: end; width: min(100%, 460px); }
.portrait__frame { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--bg-3); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 24px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bg img { object-position: 78% 50%; opacity: .55; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(247, 244, 238, .9), rgba(247, 244, 238, .8)); }
  .portrait { justify-self: start; width: min(100%, 420px); }
}
/* Giriş animasyonu: yalnızca ilk ekran */
.js .hero [data-hero] { opacity: 0; transform: translateY(14px); }
.js .hero.is-ready [data-hero] {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .hero .portrait__frame { clip-path: inset(100% 0 0 0); }
.js .hero .portrait__frame img { transform: scale(1.1); }
.js .hero.is-ready .portrait__frame { clip-path: inset(0 0 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) .1s; }
.js .hero.is-ready .portrait__frame img { transform: scale(1); transition: transform 1.6s var(--ease-out) .1s; }

/* ---------- İki sütun (görsel + metin) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.split__body h2 { margin-bottom: 24px; }
.split__body .link-arrow { margin-top: 8px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 520px; }
}

/* ---------- Hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
.service { margin: 0; }
.service__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); margin-bottom: 20px; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.03); }
.service h3 { margin: 0 0 10px; font-size: 1.4rem; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.service p { margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Mekân fotoğrafları ---------- */
.mosaic { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 290px)); gap: 14px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .mosaic figure:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) { .mosaic { grid-auto-rows: 160px; gap: 10px; } }

/* ---------- Yazılar ---------- */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { margin: 0; }
.post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); margin-bottom: 18px; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post:hover .post__media img { transform: scale(1.03); }
.post h3 { font-size: 1.4rem; margin: 0 0 8px; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.post p { margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .posts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .posts, .posts--3 { grid-template-columns: 1fr; } }

/* ---------- Sık sorulan sorular ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: currentColor; transition: transform .4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer > div { padding: 0 48px 24px 0; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Randevu bandı ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--deep); color: var(--on-deep);
  padding-block: clamp(56px, 7vw, 96px);
}
.cta__texture { position: absolute; inset: 0; z-index: -1; }
.cta__texture img { width: 100%; height: 100%; object-fit: cover; opacity: .2; mix-blend-mode: luminosity; }
.cta__texture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 35, 44, .95) 0%, rgba(19, 35, 44, .7) 60%, rgba(19, 35, 44, .5) 100%); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: var(--on-deep-2); max-width: 52ch; margin: 0; }
.cta__contact { display: grid; justify-items: end; gap: 12px; }
.cta__phone { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); color: #fff; text-decoration: none; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.cta__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.cta__wa { display: inline-flex; align-items: center; gap: 8px; color: var(--on-deep); font-weight: 600; text-decoration: none; }
.cta__wa svg { width: 18px; height: 18px; }
.cta__wa:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .cta__inner { grid-template-columns: 1fr; } .cta__contact { justify-items: start; } }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info h2 { margin-bottom: 28px; }
.contact-list { margin: 0 0 28px; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .95rem; }
.contact-list dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--primary); text-decoration: underline; }
.map { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); transition: filter .5s var(--ease); }
.map:hover iframe { filter: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .map { min-height: 340px; } }
@media (max-width: 480px) { .contact-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Alt bölüm (footer) ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-2); padding: clamp(64px, 7vw, 96px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .98rem; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-deep); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__role { color: var(--on-deep-2); }
.footer-brand p { max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background-color .3s var(--ease), border-color .3s; }
.socials a:hover { background: #fff; color: var(--deep); border-color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; font-size: .84rem; }
.footer-bottom__text { display: flex; flex-wrap: wrap; gap: 6px 32px; min-width: 0; }
.footer-bottom p { margin: 0; }
/* Geliştirici bağlantısı (SelfMute Apps) */
.selfmute { display: inline-flex; flex: none; align-items: center; min-height: 40px; border-radius: 2px; opacity: .8; transition: opacity .2s ease; }
.selfmute:hover, .selfmute:focus-visible { opacity: 1; }
.selfmute:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.selfmute img { display: block; width: 124px; height: auto; }
@media (max-width: 640px) { .selfmute img { width: 96px; } }
/* Sağ alttaki WhatsApp düğmesi sayfa sonunda logonun üstüne binmesin (dar masaüstü ekranlar) */
@media (min-width: 761px) { .footer-bottom { padding-right: clamp(0px, calc(100px - (100vw - var(--container)) / 2), calc(100px - var(--gutter))); } }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Mobil işlem çubuğu ve WhatsApp (her zaman görünür) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 244, 238, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 rgba(21, 35, 43, .08);
}
.action-bar .btn { min-height: 48px; padding: 0 12px; }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgba(18, 120, 64, .55);
  transition: background-color .3s, transform .3s var(--ease);
}
.wa-float:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 31px; height: 31px; }
@media (max-width: 760px) {
  .action-bar { display: grid; }
  .wa-float { display: none; }
  body { padding-bottom: 72px; }
}

/* ---------- İç sayfa başlığı ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
  background: var(--bg-2);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; opacity: .5; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-2) 30%, rgba(239, 233, 223, .4)); }
.page-hero h1 { max-width: 20ch; margin-bottom: 20px; }
.page-hero .lead { margin: 0; }
.breadcrumb { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .88rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; opacity: .6; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Metin (yazı ve hizmet sayfaları) ---------- */
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--ink-2); }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin: 2.2em 0 .7em; max-width: 32ch; }
.prose h3 { font-size: 1.28rem; margin: 1.8em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: var(--ink-2); }
.prose ol { padding-left: 1.4em; }
.prose ol > li { padding-left: .4em; margin-bottom: .7em; }
.prose ol > li::marker { font-family: var(--font-serif); font-weight: 600; color: var(--primary); }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--primary);
  font-family: var(--font-serif); font-size: 1.32rem; line-height: 1.5; color: var(--ink);
}
.prose blockquote p { margin: 0; }
.prose a { font-weight: 600; }
.note {
  margin: 2.4em 0 0; padding: 18px 22px; border-radius: var(--radius);
  background: var(--bg-2);
  font-size: .95rem; line-height: 1.65; color: var(--ink-2);
}
.note strong { color: var(--ink); }
.note--alert { background: #f6ebe4; }

/* Yazı sayfası */
.article-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; }
.article-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); max-width: 21ch; margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 18px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.article-meta__author { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.article-meta__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.article-meta__author small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.article-cover { margin: 8px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-3); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 3 / 2; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

.aside-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; }
.aside-card h2, .aside-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.aside-card p { font-size: .95rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card--deep { background: var(--deep); border-color: var(--deep); color: var(--on-deep-2); }
.aside-card--deep h2, .aside-card--deep h3 { color: #fff; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-top: 1px solid var(--line-2); }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.aside-links a:hover { color: var(--primary); }
.aside-links a[aria-current] { color: var(--muted); }
.aside-links svg { width: 16px; height: 16px; flex: none; color: var(--muted); }

.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: center; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box h2 { font-size: 1.3rem; margin: 0 0 6px; }
.author-box p { font-size: .95rem; margin: 0 0 10px; }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } }

/* ---------- Hakkımda: özgeçmiş listesi ve fotoğraflar ---------- */
.cv { margin: 32px 0 0; border-top: 1px solid var(--line); }
.cv > div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cv dt { color: var(--muted); }
.cv dd { margin: 0; color: var(--ink); }
@media (max-width: 600px) { .cv > div { grid-template-columns: 1fr; gap: 4px; } }

.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.photo-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row figure:last-child { grid-column: span 2; aspect-ratio: 3 / 2; } }

/* ---------- Galeri ---------- */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin: 0 0 20px; }
.gallery__item a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.gallery__item img { width: 100%; transition: transform 1.1s var(--ease-out); }
.gallery__item a:hover img { transform: scale(1.03); }
.gallery__item figcaption { padding: 10px 2px 0; font-size: .88rem; color: var(--muted); }
.gallery__zoom { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transition: opacity .3s var(--ease); }
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__item a:hover .gallery__zoom, .gallery__item a:focus-visible .gallery__zoom { opacity: 1; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 22, 28, .94); color: #fff; }
.lightbox::backdrop { background: rgba(12, 22, 28, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .35s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: .9rem; color: #c8d2d6; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 72px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 2px; transition: opacity .3s var(--ease); }
.lightbox__stage img.is-loading { opacity: 0; }
.lightbox__caption { text-align: center; padding: 14px 20px 22px; font-size: .95rem; color: #dfe6e9; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .25s var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -62px; } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

/* ---------- 404 ---------- */
.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 0 80px; }
.error-page__code { font-family: var(--font-serif); font-weight: 500; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--primary); letter-spacing: -.04em; margin: 0 0 12px; }
.error-page h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.error-page .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Kaydırınca beliren bloklar (yalnızca bölüm düzeyinde, sade) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-hero] { opacity: 1; transform: none; }
  .js .hero .portrait__frame { clip-path: none; }
  .js .hero .portrait__frame img { transform: none; }
}

@media print {
  .site-header, .mobile-menu, .action-bar, .wa-float, .cta, .map, .site-footer { display: none !important; }
  body { background: #fff; padding: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
