/* ========== Temel ========== */
:root {
  --zemin: #000;
  --yazi: #f5f5f3;
  --soluk: #8b8b88;
  --koyu: #121212;
  --turuncu: #ff6b1a;
  --cizgi: rgba(255,255,255,.1);
  --kenar: 20px;
  --cubuk: 56px;
  --yumusak: cubic-bezier(.2,.7,.1,1);
  --sert: cubic-bezier(.7,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #333 #000; }
body {
  background: var(--zemin);
  color: var(--yazi);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--turuncu); color: #000; }
:focus-visible { outline: 2px solid var(--turuncu); outline-offset: 3px; }

/* ========== Sayfa geçişleri ========== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--sert) both cik; }
::view-transition-new(root) { animation: .55s var(--yumusak) both gir; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--yumusak); }
@keyframes cik { to { opacity: 0; transform: translateY(-12px); } }
@keyframes gir { from { opacity: 0; transform: translateY(18px); } }

/* ========== Üst çubuk ========== */
.cubuk {
  position: fixed; inset: 0 0 auto;
  z-index: 50;
  display: flex; align-items: center; justify-content: flex-start; gap: 2px;
  height: var(--cubuk);
  padding: 0 var(--kenar);
  transition: transform .45s var(--yumusak), background-color .3s;
  view-transition-name: cubuk;
}
.cubuk::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--cizgi);
  opacity: var(--cubuk-zemin, 1);
  transition: opacity .3s;
}
.cubuk.gizli { transform: translateY(-100%); }
.ana .cubuk { --cubuk-zemin: 0; }
.ana .cubuk.dolu { --cubuk-zemin: 1; }
.isim {
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; min-height: 44px;
}
.isim i { width: 5px; height: 5px; background: var(--turuncu); margin: 9px 0 0 2px; }
.ana .isim { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--yumusak); }
.ana .cubuk.dolu .isim { opacity: 1; transform: none; }
.geri {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: -12px;
  border-radius: 50%;
  transition: background-color .2s;
}
.geri svg { width: 20px; height: 20px; transition: transform .3s var(--yumusak); }
.geri:hover svg { transform: translateX(-3px); }
.ilerleme {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--turuncu);
  transform-origin: 0 50%;
  transform: scaleX(var(--ilerleme, 0));
}

/* ========== Vitrin ========== */
.vitrin {
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.vitrin-video {
  position: absolute; inset: 0; z-index: -1;
  will-change: transform, opacity;
}
.vitrin-isik { display: none; }
.vitrin-video video, .vitrin-video img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.vitrin-video video { opacity: 0; transition: opacity 1.2s ease; }
.vitrin-video.hazir video { opacity: 1; }
.vitrin-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.9) 0, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%);
}
.vitrin h1 {
  position: absolute; left: var(--kenar); right: var(--kenar); bottom: 56px;
  font-size: clamp(56px, 18vw, 200px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -0.055em;
  will-change: transform;
}
.satir { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.satir > span { display: block; animation: yuksel 1.1s var(--yumusak) both; }
.satir:nth-child(2) > span { animation-delay: .09s; }
.vitrin h1 i { font-style: normal; color: var(--turuncu); }
@keyframes yuksel { from { transform: translateY(105%); } }

/* ========== Dizin ========== */
.dizin { list-style: none; border-top: 1px solid var(--cizgi); }
.dizin li { border-bottom: 1px solid var(--cizgi); }
.dizin a {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 18px var(--kenar);
  overflow: hidden;
}
.dizin a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--koyu);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .5s var(--yumusak);
}
.dizin .ad {
  display: inline-flex; align-items: flex-start; gap: 6px;
  font-size: clamp(28px, 8vw, 104px);
  font-weight: 700; letter-spacing: -0.045em; line-height: .95;
  transition: transform .5s var(--yumusak), color .3s;
}
.dizin sup {
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--turuncu); margin-top: .35em;
  font-variant-numeric: tabular-nums;
}
.dizin small {
  display: block; margin-top: 10px;
  font-size: 14px; color: var(--soluk);
  transition: transform .5s var(--yumusak) .03s;
}
.dizin img {
  width: 60px; height: 60px; object-fit: cover; border-radius: 6px;
  transition: transform .5s var(--yumusak);
}
.dizin .ok {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--cizgi); border-radius: 50%;
  transition: background-color .35s, border-color .35s, transform .5s var(--yumusak);
}
.dizin .ok svg { width: 18px; height: 18px; transition: transform .5s var(--yumusak); }
.dizin a:active img { transform: scale(.94); }


/* ========== İletişim ========== */
.iletisim {
  max-width: 1180px; margin: 0 auto;
  padding: 72px var(--kenar) 24px;
  border-top: 1px solid var(--cizgi);
}
.iletisim h2 {
  font-size: clamp(44px, 13vw, 150px); font-weight: 800;
  letter-spacing: -0.055em; line-height: .9; margin-bottom: 40px;
}
.iletisim h2 i { font-style: normal; color: var(--turuncu); }
.iletisim-bag { display: grid; gap: 4px; }
.iletisim-bag a {
  display: flex; flex-direction: column; gap: 4px;
  min-height: 44px; padding: 14px 0;
  border-bottom: 1px solid var(--cizgi);
  font-size: clamp(18px, 5vw, 30px); font-weight: 600; letter-spacing: -0.02em;
  overflow-wrap: anywhere; transition: color .25s;
}
.iletisim-bag small { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--soluk); }
.iletisim-bag a:hover { color: var(--turuncu); }
@media (min-width: 900px) {
  .iletisim { padding-top: 120px; }
  .iletisim-bag { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Reklam toplamı */
.toplam { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 24px 40px; margin: 0 0 40px; }
@media (min-width: 700px) { .toplam { grid-template-columns: repeat(4, auto); gap: 8px 48px; } }
.toplam b { display: block; font-size: clamp(32px, 9vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.toplam small { display: block; margin-top: 6px; font-size: 13px; color: var(--soluk); }
.toplam p { grid-column: 1 / -1; margin-top: 14px; font-size: 14px; color: var(--soluk); }

.alt-bilgi {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px var(--kenar) calc(40px + env(safe-area-inset-bottom));
  color: var(--soluk); font-size: 13px;
}
.yukari { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.yukari:hover { color: var(--yazi); }
.yukari svg { width: 14px; height: 14px; }

/* ========== Bölüm sayfası ========== */
.sayfa {
  max-width: 1180px; margin: 0 auto;
  padding: calc(var(--cubuk) + 28px) var(--kenar) 96px;
}
.baslik {
  display: inline-flex; align-items: flex-start; gap: 6px;
  padding: 8px 0 28px;
  font-size: clamp(38px, 11vw, 140px);
  font-weight: 800; letter-spacing: -0.055em; line-height: .9;
}
.baslik sup { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--turuncu); margin-top: .3em; }
.grup + .grup { margin-top: 56px; }
.marka {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--cizgi);
  margin-bottom: 24px;
}
.marka h2 em { font-style: normal; font-weight: 500; font-size: 14px; color: var(--soluk); margin-left: 6px; letter-spacing: 0; }
.marka h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.marka span { font-size: 14px; color: var(--soluk); font-variant-numeric: tabular-nums; }

/* ========== Videolar ========== */
.videolar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.is { width: 100%; }
.oynatici { position: relative; border-radius: 10px; overflow: hidden; background: var(--koyu); }
.video {
  width: 100%; aspect-ratio: 9 / 16;
  object-fit: cover; background: var(--koyu);
}
.video:fullscreen { object-fit: contain; }
.oynatici.kare .video { aspect-ratio: 4 / 5; }
.oynatici::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35));
  transition: opacity .4s;
}
.oynatici.oynuyor::after { opacity: 0; }
.oynat {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  width: clamp(48px, 30%, 76px); aspect-ratio: 1; height: auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--turuncu); color: #000;
  transition: transform .45s var(--yumusak), opacity .3s;
}
.oynat::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(255,107,26,.6);
  animation: nabiz 2.4s var(--yumusak) infinite;
}
@keyframes nabiz { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.oynat svg { width: 38%; height: 38%; fill: currentColor; margin-left: 8%; }
.oynat:active { transform: scale(.92); }
.oynuyor .oynat { opacity: 0; transform: scale(.6); pointer-events: none; }

.reklamlar { display: grid; gap: 40px; }
.reklam {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  grid-template-areas: "video sayi" "kanit kanit" "ozet ozet";
  gap: 16px 18px;
  align-items: center;
}
.reklam-video { grid-area: video; }
.reklam .sayilar { grid-area: sayi; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.reklam .kanitlar { grid-area: kanit; display: grid; gap: 10px; }
.reklam .kanit { margin: 0; }
.reklam .ozet { grid-area: ozet; margin: 4px 0 0; padding-left: 14px; border-left: 2px solid var(--turuncu); color: var(--soluk); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.reklam .ozet:empty { display: none; }
.temsili { border-radius: 10px; overflow: hidden; background: var(--koyu); }
.temsili img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.sayilar div { border-left: 2px solid var(--turuncu); padding-left: 10px; }
.sayilar b {
  display: block;
  font-size: clamp(22px, 6.4vw, 34px); font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
  white-space: nowrap;
}
.sayilar small { display: block; font-size: 13px; color: var(--soluk); margin-top: 2px; }
.kanit {
  display: block; margin-top: 16px;
  border-radius: 8px; overflow: hidden;
  transition: transform .5s var(--yumusak);
}
.kanit img { width: 100%; height: auto; }
.kanit:active { transform: scale(.98); }

/* ========== Web siteleri ========== */
.site + .site { margin-top: 24px; }
.site-ust {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 4px;
}
.site-ust h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; }
.git {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; color: var(--soluk);
  transition: color .2s;
}
.git svg { width: 14px; height: 14px; transition: transform .35s var(--yumusak); }
.git:hover { color: var(--turuncu); }
.git:hover svg { transform: translate(2px, -2px); }

.sahne { position: relative; height: 230svh; }
.yapiskan {
  position: sticky; top: calc(var(--cubuk) + 12px);
  height: calc(100svh - var(--cubuk) - 24px);
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.telefon {
  position: relative;
  height: min(100%, 720px);
  aspect-ratio: 390 / 844;
  border-radius: 44px;
  padding: 10px;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px -20px rgba(255,107,26,.18);
}
.telefon::before {
  content: ""; position: absolute; z-index: 2; top: 20px; left: 50%;
  width: 28%; height: 22px; border-radius: 12px; background: #000;
  transform: translateX(-50%);
}
.telefon .ekran {
  position: relative; height: 100%;
  border-radius: 34px; overflow: hidden; background: #fff;
}
.telefon img {
  width: 100%; height: auto;
  will-change: transform;
  transform: translate3d(0, var(--kay, 0px), 0);
}
.tarayici { display: none; }

/* ========== Stok ızgarası ========== */
.izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: 8px; overflow: hidden; }
.izgara a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--koyu); }
.izgara img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--yumusak), opacity .3s; }
.izgara a:active img { transform: scale(.97); }

/* Işık kutusu */
.kutu {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  touch-action: none;
}
.kutu.acik { display: block; }
.kutu-zemin {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .4s;
}
.kutu.gorunur .kutu-zemin { opacity: 1; }
.kutu-resim {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  border-radius: 6px;
  will-change: transform;
  user-select: none; -webkit-user-drag: none;
}
.kutu-kapat, .kutu-ok {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  opacity: 0; transition: opacity .3s, background-color .2s;
}
.kutu.gorunur .kutu-kapat, .kutu.gorunur .kutu-ok { opacity: 1; }
.kutu-kapat {
  top: calc(14px + env(safe-area-inset-top)); right: 14px;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.kutu-kapat svg { width: 22px; height: 22px; }
.kutu.tek .kutu-ok, .kutu.tek .kutu-sayac { display: none; }
.kutu-ok { top: 50%; margin-top: -24px; display: none; }
.kutu-ok.sol { left: 16px; } .kutu-ok.sag { right: 16px; }
.kutu-kapat svg, .kutu-ok svg { width: 20px; height: 20px; }
.kutu-sayac {
  position: absolute; left: 0; right: 0; bottom: calc(20px + env(safe-area-inset-bottom));
  text-align: center; font-size: 13px; color: var(--soluk);
  font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .3s;
}
.kutu.gorunur .kutu-sayac { opacity: 1; }

/* Sağa kaydırınca geri */
.geri-ipucu {
  position: fixed; left: 12px; top: 50%; z-index: 60;
  width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--turuncu); color: #000;
  opacity: 0; transform: translateX(-60px) scale(.6);
  pointer-events: none;
}
.geri-ipucu svg { width: 22px; height: 22px; }
.geri-ipucu.hazir { box-shadow: 0 0 0 6px rgba(255,107,26,.25); }
main.surukleniyor { transition: none !important; }

/* ========== Belirme ========== */
.js .belir {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(28px);
  transition: opacity 1s var(--yumusak), filter 1s var(--yumusak), transform 1s var(--yumusak);
  transition-delay: var(--gecikme, 0s);
}
.js .belir.gorundu { opacity: 1; filter: blur(0); transform: none; }
.js .belir.gorundu { will-change: auto; }

/* Dizin satırı girişi */
.js .dizin li { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--yumusak), transform .9s var(--yumusak); transition-delay: var(--gecikme, 0s); }
.js .dizin li.gorundu { opacity: 1; transform: none; }

/* ========== Masaüstü ========== */
@media (min-width: 760px) {
  :root { --kenar: 40px; --cubuk: 64px; }
  .vitrin h1 { bottom: 64px; }
  .vitrin-video {
    inset: calc(var(--cubuk) + 24px) var(--kenar) 40px auto;
    width: auto; aspect-ratio: 9 / 16;
    border-radius: 10px; overflow: hidden;
    z-index: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  }
  .vitrin-video::after { background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0) 40%); }
  .vitrin-isik {
    position: absolute; inset: -10%; z-index: -1;
    background: url(img/vitrin.webp) 75% 50% / cover no-repeat;
    filter: blur(100px) saturate(1.2);
    opacity: .22;
    -webkit-mask-image: radial-gradient(60% 70% at 78% 50%, #000 30%, transparent 75%);
    mask-image: radial-gradient(60% 70% at 78% 50%, #000 30%, transparent 75%);
    pointer-events: none;
    display: block;
  }
  .vitrin h1 { z-index: 1; right: auto; font-size: clamp(64px, 11.5vw, 210px); }
  .dizin a { padding: 28px var(--kenar); }
  .dizin img { display: none; }
  .dizin .ok { display: inline-flex; }
  .videolar { grid-template-columns: repeat(3, minmax(0, 300px)); gap: 20px; }
  .reklamlar { grid-template-columns: 1fr 1fr; gap: 48px; }
  .reklam { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); grid-template-areas: "video sayi" "video kanit" "ozet ozet"; align-items: end; }
  .reklam .sayilar { align-self: start; }
  .izgara { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 3px; }
  .sayfa { padding-top: calc(var(--cubuk) + 40px); }
  .kutu-ok { display: flex; }
  .sahne { height: 200svh; }
  .tarayici {
    display: block;
    flex: 1; max-width: 640px;
    border-radius: 10px; overflow: hidden;
    background: #1a1a1a;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  }
  .tarayici::before {
    content: ""; display: block; height: 28px;
    background:
      radial-gradient(circle at 16px 14px, #444 4px, transparent 5px),
      radial-gradient(circle at 32px 14px, #444 4px, transparent 5px),
      radial-gradient(circle at 48px 14px, #444 4px, transparent 5px);
  }
  .tarayici .ekran { aspect-ratio: 1440 / 900; overflow: hidden; background: #fff; }
  .tarayici img { width: 100%; height: auto; will-change: transform; transform: translate3d(0, var(--kay, 0px), 0); }
}

@media (hover: hover) and (pointer: fine) {
  .dizin a:hover::before { transform: scaleY(1); }
  .dizin a:hover .ad { transform: translateX(14px); color: var(--turuncu); }
  .dizin a:hover small { transform: translateX(14px); }
  .dizin a:hover .ok { background: var(--turuncu); border-color: var(--turuncu); color: #000; transform: rotate(-45deg); }
  .geri:hover { background: rgba(255,255,255,.08); }
  .izgara a:hover img { transform: scale(1.04); }
  .oynatici:hover .oynat { transform: scale(1.08); }
  .kanit:hover { transform: translateY(-3px); }
  .kutu-kapat:hover, .kutu-ok:hover { background: rgba(255,255,255,.16); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .belir, .js .dizin li { opacity: 1; filter: none; transform: none; }
  .vitrin-video video { opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
