/* ============================================================
   Şeker Portakalı Kreş
   Tek sayfa, kaydırmalı. Kütüphane yok.
   ============================================================ */

/* --- Yazı tipleri (kendi sunucumuzda, Google'a istek gitmez) --- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/figtree-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;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/caveat-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/caveat-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;
}

/* --- Arka plan renklerinin yumuşak geçmesini sağlayan tanım ---
   @property olmadan renk değişimi ani olur; site yine çalışır.  */
@property --grad1 { syntax: '<color>'; inherits: true; initial-value: #F2A063; }
@property --grad2 { syntax: '<color>'; inherits: true; initial-value: #FFEEDC; }

:root {
  --grad1: #F2A063;
  --grad2: #FFEEDC;
  transition: --grad1 1s linear, --grad2 1s linear;

  --ink:        #2C2622;
  --ink-soft:   rgba(44, 38, 34, 0.66);
  --ink-faint:  rgba(44, 38, 34, 0.14);
  --paper:      #FFFDF7;
  --accent:     #C2643A;

  --glass:        rgba(255, 253, 247, 0.42);
  --glass-strong: rgba(255, 253, 247, 0.62);
  --glass-edge:   rgba(255, 255, 255, 0.60);

  --font:   'Figtree', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;

  --pad-x:   2rem;
  --header-h: 4.5rem;
  --ease:    cubic-bezier(0.22, 0.75, 0.24, 1);
  --radius:  0.75rem;
}

/* --- Temel sıfırlama --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grad2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  padding: 0.7rem 1.1rem; background: var(--ink); color: var(--paper);
  border-radius: 0.4rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* --- Kaydırma boyunca rengi değişen sabit arka plan --- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(var(--grad1), var(--grad2));
}

/* ============================================================
   TİPOGRAFİ
   ============================================================ */
h1, h2 {
  font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.script {
  font-family: var(--script);
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: none;
  color: var(--ink);
}
.script--sm { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.2rem); }

.lede { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; max-width: 34rem; }
.lede p { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.note { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   YERLEŞİM
   ============================================================ */
.pad { width: 100%; padding-inline: var(--pad-x); }

.sec { position: relative; display: flex; }
.sec > .pad { display: flex; }

/* Tam genişlikte: dekoratif fotoğraflar geniş ekranda kenarlara
   yayılabilsin (referanstaki gibi). İçerik blokları ayrıca sınırlanır. */
.sec-inner {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 2.5rem) 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* Geniş içerik blokları okunabilir bir genişlikte kalır */
.cards, .tiles, .gallery, .split, .feature-grid, .faq, .contact, .filters {
  max-width: 84rem;
  margin-inline: auto;
}

/* Masaüstünde sol sabit menü ~146px'e kadar uzanır. Tam genişlikteki
   bloklar onun altına girmesin diye iki yandan simetrik pay bırakılır.
   (Dar, ortalanmış .sec-content bu paya ihtiyaç duymaz.) */
@media (min-width: 992px) {
  .cards, .tiles, .gallery, .split, .feature-grid, .contact, .legal {
    padding-inline: 7.5rem;
  }
}

.sec-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}
.sec-content--wide { max-width: 40rem; }
.sub-head { position: relative; z-index: 10; text-align: center; }

.scroll-cue {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ============================================================
   ÜST BAR
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1.25rem;
}
/* Uzun bölümlerde içerik üst barın altından geçiyor. Aşağı doğru sönen
   bir bulanıklık perdesi, logo ile başlıkların üst üste binmesini engeller. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -1.25rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 253, 247, 0.55), rgba(255, 253, 247, 0));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
}
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.header-side { display: flex; gap: 0.4rem; }
.header-side--end { justify-content: flex-end; }

.icon-btn {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--ink-faint);
  background: var(--glass);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.icon-btn:hover { background: var(--glass-strong); border-color: var(--ink-soft); transform: translateY(-1px); }

.wordmark { text-decoration: none; text-align: center; line-height: 1; }
.wordmark-script {
  display: block;
  font-family: var(--script);
  font-size: 1.65rem;
  font-weight: 600;
}
.wordmark-sub {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.1rem;
  padding-left: 0.42em;
}

/* ============================================================
   SOL MENÜ + KAYDIRMA İLERLEMESİ
   ============================================================ */
.sidenav {
  position: fixed;
  inset: 10vh auto 10vh var(--pad-x);
  z-index: 90;
  display: flex;
  align-items: center;
  transition: opacity 0.35s;
}
.sidenav-inner {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.85rem;
  align-items: center;
}
.progress {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-block: 0.3rem;
}
.progress i {
  display: block;
  width: 0.875rem; height: 1px;
  background: var(--ink);
  border-radius: 100vw;
  opacity: 0.45;
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.progress i.is-on { opacity: 1; transform: scaleX(1); }

.sidenav-links { display: flex; flex-direction: column; gap: 0.85rem; }
.sidenav-links a {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.45;
  white-space: nowrap;
  transition: opacity 0.25s;
}
.sidenav-links a:hover { opacity: 0.85; }
.sidenav-links a.is-current { opacity: 1; font-weight: 600; }

/* ============================================================
   DÜĞMELER
   ============================================================ */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.btn-row--start { justify-content: flex-start; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; opacity: 0.75; }

/* Hafif dolgu: arkasına fotoğraf denk geldiğinde metin okunur kalsın */
.btn--ghost { background: var(--glass); backdrop-filter: blur(4px); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.875rem; }

/* ============================================================
   PARALLAX GÖRSELLERİ
   ============================================================ */
.deco {
  position: absolute;
  z-index: 1;
  margin: 0;
  will-change: transform;
}
.deco img { border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(60, 40, 25, 0.45); }
.deco--lg { width: 22vw; max-width: 34rem; }
.deco--sm { width: 14vw; max-width: 22rem; }
/* Sol taraftakiler sabit menünün altına girmemeli:
   8rem, menünün bittiği noktanın hemen sağı. */
.deco--left      { left: max(8rem, 7%);  top: 26%; }
.deco--right     { right: 2%;            top: 22%; }
.deco--right-top { right: 4%;            top: 8%;  }
.deco--left-top  { left: max(8rem, 6%);  top: 12%; }

/* ============================================================
   KARTLAR — "Neden Şeker Portakalı?"
   ============================================================ */
.cards {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
}
.card-icon {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--accent);
}
.card-icon svg { width: 1.35rem; height: 1.35rem; }
.card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   İKİLİ YERLEŞİM — Hakkımızda
   ============================================================ */
.split {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: 0 22px 48px -28px rgba(60, 40, 25, 0.5); }
.split-body { display: flex; flex-direction: column; gap: 1rem; }
.split-body > p { color: var(--ink-soft); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.5rem; }
.mv-item {
  padding: 1.15rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: var(--glass);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mv-item h3 { margin-bottom: 0.35rem; }
.mv-item p { font-size: 0.875rem; color: var(--ink-soft); }

/* ============================================================
   EĞİTİM PROGRAMI — liste + görseller
   ============================================================ */
.feature-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  gap: 3rem;
  align-items: center;
}
.list-items { display: flex; flex-direction: column; }
.list-items li {
  padding: 1.05rem 0;
  border-top: 1px solid var(--ink-faint);
}
.list-items li:last-child { border-bottom: 1px solid var(--ink-faint); }
.list-items h3 { margin-bottom: 0.25rem; }
.list-items p { font-size: 0.9rem; color: var(--ink-soft); }

.feature-media { display: grid; gap: 1.25rem; }
.feature-media figure { margin: 0; }
.feature-media img { border-radius: var(--radius); box-shadow: 0 20px 44px -26px rgba(60, 40, 25, 0.5); }
.feature-media .is-offset { margin-left: 22%; }
.feature-media figure:nth-child(1) { --i: 2; }
.feature-media figure:nth-child(2) { --i: 4; }

/* ============================================================
   ETKİNLİK KARTLARI
   ============================================================ */
/* Altı kart var: geniş ekranda 3+3 dizilir, boş göz kalmaz. */
.tiles {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(6px);
}
.tile figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.tile-body p { font-size: 0.875rem; color: var(--ink-soft); }

/* ============================================================
   GÜNÜN RİTMİ
   ============================================================ */
.rhythm {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 0.6rem;
}
.rhythm li { display: flex; align-items: center; gap: 0.85rem; }
.rhythm li:not(:last-child)::after {
  content: '';
  width: 1.35rem; height: 1px;
  background: var(--ink);
  opacity: 0.3;
}
.rhythm span {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--glass-edge);
  border-radius: 100vw;
  background: var(--glass);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ============================================================
   GALERİ
   ============================================================ */
.filters {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}
.chip {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ink-faint);
  border-radius: 100vw;
  background: var(--glass);
  font-size: 0.8125rem;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.chip:hover { border-color: var(--ink-soft); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.85rem;
}
.gallery li { margin: 0; }
.gallery li[hidden] { display: none; }
.shot {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  /* Kırpma sonrası galeride hem dikey hem yatay kareler var;
     kare hücre ikisine de adil davranıyor. */
  aspect-ratio: 1 / 1;
  background: var(--glass);
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.shot:hover img { transform: scale(1.05); }

/* ============================================================
   SIKÇA SORULAN SORULAR
   ============================================================ */
.faq {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq details {
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 0.6rem; height: 0.6rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-body { padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-body p { font-size: 0.9375rem; color: var(--ink-soft); }

/* ============================================================
   ALT BÖLÜM — İLETİŞİM
   ============================================================ */
.sec--footer .sec-inner { gap: 3.25rem; }

.contact {
  position: relative;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--ink-faint);
}
.contact-col h3 { margin-bottom: 0.7rem; }
.contact-col address, .contact-list { font-size: 0.9rem; color: var(--ink-soft); }
.contact-list { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-list--two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1rem; }
.contact-list a { text-decoration: none; transition: color 0.22s; }
.contact-list a:hover { color: var(--accent); }
.contact-col:nth-child(1) { --i: 0; }
.contact-col:nth-child(2) { --i: 1; }
.contact-col:nth-child(3) { --i: 2; }

.map-link { margin-top: 0.5rem; font-size: 0.875rem; }
.map-link a { text-decoration: none; border-bottom: 1px solid var(--ink-faint); transition: color 0.22s, border-color 0.22s; }
.map-link a:hover { color: var(--accent); border-color: var(--accent); }

.legal {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-align: center;
}
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 1.25rem; }
.legal-links a { text-decoration: none; border-bottom: 1px solid var(--ink-faint); transition: color 0.22s, border-color 0.22s; }
.legal-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   HUKUKİ METİN SAYFALARI (gizlilik-politikasi.html, kvkk.html)
   ============================================================ */
.doc { position: relative; }
.doc-inner {
  width: 100%;
  max-width: 46rem;
  margin-inline: auto;
  padding-block: calc(var(--header-h) + 4rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.doc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
.doc-head h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.doc-meta { font-size: 0.8125rem; color: var(--ink-soft); }

.doc-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  background: var(--glass-strong);
  backdrop-filter: blur(6px);
}
.doc-body section { display: flex; flex-direction: column; gap: 0.6rem; }
.doc-body h2 { font-size: 1rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.doc-body p, .doc-body li { font-size: 0.9375rem; color: var(--ink-soft); }
.doc-body ul { display: flex; flex-direction: column; gap: 0.45rem; padding-left: 1.1rem; list-style: disc; }
.doc-body ul li { padding-left: 0.2rem; }
.doc-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.doc-body a:hover { border-color: var(--accent); }
.doc-body strong { font-weight: 600; color: var(--ink); }
.doc-back { display: flex; justify-content: center; }

/* ============================================================
   GALERİ BÜYÜTME KATMANI
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(30, 24, 20, 0.9);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-img {
  grid-column: 2;
  max-width: 100%;
  max-height: 88svh;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.lb-close, .lb-prev, .lb-next {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.22s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.3); }
.lb-close { position: absolute; top: 1rem; right: 1rem; font-size: 1.8rem; }
.lb-prev { grid-column: 1; }
.lb-next { grid-column: 3; }
body.is-locked { overflow: hidden; }

/* ============================================================
   BELİRME ANİMASYONLARI
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Sıralı belirmesi olan kapsayıcılar kendileri hareket etmez */
.cards[data-reveal], .tiles[data-reveal], .gallery[data-reveal],
.faq[data-reveal], .feature-grid[data-reveal], .contact[data-reveal] {
  opacity: 1;
  transform: none;
}
[data-reveal] :is(.card, .tile, .list-items li, .faq details, .contact-col, .feature-media figure) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) calc(var(--i, 0) * 70ms),
              transform 0.7s var(--ease) calc(var(--i, 0) * 70ms);
}
.gallery[data-reveal] li {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.6s var(--ease) calc(var(--i, 0) * 28ms),
              transform 0.6s var(--ease) calc(var(--i, 0) * 28ms);
}
[data-reveal].is-in :is(.card, .tile, .list-items li, .faq details, .contact-col, .feature-media figure),
.gallery[data-reveal].is-in li { opacity: 1; transform: none; }

.rhythm li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease) calc(0.25s + var(--i, 0) * 90ms),
              transform 0.55s var(--ease) calc(0.25s + var(--i, 0) * 90ms);
}
[data-reveal].is-in .rhythm li { opacity: 1; transform: none; }

/* ============================================================
   DUYARLI YERLEŞİM
   ============================================================ */
@media (max-width: 1400px) {
  /* Dar ekranda dekoratifler küçülür, yoksa metne bindirir */
  .deco--lg { width: 18vw; }
  .deco--sm { width: 11vw; }
}

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-media { max-width: 22rem; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-media { grid-template-columns: 1fr 1fr; max-width: 32rem; margin-inline: auto; }
  .feature-media .is-offset { margin-left: 0; margin-top: 2rem; }
}

@media (max-width: 991px) {
  :root { --pad-x: 1.25rem; --header-h: 4rem; }

  /* Menü alta taşınır, çizgiler yataylaşır */
  .sidenav {
    inset: auto 0 0 0;
    padding: 0.7rem var(--pad-x) 0.85rem;
    background: linear-gradient(to top, rgba(255, 253, 247, 0.85), rgba(255, 253, 247, 0));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .sidenav-inner { grid-template-columns: 1fr; gap: 0.5rem; width: 100%; }
  .progress { flex-direction: row; justify-content: space-between; width: 100%; padding: 0; }
  .progress i { width: 1px; height: 0.75rem; transform: scaleY(0.55); transform-origin: center bottom; }
  .progress i.is-on { transform: scaleY(1); }
  .sidenav-links {
    flex-direction: row;
    gap: 0.9rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.15rem;
    scroll-padding-inline: 1.5rem;
    /* Sağda kaydırılabilir olduğunu belli eden yumuşak solma */
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%);
  }
  .sidenav-links::-webkit-scrollbar { display: none; }
  .sidenav-links a { scroll-snap-align: start; }

  .sec-inner { padding-block: calc(var(--header-h) + 2.5rem) 7rem; gap: 2.25rem; }

  /* Mobilde dekoratifler metnin arkasında kalır; üst bara ve alt menüye
     girmeyecek şekilde yukarıdan/aşağıdan pay bırakılır. */
  .deco { opacity: 0.34; }
  .deco--lg { width: 46vw; max-width: none; }
  .deco--sm { width: 30vw; max-width: none; }
  .deco--left      { left: -8%;  top: auto; bottom: 14%; }
  .deco--right     { right: -8%; top: auto; bottom: 14%; }
  .deco--right-top { right: -6%; top: 13%;  bottom: auto; }
  .deco--left-top  { left: -6%;  top: 13%;  bottom: auto; }

  .mv { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0.6rem; }
  .scroll-cue { display: none; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-img { grid-column: 1; grid-row: 1; }
  .lb-prev, .lb-next { grid-row: 2; }
  .lb-prev { grid-column: 1; justify-self: center; transform: translateX(-2.25rem); }
  .lb-next { grid-column: 1; justify-self: center; transform: translateX(2.25rem); }
}

@media (max-width: 560px) {
  .wordmark-script { font-size: 1.35rem; }
  .wordmark-sub { font-size: 0.5rem; letter-spacing: 0.34em; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { width: 100%; }
  .contact-list--two { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
}

/* ============================================================
   HAREKET AZALTMA TERCİHİ
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  [data-reveal] :is(.card, .tile, .list-items li, .faq details, .contact-col, .feature-media figure),
  .gallery[data-reveal] li,
  .rhythm li { opacity: 1; transform: none; }
  .deco { transform: none !important; }
}

@media print {
  .sidenav, .site-header, .bg, .deco, .lightbox, .scroll-cue { display: none !important; }
  .sec-inner { min-height: 0; padding-block: 1.5rem; }
  body { background: #fff; }
}
