/* ============================================================
   PRIVART SUNUM — STİL
   Koyu tema varsayılan · gold #fac139 vurgu · Oswald + Open Sans
   ============================================================ */

/* ---------- Fontlar (self-host, offline uyumlu) ---------- */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-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: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-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: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/opensans-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: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/opensans-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;
}

/* ---------- Tema değişkenleri ---------- */
:root {
  --gold: #fac139;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
:root[data-theme="dark"] {
  --meta-blue: #0082fb; /* koyu zeminde daha okunur Meta mavisi */
  --bg: #111517;
  --bg-2: #15191c;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: #1b2a2f;
  --text: #f2f3f4;
  --text-dim: #9aa3a7;
  --line: rgba(255, 255, 255, 0.09);
  --accent: var(--gold);
  --accent-ink: var(--gold);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --chip-on-ink: #111517;
}
:root[data-theme="light"] {
  --meta-blue: #0467df; /* resmi Meta mavisi */
  --bg: #f5f5f5;
  --bg-2: #eeeeee;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #1b2a2f;
  --text-dim: #5d6a70;
  --line: rgba(27, 42, 47, 0.12);
  --accent: var(--gold);
  --accent-ink: #b78511;
  --shadow: 0 18px 50px rgba(27, 42, 47, 0.14);
  --chip-on-ink: #1b2a2f;
}

/* Tema'ya göre logo varyantı */
:root[data-theme="dark"] .only-light { display: none !important; }
:root[data-theme="light"] .only-dark { display: none !important; }

/* ---------- Taban ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow: hidden; /* kaydıran tek eleman .deck */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Dokunmatik: vurgu karesini ve çift-dokunma yakınlaştırma gecikmesini kaldır */
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- Deck / sahneler ---------- */
.deck {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}
.scene {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(64px + env(safe-area-inset-top)) 0 32px;
  background: var(--bg);
}
.scene:nth-child(even) { background: var(--bg-2); }
/* Ekran dışı sahnelerin düzen/boyama maliyetini ertele (desteklemeyen tarayıcı yok sayar) */
.scene:not(.scene-hero) { content-visibility: auto; contain-intrinsic-size: auto 100vh; }
.wrap {
  width: min(1060px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1; /* ghost numaraların üstünde */
}
.wrap-wide { width: min(1240px, 96vw); }

/* Giriş animasyonları */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scene.in-view [data-anim] { opacity: 1; transform: none; }
.scene.in-view [data-anim]:nth-child(2) { transition-delay: 0.1s; }
.scene.in-view [data-anim]:nth-child(3) { transition-delay: 0.2s; }
.scene.in-view [data-anim]:nth-child(4) { transition-delay: 0.3s; }
.scene.in-view [data-anim]:nth-child(5) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .deck { scroll-behavior: auto; }
}
/* 3D tilt — transform JS'ten gelir; bırakınca yumuşak dönüş */
.stat, .partner, .work { transition: transform 0.3s ease; }
.tilting { transition: border-color 0.3s ease !important; will-change: transform; }

/* ?static=1 — animasyonsuz mod (test/yazdırma) */
.no-anim [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .deck { scroll-behavior: auto; }
.no-anim .hero-glow, .no-anim .scroll-hint { animation: none; }

/* ---------- Tipografi ---------- */
.scene-label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.9rem;
}
h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
}
.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 46rem;
  margin-bottom: clamp(1.6rem, 4vh, 3rem);
}

/* ---------- İlerleme çizgisi + ghost sahne numaraları ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #ffd977);
  z-index: 60;
  transition: width 0.2s linear;
  border-radius: 0 2px 2px 0;
}
.scene-num {
  position: absolute;
  top: calc(56px + env(safe-area-inset-top));
  right: 3vw;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(7rem, 24vmin, 16rem);
  line-height: 1;
  color: var(--text);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
:root[data-theme="light"] .scene-num { opacity: 0.055; }

/* ---------- Akan logo kuşağı (açılış) ---------- */
.logo-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(66px + env(safe-area-inset-bottom));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}
/* Kartlar 200×200 kare (logo içinde ortalı); yükseklik = kart boyu */
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  width: max-content;
  padding: 4px 0;
  animation: marquee 150s linear infinite;
  opacity: 0.72;
}
.logo-track img {
  height: clamp(64px, 10vh, 96px);
  width: auto;
  flex: 0 0 auto;
}
:root[data-theme="light"] .logo-track { opacity: 0.8; }
:root[data-theme="light"] .logo-track img { filter: brightness(0.42); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.no-anim .logo-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
@media (max-height: 640px) { .logo-marquee { display: none; } }
@media (max-width: 560px) { .logo-track img { height: clamp(58px, 8.5vh, 76px); } .logo-track { animation-duration: 120s; } }

/* ---------- Gold shimmer (logo + istatistik kartları) ---------- */
.hero-brand, .stat { position: relative; overflow: hidden; }
.hero-brand::after, .stat::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 55%;
  left: -80%;
  background: linear-gradient(105deg, transparent, rgba(255, 236, 190, 0.14) 45%, rgba(250, 193, 57, 0.22) 50%, rgba(255, 236, 190, 0.14) 55%, transparent);
  transform: skewX(-18deg);
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
}
.stat:nth-child(2)::after { animation-delay: 0.9s; }
.stat:nth-child(3)::after { animation-delay: 1.8s; }
.stat:nth-child(4)::after { animation-delay: 2.7s; }
.hero-brand::after { animation-delay: 1.4s; animation-duration: 8s; }
@keyframes shimmer {
  0% { left: -80%; }
  32% { left: 130%; }
  100% { left: 130%; }
}
.no-anim .hero-brand::after, .no-anim .stat::after { animation: none; left: -80%; }
@media (prefers-reduced-motion: reduce) {
  .hero-brand::after, .stat::after { animation: none; }
}

/* ---------- Üst bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) clamp(16px, 4vw, 36px) 14px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar-logo img { height: 22px; width: auto; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-dim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.3s, transform 0.2s;
}
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle:hover { color: var(--accent-ink); }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: none; }

/* ---------- Sahne noktaları ---------- */
.dots {
  position: fixed;
  right: clamp(10px, 2.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dots a {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.45;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
}
.dots a.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.35);
}
.dots a .tip {
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
@media (hover: hover) {
  .dots a:hover .tip, .dots a.active:hover .tip { opacity: 1; }
}

/* ---------- 1 · Açılış ---------- */
.scene-hero { text-align: center; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-glow {
  position: absolute;
  width: 72vmin; height: 72vmin;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 193, 57, 0.14) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  pointer-events: none;
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: translate(-50%, -58%) scale(0.92); opacity: 0.8; }
  to   { transform: translate(-50%, -58%) scale(1.08); opacity: 1; }
}
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-brand { line-height: 0; }
.hero-brand img {
  width: clamp(230px, 38vw, 380px);
  height: auto;
}
/* Üç sütun: software • media • marketing */
.hero-pillars {
  margin-top: clamp(1rem, 2.6vh, 1.6rem);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(0.8rem, 2.1vw, 1.08rem);
  letter-spacing: 0.4em;
  text-indent: 0.4em; /* harf aralığı ortalamayı bozmasın */
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-pillars span {
  color: var(--accent);
  letter-spacing: 0;
  margin: 0 0.75em 0 0.35em; /* harf aralığıyla birlikte iki yanda eşit boşluk */
}
@media (max-width: 480px) {
  .hero-pillars { font-size: 0.66rem; letter-spacing: 0.28em; text-indent: 0.28em; }
}

/* Konsol satırı — yazılım şirketi hissi */
.hero-slogan {
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.6vw, 1.3rem);
  color: var(--text);
}
.hero-slogan::before { content: "~$ "; color: var(--accent-ink); }
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.no-anim .cursor { animation: none; }
.hero-motto {
  margin-top: clamp(0.9rem, 2.5vh, 1.3rem);
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.8vw, 0.86rem);
  color: var(--text-dim);
}
.scroll-hint {
  position: absolute;
  bottom: calc(22px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ---------- Harita: İzmir'den dünyaya ---------- */
.lead-tight { margin-bottom: clamp(1rem, 2.5vh, 1.6rem); }
.map-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 552;
  max-height: 56vh;
  margin: 0 auto;
}
.map-land {
  position: absolute;
  inset: 0;
  color: var(--text-dim);
  opacity: 0.38;
  background: currentColor;
  -webkit-mask: url("../assets/img/map-dots.png") center / contain no-repeat;
  mask: url("../assets/img/map-dots.png") center / contain no-repeat;
}
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-arc {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.85;
  transition: stroke-dashoffset 1.3s ease;
}
.scene.in-view .map-arc { stroke-dashoffset: 0 !important; }
.map-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2.5; }
.map-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.scene.in-view .map-ring { animation: mapring 2.6s ease-out infinite; }
.map-home .map-ring { animation-delay: 0.6s; }
@keyframes mapring {
  0% { transform: scale(0.6); opacity: 0.9; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { opacity: 0; }
}
.no-anim .map-ring { animation: none !important; }
.map-city text {
  fill: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 4;
  stroke-linejoin: round;
}
.map-home text { fill: var(--accent-ink); letter-spacing: 0.08em; }
@media (max-width: 560px) {
  .map-city text { font-size: 26px; stroke-width: 7; }
  .map-dot { stroke-width: 4; }
}

/* ---------- 2 · Biz Kimiz / istatistikler ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 22px);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 3vh, 28px) 10px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--accent-ink);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Resmi iş ortaklığı rozetleri */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 18px);
  margin-top: clamp(14px, 3vh, 26px);
}
.partner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
:root[data-theme="light"] .partner { background: #ffffff; }
.partner svg { flex: 0 0 auto; }
.partner span { display: flex; flex-direction: column; line-height: 1.15; }
.partner b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.partner small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .partner { padding: 10px 16px 10px 12px; gap: 9px; }
  .partner b { font-size: 0.88rem; }
  .partner small { font-size: 0.6rem; }
  .partner svg { width: 20px; height: 20px; }
}

/* ---------- 3 · Hizmetler ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.8vw, 20px);
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(16px, 2.6vh, 26px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service:hover { transform: translateY(-4px); border-color: rgba(250, 193, 57, 0.5); }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(250, 193, 57, 0.12);
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.service h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.service p {
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  line-height: 1.65;
  color: var(--text-dim);
}
.service-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.service-badges i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}
:root[data-theme="light"] .service-badges i { background: #ffffff; }
.service-badges i svg { width: 15px; height: 15px; flex: 0 0 auto; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .service { padding: 14px; border-radius: 14px; }
  .service p { display: none; } /* telefonda kompakt kartlar */
  .service-icon { width: 36px; height: 36px; margin-bottom: 10px; }
}

/* ---------- 4 · Referanslar ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: clamp(12px, 2.5vh, 22px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--chip-on-ink);
  font-weight: 600;
}
/* Tüm referanslar tek ekranda: iç kaydırma yok, kompakt kareler */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: clamp(6px, 0.9vw, 10px);
}
.client {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.3s, scale 0.3s;
}
.client img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; margin: auto; transition: opacity 0.45s ease; }
.client img.v2 { opacity: 0; }
.client:hover, .client:active { transform: translateY(-3px); border-color: rgba(250, 193, 57, 0.5); }
.client:hover img.v1, .client:active img.v1, .client.lit img.v1 { opacity: 0; }
.client:hover img.v2, .client:active img.v2, .client.lit img.v2 { opacity: 1; }
.client.lit { border-color: rgba(250, 193, 57, 0.45); box-shadow: 0 0 22px rgba(250, 193, 57, 0.12); }
.client.hide { display: none; }
:root[data-theme="light"] .client { background: #ffffff; }
/* açık temada gri logolar beyaz kartta kaybolmasın */
:root[data-theme="light"] .client img.v1 { filter: brightness(0.42); }

/* ---------- Prodüksiyon galerisi ---------- */
.service-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
#s-produksiyon { flex-direction: column; align-items: stretch; justify-content: center; }
.gallery-strip { position: relative; z-index: 1; width: 100%; }
.lightbox-nav[hidden] { display: none; }
/* Dikey reels şeridi: kartlar telefon oranında, yatay kaydırılır.
   Şerit .wrap dışında; iç boşluğu .wrap'in kenarıyla hizalanır, sağda ekrandan taşar. */
.gallery-strip {
  --gw: min(1060px, 92vw);
  --card-h: clamp(220px, 44vh, 420px);
  margin-top: clamp(4px, 1vh, 10px);
}
.gallery {
  display: flex;
  gap: clamp(10px, 1.4vw, 16px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: calc((100vw - var(--gw)) / 2);
  padding: 6px calc((100vw - var(--gw)) / 2) 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.g-item {
  flex: 0 0 auto;
  width: calc(var(--card-h) * 9 / 16);
  scroll-snap-align: start;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* buton UA stili 'center' dayatır, span'lar büzülür */
}
.g-media, .g-info { width: 100%; }
.g-item:not(.g-empty):hover { transform: translateY(-3px); border-color: rgba(250, 193, 57, 0.5); }
.g-item.hide { display: none; }
.g-empty { cursor: default; }
.g-media {
  position: relative;
  display: block;
  height: var(--card-h);
  background: var(--bg);
}
.g-media .ph, .g-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* alt kenar karartma: rozet ve süre her kapakta okunur kalsın */
.g-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}
.g-play {
  position: absolute;
  left: 10px; bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
}
.g-play::before {
  content: "";
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(250, 193, 57, 0.95) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 6.5l9 5.5-9 5.5z" fill="%23111517"/></svg>') center / 20px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.g-play i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 21, 23, 0.72);
  padding: 3px 8px;
  border-radius: 7px;
}
.g-photobadge {
  position: absolute;
  left: 10px; bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(17, 21, 23, 0.72);
  color: #fff;
  z-index: 2;
}
.g-photobadge i {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.g-info { display: block; padding: 9px 11px 11px; }
.g-info b {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-info small {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
/* Alt şerit: sayaç | kalite notu | kaydırma ipucu — tek, dengeli satır */
.gallery-foot {
  display: grid;
  grid-template-columns: 1fr minmax(0, 40rem) 1fr;
  grid-template-areas: "count note hint";
  align-items: center;
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: 10px;
  padding-top: clamp(8px, 1.6vh, 14px);
  border-top: 1px solid var(--line);
  margin-top: clamp(2px, 0.6vh, 6px);
}
.gf-count, .gf-hint {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gf-count { grid-area: count; color: var(--accent-ink); font-weight: 600; }
.gf-hint { grid-area: hint; justify-self: end; color: var(--text-dim); opacity: 0.75; }
.gallery-note {
  grid-area: note;
  margin: 0;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(0.7rem, 1.25vw, 0.76rem);
  line-height: 1.6;
  color: var(--text-dim);
}
.gallery-note b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  vertical-align: 1px;
}
.gallery-note .q-badge {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 2px 4px;
  margin-right: 7px;
  border-radius: 3px;
  border: 1.5px solid var(--accent-ink);
  color: var(--accent-ink);
  vertical-align: 1px;
}
.gallery-note[hidden] { display: none; }
@media (max-width: 760px) {
  .gallery-foot {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "count hint" "note note";
  }
  .gallery-note { padding-inline: 4px; }
}
@media (max-width: 560px) {
  .gallery-strip { --card-h: clamp(220px, 42vh, 360px); }
}

/* Galeri oynatıcı: dikey ve yatay videoya göre kendini boyutlar */
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 10, 11, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-body {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-areas: "prev media next" ". cap .";
  align-items: center;
  justify-items: center;
  column-gap: clamp(8px, 2vw, 22px);
  row-gap: 10px;
  max-width: 96vw;
  margin: 0;
}
.lightbox-media {
  grid-area: media;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  line-height: 0;
}
.lightbox-media video, .lightbox-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 1100px);
  max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  object-fit: contain;
}
.lightbox-caption {
  grid-area: cap;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #cfd4d6;
}
.lightbox-caption b { color: #fff; font-weight: 600; }
.lightbox-caption .lb-count { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); }
.lightbox-nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.9rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(250, 193, 57, 0.85); color: #111517; }
.lightbox-prev { grid-area: prev; }
.lightbox-next { grid-area: next; }
.lightbox-close {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: calc(14px + env(safe-area-inset-right, 0px));
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  padding: 6px 12px;
}
@media (max-width: 560px) {
  .lightbox-nav { display: none; } /* telefonda kaydırma yeterli */
  .lightbox-media video, .lightbox-media img { max-width: 94vw; }
}

/* ---------- 5 · Seçili İşler ---------- */
.works {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.works::-webkit-scrollbar { display: none; }
.work {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(14px, 2vh, 20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.work-shot { display: grid; place-items: center; }

/* Telefon çerçevesi */
.frame-phone {
  width: 150px;
  aspect-ratio: 9 / 18.5;
  border-radius: 24px;
  border: 3px solid var(--line);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame-phone::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 12px;
  border-radius: 8px;
  background: var(--line);
  z-index: 2;
}

/* Tarayıcı çerçevesi */
.frame-browser {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame-browser .bar {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.frame-browser .bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.5;
}
.frame-browser .bar i:first-child { background: var(--accent); opacity: 1; }

/* Video çerçevesi */
.frame-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.frame-video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(250, 193, 57, 0.92);
  display: grid; place-items: center;
  z-index: 2;
}
.frame-video .play::after {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #111517;
  margin-left: 4px;
}

/* Placeholder dolgu */
.ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(250, 193, 57, 0.16), transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(250, 193, 57, 0.05) 14px 15px),
    var(--surface-strong);
}
:root[data-theme="light"] .ph { background:
    linear-gradient(135deg, rgba(250, 193, 57, 0.25), transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(27, 42, 47, 0.04) 14px 15px),
    #e9e9e9;
}
.ph span {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.shot-img { width: 100%; height: 100%; object-fit: cover; }

.work h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.work .work-client {
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.work p { font-size: 0.86rem; line-height: 1.6; color: var(--text-dim); }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.work-tags i {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 193, 57, 0.12);
  color: var(--accent-ink);
}
.swipe-hint {
  text-align: center;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ---------- 6 · Yorumlar ---------- */
.quotes {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 auto;
  width: min(420px, 84vw);
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(18px, 3vh, 28px);
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.quote p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quote footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote b {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.quote small {
  color: var(--text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}
.quote small .co { color: var(--accent-ink); font-weight: 600; }

/* ---------- 7 · İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(20px, 5vh, 44px);
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-row .ci {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(250, 193, 57, 0.12);
  color: var(--accent-ink);
}
.contact-row div b {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.contact-row div a, .contact-row div span {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.5;
}
.contact-row div a:hover { color: var(--accent-ink); }
.contact-ig .ci { background: linear-gradient(135deg, rgba(250,193,57,0.22), rgba(225,48,108,0.18)); }
.contact-ig a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ig-arrow { font-size: 0.85em; color: var(--accent-ink); transition: transform 0.2s ease; }
.contact-ig a:hover .ig-arrow { transform: translate(2px, -2px); }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: all 0.25s;
}
.socials a:hover { color: var(--chip-on-ink); background: var(--accent); border-color: var(--accent); }

.qr-card {
  justify-self: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 22px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 250px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease;
}
a.qr-card:hover { transform: translateY(-3px); }
.qr-label::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: #25D366;
  vertical-align: 1px;
}
.qr-card img { width: 100%; max-width: 190px; margin: 0 auto; }
.qr-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #1b2a2f;
  margin-top: 10px;
}
.qr-hint { font-size: 0.68rem; color: #8a9398; margin-top: 2px; }

.contact-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.contact-slogan img { height: 16px; width: auto; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .qr-card { max-width: 210px; padding: 16px 16px 12px; }
  .qr-card img { max-width: 150px; }
}

/* ---------- Referans detay kartı (modal) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 13, 14, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: min(380px, 88vw);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: pop 0.3s ease;
}
:root[data-theme="light"] .modal-card { background: #ffffff; }
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 1.6rem;
  color: var(--text-dim);
  line-height: 1;
  padding: 6px;
}
.modal-logo { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 10px; }
.modal-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.modal-meta {
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin: 4px 0 16px;
}
.modal-meta .sector { color: var(--accent-ink); font-weight: 600; }
.modal-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.modal-badges i {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(250, 193, 57, 0.14);
  color: var(--accent-ink);
}

/* ---------- Küçük ekran ince ayarlar ---------- */
@media (max-width: 560px) {
  .dots { display: none; }
  .clients { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}
