/* Tolga Özdemir — Art Photography
   İlke: fotoğraflar önde, arayüz geri planda. */
:root {
  --bg: #f3f2ef;
  --fg: #161614;
  --muted: #6f6c65;
  --line: #dddad3;
  --gap: 10px;
  --pad: clamp(16px, 2.4vw, 36px);
  --font: "Inter Tight", system-ui, sans-serif;
  --read: 720px;
  --serif: "Fraunces", Georgia, serif;
  --soft: #3b3935;          /* ikincil metin */
  --card: #fff;             /* kart / form zemini */
  --ph: #e6e4df;            /* fotoğraf yüklenirken */
  --header-bg: rgba(243, 242, 239, .94);
  --field-border: #d3d0c8;
  color-scheme: light;
}
/* Koyu görünüm: kullanıcı seçtiyse ya da cihaz koyu moddaysa */
:root[data-theme="dark"] {
  --bg: #121211; --fg: #ecebe7; --muted: #9a968e; --line: #2a2926; --soft: #c9c6bf;
  --card: #1b1b19; --ph: #1f1e1c; --header-bg: rgba(18, 18, 17, .9); --field-border: #3a3935;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121211; --fg: #ecebe7; --muted: #9a968e; --line: #2a2926; --soft: #c9c6bf;
    --card: #1b1b19; --ph: #1f1e1c; --header-bg: rgba(18, 18, 17, .9); --field-border: #3a3935;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--fg); color: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }

/* ---------- üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 16px var(--pad); background: var(--header-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.brand { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; font-optical-sizing: auto; }
.brand span { font-family: var(--font); }
.brand span { font-weight: 400; color: var(--muted); margin-left: 6px; }
.nav { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; font-size: 15px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); }
.nav-contact { font-weight: 500; white-space: nowrap; font-size: 15px; }
@media (max-width: 1000px) {
  .site-header { flex-wrap: wrap; row-gap: 10px; }
  .brand span { display: none; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 18px; }
  .nav-contact { margin-left: auto; }
}

/* ---------- açılış ---------- */
.hero { position: relative; height: calc(100vh - 56px); height: calc(100svh - 56px); min-height: 420px; background: #111; overflow: hidden; cursor: zoom-in; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; background: var(--c, #111); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; left: var(--pad); bottom: var(--pad); color: #fff; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); pointer-events: none; }
.hero-caption h1 { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.hero-caption p { margin: 2px 0 0; font-size: 14px; opacity: .92; }

/* ---------- bölümler ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 var(--pad); margin: 0 0 18px; }
.section-head h2, .section-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.section-title { padding: 0 var(--pad); margin-bottom: 18px; }
.section-head > a { color: var(--muted); white-space: nowrap; transition: color .2s; }
.section-head > a:hover { color: var(--fg); }

/* ---------- fotoğraf satırları ----------
   JS kareleri satırlara böler; aynı satırdakiler eşit yükseklikte olur.
   JS yokken basit bir ızgara gösterilir. */
.rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.rows.is-justified { display: flex; flex-direction: column; }
.row { display: flex; gap: var(--gap); }
.ph { position: relative; flex: var(--ar) 1 0; aspect-ratio: var(--ar); min-width: 0; margin: 0; overflow: hidden; cursor: zoom-in;
  /* yüklenirken: önce baskın renk, sonra 24px bulanık önizleme */
  background: var(--lqip, none) center / cover no-repeat, var(--c, var(--ph)); }
.ph picture { display: contents; }
.ph-badge { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; pointer-events: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.ph img.loaded, .no-js .ph img { opacity: 1; }

/* ---------- iç sayfalar ---------- */
.page { padding: clamp(24px, 3.5vw, 48px) var(--pad) 0; max-width: calc(var(--read) + 2 * var(--pad) + 280px); }
.page--wide { max-width: none; }
.page-title { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--soft); max-width: 62ch; margin: 0 0 clamp(20px, 3vw, 36px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--fg); }
.gallery-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gallery-count { margin: 0; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 16px; padding: clamp(40px, 6vw, 80px) var(--pad) 0; }
.pager a { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; }
.pager a span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.pager a:last-child { text-align: right; margin-left: auto; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.cat-tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--lqip, none) center / cover no-repeat, var(--c, var(--ph)); }
.cat-tile picture { display: contents; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat-tile:hover img { transform: scale(1.02); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); font-size: 14px; }
.cat-tile strong { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 600; }

/* ---------- metin ---------- */
.prose { max-width: var(--read); font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 24px; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding-left: 18px; border-left: 3px solid var(--fg); color: var(--soft); }
.article-head .meta, .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.article-cover { margin: 0 0 32px; max-width: 1100px; }
.faq { max-width: var(--read); margin-top: 48px; }
.faq h2 { font-size: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 500; cursor: pointer; font-size: 18px; }
.faq details p { margin: 10px 0 0; color: var(--soft); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 80px; }
.about--text { grid-template-columns: 1fr; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin-top: 28px; font-size: 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { position: static; } }

/* ---------- kartlar: blog ve video ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 34px); padding: 0 var(--pad); }
.card-grid--page { padding: 0; margin-top: 8px; }
.post-card h3, .video-card h3 { margin: 8px 0 6px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.post-card p { margin: 0; color: var(--soft); }
.post-card time { font-size: 13px; color: var(--muted); }
.post-cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 12px; background: var(--ph); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 12px; background: rgba(0, 0, 0, .72); transition: background .2s; }
.play::after { content: ""; position: absolute; left: 28px; top: 14px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.video-thumb:hover .play, .video-player:hover .play { background: #e00; }
.video-player { position: relative; aspect-ratio: 16 / 9; width: min(100% - 2 * var(--pad), 86vh * 16 / 9); margin: 0 auto; background: #000; cursor: pointer; }
.video-player img, .video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---------- referanslar ---------- */
.refs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.refs-grid div { background: #fff; display: grid; place-items: center; padding: 18px 22px; min-height: 120px; }
.refs-grid img { max-height: 84px; width: auto; object-fit: contain; }

/* ---------- iletişim ---------- */
.contact { padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 6vw, 90px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 0 var(--pad); }
.contact-grid a { font-size: clamp(16px, 1.4vw, 19px); border-top: 1px solid var(--line); padding-top: 14px; overflow-wrap: anywhere; }
.contact-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-grid span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }

/* ---------- alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px var(--pad) 22px; color: var(--muted); font-size: 14px; margin-top: clamp(50px, 6vw, 90px); }
.page-home .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.footer-grid strong { color: var(--fg); font-weight: 600; }
.footer-grid p { margin: 4px 0 0; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: 13px; }

/* ---------- tam ekran görüntüleme ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: #0c0c0b; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100vw; max-height: 100vh; max-height: 100svh; width: auto; height: auto; object-fit: contain; }
.lb-btn { position: absolute; top: 0; bottom: 0; width: 12vw; min-width: 56px; color: #fff; font-size: 42px; opacity: .55; transition: opacity .2s; }
.lb-btn:hover { opacity: 1; }
.lb-prev { left: 0; text-align: left; padding-left: var(--pad); }
.lb-next { right: 0; text-align: right; padding-right: var(--pad); }
.lb-close { position: absolute; top: 14px; right: var(--pad); color: #fff; font-size: 22px; opacity: .7; z-index: 1; }
.lb-close:hover { opacity: 1; }
.lb-meta { position: absolute; left: var(--pad); bottom: 12px; margin: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .ph img, .cat-tile img { transition: none; }
}

/* =========================================================
   Düğmeler, çerez bandı
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 16px; border-radius: 6px; transition: opacity .2s; }
.btn:hover { opacity: .88; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.btn--block { width: 100%; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--card); color: var(--fg); border-radius: 10px; padding: 16px 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); font-size: 14px; }
.consent p { margin: 0 0 12px; }
.consent a { text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { min-height: 40px; font-size: 14px; }
.page-landing .consent { bottom: 76px; }
@media (min-width: 861px) { .page-landing .consent { bottom: 12px; } }

/* =========================================================
   Reklam sayfası (/teklif-al)
   ========================================================= */
.lp-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); background: var(--header-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lp-call { font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .lp-header .brand span { display: none; } }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr); min-height: calc(100vh - 54px); min-height: calc(100svh - 54px); }
.lp-hero-media { position: relative; background: #111; }
.lp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-body { padding: clamp(24px, 3.4vw, 56px) var(--pad); display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.lp-intro h1 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.lp-sub { margin: 0 0 14px; font-size: clamp(16px, 1.25vw, 18px); color: var(--soft); }
.lp-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lp-bullets li { padding-left: 26px; position: relative; }
.lp-bullets li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

.lp-form { background: var(--card); border-radius: 12px; padding: clamp(18px, 2vw, 26px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .06); display: grid; gap: 12px; }
.lp-form h2 { margin: 0 0 2px; font-size: 22px; letter-spacing: -.01em; }
.field { display: grid; gap: 5px; font-size: 14px; }
.field > span { color: var(--soft); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 12px; border: 1px solid var(--field-border); border-radius: 6px; background: var(--bg); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--fg); outline-offset: 0; border-color: var(--fg); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; color: var(--soft); align-items: start; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; }
.check a { text-decoration: underline; }
.lp-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.lp-errors { background: #fdecea; color: #8e2b20; border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.lp-errors p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-steps ol { list-style: none; margin: 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.lp-steps li span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg); font-weight: 600; }
.lp-steps h3 { margin: 12px 0 4px; font-size: 19px; }
.lp-steps p { margin: 0; color: var(--soft); }
.lp-faq .faq { padding: 0 var(--pad); margin: 0; }
.lp-final { text-align: center; padding: clamp(70px, 9vw, 120px) var(--pad); }
.lp-final h2 { font-size: clamp(26px, 3vw, 40px); margin: 0 0 8px; letter-spacing: -.02em; }
.lp-final p { color: var(--muted); margin: 0 0 22px; }
.lp-final-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-thanks { max-width: 680px; margin: 0 auto; padding: clamp(70px, 12vw, 160px) var(--pad); text-align: center; }
.lp-thanks h1 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; margin: 0 0 12px; }
.lp-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px var(--pad) 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.lp-footer a { text-decoration: underline; }

.lp-sticky { display: none; }
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero-media { height: 42vh; min-height: 240px; }
  .lp-hero-body { padding-top: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .lp-sticky { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); padding: 8px; gap: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .lp-sticky a { display: grid; place-items: center; min-height: 48px; border-radius: 6px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--field-border); }
  .lp-sticky a.is-primary { background: var(--fg); color: var(--bg); box-shadow: none; }
}
@media (min-width: 861px) { .lp-footer { padding-bottom: 22px; } }

/* =========================================================
   Başlık yazı tipi — yalnızca başlıklar ve isim
   ========================================================= */
.page-title, .section-head h2, .section-title, .hero-caption h1, .lp-intro h1, .lp-final h2, .lp-thanks h1,
.cat-tile strong, .post-card h3, .video-card h3, .prose h2, .faq h2, .lp-form h2, .lp-steps h3 {
  font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -.015em;
}
.hero-caption h1 { font-size: clamp(26px, 2.8vw, 38px); }

/* ---------- tema düğmesi ---------- */
.theme-toggle { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); flex: 0 0 auto; transition: color .2s, background .2s; }
.theme-toggle:hover { color: var(--fg); background: var(--line); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* =========================================================
   Tam ekran: yakınlaştırma, araçlar, öncesi/sonrası
   ========================================================= */
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.lb-pic { display: contents; }
.lb-img { cursor: zoom-in; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-select: none; }
.lightbox.is-zoomed .lb-img { cursor: grab; max-width: none; max-height: none; }
.lightbox.is-zoomed .lb-img:active { cursor: grabbing; }
.lightbox.is-zoomed .lb-btn { display: none; }
.lb-tools { position: absolute; top: 10px; right: var(--pad); display: flex; gap: 4px; z-index: 2; }
.lb-tool { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px; color: #fff; opacity: .75; display: grid; place-items: center; font-size: 14px; transition: opacity .2s, background .2s; }
.lb-tool:hover, .lb-tool[aria-pressed="true"] { opacity: 1; background: rgba(255, 255, 255, .12); }
.lb-tool[hidden] { display: none; }
.lb-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.lb-close { position: static; font-size: 20px; }
.lb-meta { z-index: 2; }
.lb-toast { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); background: rgba(255, 255, 255, .92); color: #111; padding: 6px 12px; border-radius: 6px; font-size: 13px; z-index: 3; }

.lb-before { position: absolute; display: grid; }
.lb-before[hidden] { display: none; }
.lb-before img { width: 100%; height: 100%; object-fit: contain; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.lb-before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .5); pointer-events: none; }
.lb-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.lb-tag { position: absolute; top: 12px; padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; pointer-events: none; }
.lb-tag--before { left: 12px; }
.lb-tag--after { right: 12px; }

/* =========================================================
   Sayfa geçişleri (View Transitions) — tek, sakin hareket
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(photo) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }
::view-transition-old(photo), ::view-transition-new(photo) { height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   EDİTORYAL KATMAN — fotoğraf kitabı kurgusu
   Ölçek: etiket 11 · metin 16–18 · künye 34–68 · başlık 44–120 · isim 52–172
   ========================================================= */
:root { --mono: "IBM Plex Mono", ui-monospace, monospace; }
.label { font: 500 11px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); padding-inline: var(--pad); }
.link-arrow { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 500; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- üst menü ---------- */
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-name { display: block; margin: 0; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--fg); letter-spacing: -.015em; }
.brand .brand-sub { display: block; margin: 4px 0 0; font-size: 9.5px; letter-spacing: .2em; }
.nav a { display: inline-flex; align-items: baseline; gap: 5px; }
.nav-no { font-family: var(--mono); font-size: 10px; color: var(--muted); opacity: .8; }
.header-clock { white-space: nowrap; }
.header-clock time { font-family: var(--mono); letter-spacing: 0; color: var(--fg); }
@media (max-width: 1240px) { .header-clock { display: none; } }
@media (max-width: 1000px) { .brand .brand-sub { display: none; } }

/* ---------- açılış ---------- */
.hero { cursor: zoom-in; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, .12) 38%, transparent 60%); }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: var(--pad); color: #fff; pointer-events: none; }
.hero-overlay a { pointer-events: auto; }
.hero-title h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 9.6vw, 172px); line-height: .86; letter-spacing: -.04em; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero-tagline { color: rgba(255, 255, 255, .86); margin: 0 0 14px 4px; }
.hero-index { display: grid; justify-items: end; gap: 8px; text-align: right; flex: 0 0 auto; padding-bottom: 8px; }
.hero-cat { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.5vw, 22px); }
.hero-cat:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-index .mono { color: rgba(255, 255, 255, .8); }
.hero-index .mono b { color: #fff; font-weight: 500; }
.hero-progress { display: block; width: 160px; height: 1px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero.is-playing .hero-progress i { animation: hero-progress 6s linear forwards; }
@keyframes hero-progress { to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .hero-overlay { flex-direction: column; align-items: flex-start; }
  .hero-index { justify-items: start; text-align: left; }
}

/* ---------- yaklaşım + içindekiler ---------- */
.intro { padding-block: clamp(64px, 9vw, 150px) clamp(16px, 3vw, 40px); row-gap: 48px; align-items: start; }
.intro-statement { grid-column: 1 / span 7; margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.3vw, 54px); line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
.toc { grid-column: 9 / -1; }
.toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.toc li a { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.toc .mono { color: var(--muted); }
.toc-name { font-family: var(--serif); font-size: 21px; letter-spacing: -.01em; transition: transform .25s ease; }
.toc li a:hover .toc-name { transform: translateX(4px); }
@media (max-width: 900px) { .intro-statement, .toc { grid-column: 1 / -1; } }

/* ---------- bölüm (kategori) ---------- */
.chapter { padding-top: clamp(72px, 10vw, 160px); scroll-margin-top: 40px; }
.ph--lead { flex: none; aspect-ratio: var(--ar); width: min(calc(100% - 2 * var(--gap)), calc(88vh * var(--ar))); margin: 0 auto; }
.chapter-head { padding-block: clamp(26px, 3vw, 44px) clamp(28px, 3.6vw, 56px); row-gap: 18px; align-items: start; }
.chapter-no { grid-column: 1 / span 2; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6vw, 100px); line-height: .78; color: var(--muted); font-variant-numeric: lining-nums; letter-spacing: -.03em; }
.chapter-title { grid-column: 3 / span 5; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 68px); line-height: .98; letter-spacing: -.028em; }
.chapter-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.chapter-intro { grid-column: 8 / -1; margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: var(--soft); max-width: 48ch; }
.chapter-meta { grid-column: 3 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 36px; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.chapter-meta > div { display: flex; align-items: baseline; gap: 10px; }
.chapter-meta dd { margin: 0; }
.chapter-meta .chapter-links { margin-left: auto; gap: 28px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .chapter-no { grid-column: 1 / -1; font-size: 40px; }
  .chapter-title, .chapter-intro, .chapter-meta { grid-column: 1 / -1; }
  .chapter-meta .chapter-links { margin-left: 0; }
}

/* kare numarası: üzerine gelince */
.ph-no { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 6px; border-radius: 3px; font: 500 11px/1 var(--mono); color: #fff; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.ph:hover .ph-no, .ph:focus-visible .ph-no { opacity: 1; }
@media (hover: none) { .ph-no { display: none; } }

/* ---------- kategori sayfası ---------- */
.cat-head { padding-block: clamp(18px, 2.4vw, 32px) clamp(28px, 4vw, 56px); row-gap: 14px; align-items: end; }
.cat-head-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: clamp(24px, 5vw, 72px); }
.cat-head-top .crumbs { margin: 0; }
.cat-head-top .mono { color: var(--muted); }
.cat-title { grid-column: 3 / span 6; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 124px); line-height: .9; letter-spacing: -.04em; }
.cat-head .chapter-intro { grid-column: 9 / -1; align-self: end; }
.cat-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(20px, 3vw, 40px); padding-top: 14px; border-top: 1px solid var(--line); }
.cat-bar .link-arrow { margin-left: auto; }
.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.view-switch button { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .2s, background .2s; }
.view-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
@media (max-width: 900px) {
  .cat-head .chapter-no { grid-column: 1 / -1; }
  .cat-title, .cat-head .chapter-intro { grid-column: 1 / -1; }
  .cat-bar .link-arrow { margin-left: 0; }
}

/* kontakt baskı */
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44%, 210px), 1fr)); gap: 30px 16px; padding: 0 var(--pad); }
.ph--sheet { flex: none; aspect-ratio: auto; background: none; overflow: visible; }
.sheet-frame { position: relative; aspect-ratio: 3 / 2; background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.ph--sheet .sheet-frame img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.ph--sheet:hover .sheet-frame, .ph--sheet:focus-visible .sheet-frame { border-color: var(--fg); }
.ph--sheet figcaption { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); }
.ph--sheet figcaption span:first-child { color: var(--fg); }

/* ---------- tam ekran: fotoğrafın renginden ortam, kare şeridi ---------- */
.lightbox { background-color: color-mix(in oklab, var(--lb-c, #0c0c0b) 16%, #0a0a09); transition: background-color .5s ease; }
.lb-stage { inset: 58px 0 112px; }
.lightbox.is-zoomed .lb-stage { inset: 0; }
.lb-stage .lb-img { max-width: calc(100vw - 2 * var(--pad) - 80px); max-height: 100%; }
.lb-btn { bottom: 112px; top: 58px; }
.lb-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 80px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 13px; }
.lb-count { color: #fff; }
.lb-cat { font-family: var(--serif); font-style: italic; font-size: 16px; color: #fff; }
.lb-alt:empty { display: none; }
.lb-hint { margin-left: auto; font-size: 11px; opacity: .6; }
.lb-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; gap: 6px; height: 68px; padding: 8px var(--pad) 12px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: 0 0 auto; height: 48px; aspect-ratio: var(--ar, 1.5); border-radius: 2px; overflow: hidden; opacity: .4; transition: opacity .2s; background: var(--c, #222); }
.lb-strip button:hover { opacity: .8; }
.lb-strip button[aria-current="true"] { opacity: 1; outline: 1px solid #fff; outline-offset: 2px; }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }
.lightbox.is-zoomed .lb-strip, .lightbox.is-zoomed .lb-meta { display: none; }
@media (max-width: 700px) {
  .lb-stage { inset: 54px 0 100px; }
  .lb-stage .lb-img { max-width: 100vw; }
  .lb-hint { display: none; }
  .lb-meta { bottom: 70px; }
  .lb-strip { height: 58px; } .lb-strip button { height: 40px; }
  .lb-btn { display: none; }
}

/* ---------- altbilgi ---------- */
.site-footer { padding: clamp(56px, 7vw, 110px) var(--pad) 22px; font-size: 15px; }
.site-footer .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer .footer-grid > div { display: flex; flex-direction: column; gap: 7px; color: var(--soft); }
.site-footer .footer-grid .label { margin-bottom: 8px; }
.site-footer .footer-grid a { color: var(--fg); width: fit-content; }
.site-footer .footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-wordmark { display: block; margin-top: clamp(56px, 8vw, 120px); font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 14.6vw, 300px); line-height: .8; letter-spacing: -.05em; white-space: nowrap; color: var(--fg); }
.site-footer .footer-bottom { margin-top: clamp(20px, 2vw, 32px); padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- genel ritim ---------- */
.section-head h2, .section-title { font-weight: 400; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.025em; }
.pager a { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.02em; }
.pager a .label { display: block; margin-bottom: 6px; font-family: var(--font); }

/* ---------- Vevona imzası (vevona.com'daki resmi logo) ---------- */
.site-footer .footer-bottom { align-items: center; }
.vevona { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.vevona-credit { color: var(--muted); margin-right: 4px; }
.vevona-mark { display: block; height: 24px; width: auto; flex-shrink: 0; }
.vevona-text { font-family: "Plus Jakarta Sans", var(--font); font-weight: 700; font-size: 14px; letter-spacing: .08em; line-height: 1; }
.vevona:hover .vevona-text { text-decoration: none; }
.vevona:hover .vevona-credit { color: var(--fg); }
