/* ==========================================================================
   Yaman Media — site.css
   Tek dosya, derleme adımı yok. Renkler logodaki mavi tonlarından türetildi.
   Bölümler: 1 Değişkenler · 2 Temel · 3 Üst bölüm · 4 Düzen · 5 Bileşenler
             6 Sayfaya özel · 7 Galeri/lightbox · 8 Alt bölüm · 9 Hareket
   ========================================================================== */

/* 1. Değişkenler ---------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Logo tonları (assets/img/legacy/logo.png: açık mavi işaret ve "yaman",
     daha koyu mavi "media"); yalnız şerit/süs öğelerinde kullanılır */
  --logo-1: #3aa8f2;
  --logo-2: #1a7fd6;
  --logo-3: #0b5aa8;

  /* Yüzeyler ve metin */
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #e9f1fa;
  --ink: #0d1826;
  --ink-2: #455466;
  --line: #d9e1ea;

  /* Vurgu: AA kontrastlı mavi (bg ve surface üzerinde ≥ 4.9:1) */
  --brand: #0f6cc0;
  --brand-strong: #0a5296;
  --brand-ink: #ffffff;
  --focus: #0f6cc0;

  /* Koyu bant (alıntılar, çağrı kutusu) */
  --band-bg: #0d1826;
  --band-ink: #eef3f8;
  --band-ink-2: #a9b8c8;

  --shadow: 0 1px 2px rgb(13 24 38 / .06), 0 12px 32px -16px rgb(13 24 38 / .22);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.22rem + .8vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.36rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.05rem, 1.5rem + 2.6vw, 3.6rem);
  --step-5: clamp(2.45rem, 1.55rem + 4.4vw, 5.25rem);

  --space-xl: clamp(3.5rem, 2.25rem + 5vw, 7rem);
  --radius: 16px;
  --radius-s: 10px;
  --container: 1240px;
  --gutter: clamp(1.25rem, .75rem + 2.5vw, 3rem);
  --header-h: 4.5rem;
}


/* 2. Temel ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

address { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-s);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--bg); }

/* 3. Üst bölüm ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
  }
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
/* Orijinal logo (452×97 PNG). Koyu temada mavi yazı ve gri alt satır koyu zeminde
   okunmadığı için logo tek renk beyaza çevrilir. */
.brand-logo { display: block; width: auto; height: 2.75rem; max-width: 100%; }
.site-footer .brand-logo { height: 3.25rem; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: .975rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current] { color: var(--brand); background: var(--surface-2); }
.site-nav .nav-cta {
  margin-left: .35rem;
  padding-inline: 1.1rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--brand); color: var(--brand-ink); }
.site-nav .nav-cta[aria-current] { background: var(--brand); color: var(--brand-ink); }

.menu-toggle { display: none; }

@media (max-width: 940px) {
  .header-bar { flex-wrap: wrap; padding-block: .5rem; }
  .site-nav { flex-basis: 100%; }
  .site-nav .nav-cta { margin-left: 0; }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before,
  .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .js .site-nav { display: none; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .js .site-nav a { width: 100%; padding: .75rem 1rem; border-radius: var(--radius-s); }
  .js .site-nav .nav-cta { justify-content: center; margin-top: .5rem; }
}

/* 4. Düzen ---------------------------------------------------------------- */
.section { padding-block: var(--space-xl); }
.section--tint { background: var(--surface-2); }
.section--tight { padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.section-head h2 { margin: 0; font-size: var(--step-4); }
.section-head p { margin: 0; max-width: 50ch; color: var(--ink-2); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
}

/* 5. Bileşenler ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.25rem;
  color: var(--ink-2);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: .75rem;
  background: repeating-linear-gradient(-60deg, var(--logo-2) 0 2px, transparent 2px 6px);
}

.lead {
  max-width: 54ch;
  color: var(--ink-2);
  font-size: var(--step-1);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--band-ink); color: var(--band-bg); }
.btn-light:hover { background: var(--logo-1); color: var(--band-bg); }
.btn-small { min-height: 44px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card h3 { font-size: var(--step-2); }
.card p:last-child { margin-bottom: 0; }
.card-label {
  margin: 0 0 .75rem;
  color: var(--brand);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card-media {
  order: -1;
  margin: calc(-1 * clamp(1.25rem, 1rem + 1vw, 2rem));
  margin-bottom: 1.5rem;
  aspect-ratio: 7 / 4;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }

/* Çalışma kartları */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) clamp(1rem, .75rem + 1vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.works--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.work-card h3 { margin: .65rem 0 0; font-size: var(--step-1); letter-spacing: -.01em; }
.work-card h3 a { color: var(--ink); text-decoration: none; }
.work-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.work-card h3 a:focus-visible { outline: none; }
.work-card:has(a:focus-visible) .work-card-media { outline: 3px solid var(--focus); outline-offset: 3px; }
.work-card:hover h3 a { color: var(--brand); }
.work-card-media {
  order: -1;
  aspect-ratio: 340 / 227;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work-card:hover .work-card-media img { transform: scale(1.04); }
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .9rem;
  margin: 0;
  color: var(--ink-2);
  font-size: var(--step--1);
}
.work-meta time { font-weight: 600; color: var(--ink); }

/* Süreç adımları */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
}
.steps li { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--surface); }
.steps h3 { font-size: var(--step-1); }
.steps p { margin: 0; color: var(--ink-2); }
.step-num {
  display: block;
  margin-bottom: 1.25rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--brand);
}

/* Müşteri görüşleri */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin: 0;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--band-bg);
  color: var(--band-ink);
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.45;
}
.quote blockquote::before {
  content: "“";
  display: block;
  height: 2.25rem;
  color: var(--logo-1);
  font-size: 4.5rem;
  line-height: 1;
}
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { color: var(--band-ink-2); font-size: var(--step--1); }
.quote figcaption strong { display: block; color: var(--band-ink); font-size: var(--step-0); }

/* Teklif kartları */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
}
.offer {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.offer h3 { margin-bottom: .3rem; font-size: var(--step-2); }
.offer-sub { margin-bottom: 1.25rem; color: var(--ink-2); font-size: var(--step--1); font-weight: 500; }
.offer .actions { margin-top: auto; padding-top: .5rem; }

.checklist {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .5em;
  width: .7rem;
  height: .38rem;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* Koyu çağrı bandı */
.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
  border-radius: var(--radius);
  background: var(--band-bg);
  color: var(--band-ink);
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(30%, 14rem);
  background: repeating-linear-gradient(-60deg, var(--logo-2) 0 3px, transparent 3px 14px);
  opacity: .35;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
.mt-l { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.cta-band h2 { position: relative; z-index: 1; max-width: 24ch; margin: 0; font-size: var(--step-3); }
.cta-band h2 strong { color: var(--logo-1); font-weight: inherit; }
.cta-band .btn { position: relative; z-index: 1; }

/* Hizmet/kategori filtreleri */
.filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.filter a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.filter a:hover { border-color: var(--brand); color: var(--brand); }
.filter a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.filter .count {
  min-width: 1.6rem;
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
}
.filter a[aria-current] .count { background: rgb(255 255 255 / .16); color: inherit; }

.empty-note {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.empty-note p:last-child { margin-bottom: 0; }

/* Konum (breadcrumb) */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  color: var(--ink-2);
  font-size: var(--step--1);
  list-style: none;
}
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { display: inline-block; padding-block: .7rem; color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { padding-block: .7rem; color: var(--ink); font-weight: 600; }

/* 6. Sayfaya özel --------------------------------------------------------- */

/* Ana sayfa girişi */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.hero h1 {
  max-width: 15ch;
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -.035em;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-index li { border-bottom: 1px solid var(--line); }
.hero-index a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -.025em;
  text-decoration: none;
}
.hero-index a:hover { color: var(--brand); }
.hero-index span {
  min-width: 2rem;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .08em;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.feature h3 { margin: 0; font-size: var(--step-3); }
.feature p { margin: 0; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
}

/* İç sayfa başlığı */
.page-hero {
  padding-block: clamp(1.5rem, 1rem + 2.5vw, 3.5rem) clamp(2.5rem, 1.75rem + 3vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -.035em;
}
.page-hero .lead { margin: 1.25rem 0 0; }
.page-hero .actions { margin-top: 1.75rem; }

/* Hakkımızda */
.statement {
  margin: 0;
  font-size: var(--step-3);
  letter-spacing: -.025em;
}
.prose { max-width: 62ch; }
.prose p { color: var(--ink-2); }
.prose .intro { color: var(--ink); font-size: var(--step-1); line-height: 1.5; }

/* Hizmetler */
.service-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.service {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(14rem, 24rem);
  gap: 1.25rem 2.5rem;
  align-items: start;
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.service-num {
  margin: 0;
  padding-top: .3rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1;
}
.service h2 { margin-bottom: .6rem; font-size: var(--step-3); }
.service p { max-width: 62ch; margin: 0; color: var(--ink-2); }
.service .btn { margin-top: 1.25rem; }
.service-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.service-media img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .service { grid-template-columns: 3rem minmax(0, 1fr); }
  .service-media { grid-column: 2; max-width: 30rem; }
}
@media (max-width: 480px) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .service-media { grid-column: 1; }
}

/* Hakkımızda görseli */
.about-media {
  margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-media img { width: 100%; height: auto; }

/* Çalışma detayı */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.case-info { grid-column: 2; grid-row: 1; }
.case-gallery { grid-column: 1; grid-row: 1; }
@media (min-width: 901px) {
  .case-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
@media (max-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-info, .case-gallery { grid-column: 1; grid-row: auto; }
}

.case-info {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.case-info h2 { margin-bottom: 1.25rem; font-size: var(--step-2); }
.case-info .btn { width: 100%; margin-block: 1.25rem; }

.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; gap: .2rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt {
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.facts dd { margin: 0; font-weight: 500; }
.facts ul { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }

.tags-title {
  margin: 0 0 .6rem;
  color: var(--ink-2);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags li {
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--step--1);
}

/* Teklif ve iletişim */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1rem, .75rem + 1vw, 1.5rem);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-card h2, .contact-card h3 {
  margin: 0;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-card .big {
  margin: 0 0 .75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.contact-card .big a { color: inherit; text-decoration: none; }
.contact-card .big a:hover { color: var(--brand); }
.contact-card .actions { margin-top: auto; padding-top: .5rem; }

.link-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.note { color: var(--ink-2); font-size: var(--step--1); }

/* 404 */
.notfound h1 { max-width: 16ch; }
.notfound-code {
  margin: 0 0 1rem;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 11rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  -webkit-text-stroke: 2px var(--brand);
}

/* 7. Galeri / lightbox ---------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery li:first-child { grid-column: 1 / -1; }
.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.gallery a:hover img { transform: scale(1.03); }
.gallery-hint {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgb(13 24 38 / .82);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s;
}
.gallery a:hover .gallery-hint,
.gallery a:focus-visible .gallery-hint { opacity: 1; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop { background: rgb(5 10 18 / .94); }
.lightbox-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .75rem;
  height: 100%;
  padding: clamp(.75rem, .5rem + 1vw, 1.5rem);
}
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lightbox-count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox-figure { display: grid; place-items: center; min-height: 0; margin: 0; }
.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 9.5rem);
  border-radius: var(--radius-s);
  object-fit: contain;
}
.lightbox button {
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 1.1rem;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 999px;
  background: rgb(255 255 255 / .08);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.lightbox button:hover { background: rgb(255 255 255 / .18); }
.lightbox :focus-visible { outline-color: #fff; }
.lightbox[data-single] .lightbox-prev,
.lightbox[data-single] .lightbox-next { visibility: hidden; }

/* 8. Alt bölüm ------------------------------------------------------------ */
.site-footer {
  margin-top: var(--space-xl);
  padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
.footer-tagline {
  margin: .75rem 0 0;
  color: var(--ink-2);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-title {
  margin: 0 0 .75rem;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.site-footer li a:hover,
.footer-contact a:hover { color: var(--brand); text-decoration: underline; }
.footer-contact address { color: var(--ink-2); }
.footer-contact p { margin: .25rem 0 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--step--1);
}
.footer-bottom p { margin: 0; }
.footer-stripe {
  height: 8px;
  background: repeating-linear-gradient(-60deg, var(--logo-1) 0 6px, var(--logo-2) 6px 12px, var(--logo-3) 12px 18px);
}

/* 9. Hareket -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .work-card:hover .work-card-media img,
  .gallery a:hover img,
  .btn:hover .arrow { transform: none; }
}

/* Yazdırma */
@media print {
  .site-header, .site-footer, .skip-link, .cta-band, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Uzun e-posta adresi dar kartta taşmasın */
.contact-card .big a { overflow-wrap: anywhere; }
.contact-card .big a[href^="mailto:"] { font-size: .82em; letter-spacing: -.01em; }
