@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-lat.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latx.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic-lat.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-italic-latx.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-lat.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latx.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

:root {
  --zemin: #0c0b0a;
  --metin: #f4efe9;
  --bronz: #b08d57;
  --donuk: #9a8f83;
  --cizgi: rgba(244, 239, 233, .18);
  --gutter: clamp(22px, 5vw, 72px);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--zemin);
  color: var(--metin);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  overflow-x: hidden;
}

img,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(176, 141, 87, .55);
  text-underline-offset: .22em;
}

a:hover {
  color: var(--bronz);
}

/* Ekran-okuyucu için tek H1 (görsel olarak gizli — sinematik tasarım damgayı kullanır) */
.gizli-baslik {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* JS kapalı / tarayıcı-bot fallback — marka + iletişim okunur kalsın */
.noscript-perde {
  position: relative;
  z-index: 40;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(40px, 9vw, 120px) var(--gutter);
  background: radial-gradient(circle at 30% 20%, rgba(176, 141, 87, .14), transparent 46%), var(--zemin);
}

.noscript-perde h2 {
  margin: 0;
  max-width: 13ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 520;
  line-height: .98;
}

.noscript-perde p {
  margin: 0;
  max-width: 52ch;
  color: rgba(244, 239, 233, .82);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.55;
}

.noscript-iletisim a {
  font-weight: 700;
}

.marka-damgasi {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: clamp(18px, 3vw, 34px);
  font: 800 12px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .28em;
  color: var(--metin);
  text-shadow: 0 1px 18px rgba(0, 0, 0, .75);
  pointer-events: none;
}

.ilerleme {
  position: fixed;
  z-index: 31;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(244, 239, 233, .08);
  pointer-events: none;
}

.ilerleme span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(176, 141, 87, .35), var(--bronz), rgba(244, 239, 233, .75));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.kaydir-ipucu {
  position: fixed;
  z-index: 30;
  right: clamp(18px, 3vw, 34px);
  bottom: 22px;
  font: 700 11px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .18em;
  color: rgba(244, 239, 233, .78);
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .85);
  opacity: 1;
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}

.kaydir-ipucu.is-hidden {
  opacity: 0;
  transform: translateY(8px);
}

.film-sahne {
  position: relative;
  min-height: 100vh;
  background: var(--zemin);
  isolation: isolate;
  overflow: hidden;
}

.film {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  background: #111;
}

.film-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 44%, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, .2) 52%, rgba(12, 11, 10, .78) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, .72) 0%, rgba(12, 11, 10, .34) 36%, rgba(12, 11, 10, .2) 100%),
    linear-gradient(0deg, rgba(12, 11, 10, .62) 0%, rgba(12, 11, 10, 0) 42%);
  pointer-events: none;
}

.film-yukleniyor {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(27, 22, 17, .92), rgba(12, 11, 10, .98));
  color: var(--bronz);
  font: 800 12px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .28em;
  opacity: 1;
  transition: opacity .45s ease, visibility .45s ease;
}

.film-yukleniyor.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.istasyonlar,
.istasyon,
.durak {
  position: absolute;
  inset: 0;
}

.istasyonlar {
  z-index: 3;
  pointer-events: none;
}

.istasyon {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 var(--gutter) clamp(74px, 12vh, 132px);
  max-width: min(980px, 100vw);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: opacity, transform;
}

.kicker {
  margin: 0 0 14px;
  color: var(--bronz);
  font: 800 11px/1.1 "Manrope", system-ui, sans-serif;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.istasyon h2,
.durak h2,
.statik-metin h2 {
  max-width: 13ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 520;
  line-height: .95;
  letter-spacing: 0;
}

.istasyon p:last-child,
.durak__metin p:last-child,
.statik-metin p:last-child {
  max-width: 46ch;
  margin: 22px 0 0;
  color: rgba(244, 239, 233, .82);
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.55;
}

.durak {
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(310px, 520px);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  padding: clamp(72px, 10vh, 112px) var(--gutter);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  pointer-events: none;
  will-change: opacity, transform;
}

.durak__metin {
  max-width: 640px;
}

.durak .urun-3d-soket,
.statik-durak .urun-3d-soket {
  --soket-bg: #16120e;
  --soket-bg-2: #2a2118;
  --soket-fg: #f4efe9;
  --soket-muted: #cfc4b7;
  --soket-accent: #b08d57;
  --soket-radius: 8px;
  --soket-shadow: 0 34px 100px -42px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 239, 233, .08);
  width: min(100%, 520px);
  justify-self: center;
}

.durak .soket-btn,
.durak .soket-view-chip,
.statik-durak .soket-btn,
.statik-durak .soket-view-chip {
  border-radius: 8px;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(220px, .8fr);
  gap: 34px clamp(28px, 6vw, 86px);
  padding: clamp(56px, 9vw, 110px) var(--gutter);
  border-top: 1px solid rgba(244, 239, 233, .12);
  background:
    linear-gradient(180deg, rgba(12, 11, 10, .96), #0c0b0a),
    radial-gradient(circle at 20% 0%, rgba(176, 141, 87, .12), transparent 34%);
  color: rgba(244, 239, 233, .78);
}

.footer-marka {
  margin: 0 0 14px;
  color: var(--metin);
  font: 800 13px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .3em;
}

.site-footer p,
.site-footer address {
  margin: 0;
  max-width: 58ch;
  font-style: normal;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.footer-cta a {
  font-weight: 760;
}

.telif {
  grid-column: 1 / -1;
  color: var(--donuk);
  font-size: 13px;
}

.statik-mod .kaydir-ipucu {
  display: none;
}

.statik-galeri {
  background: var(--zemin);
}

.statik-sahne {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--zemin);
}

.statik-sahne::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, transparent 0%, rgba(12, 11, 10, .2) 52%, rgba(12, 11, 10, .82) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, .75), rgba(12, 11, 10, .18));
  pointer-events: none;
}

.statik-sahne img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statik-metin {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(58px, 11vh, 116px);
}

.statik-durak {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(310px, 520px);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  padding: clamp(64px, 10vw, 126px) var(--gutter);
  background: linear-gradient(180deg, #0c0b0a, #14110e);
}

.statik-durak .statik-metin {
  padding: 0;
}

@media (max-width: 760px) {
  .marka-damgasi {
    top: 15px;
    left: 16px;
  }

  .film-scrim {
    background:
      radial-gradient(circle at 50% 38%, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, .28) 48%, rgba(12, 11, 10, .84) 100%),
      linear-gradient(0deg, rgba(12, 11, 10, .78) 0%, rgba(12, 11, 10, .12) 68%);
  }

  .istasyon {
    padding: 0 20px 82px;
  }

  .istasyon h2,
  .durak h2,
  .statik-metin h2 {
    max-width: 11ch;
    font-size: clamp(40px, 13vw, 62px);
  }

  .istasyon p:last-child,
  .durak__metin p:last-child,
  .statik-metin p:last-child {
    font-size: 15px;
  }

  .durak,
  .statik-durak {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding: 72px 20px 32px;
  }

  .durak .urun-3d-soket,
  .statik-durak .urun-3d-soket {
    width: min(100%, 390px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 58px 20px;
  }

  .statik-metin {
    padding: 0 20px 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kaydir-ipucu,
  .film-yukleniyor,
  .istasyon,
  .durak,
  .urun-3d-soket * {
    transition: none !important;
    animation: none !important;
  }
}

/* === WOW CILA (Apple-kalite) === */
.marka-damgasi {
  opacity: 0;
  animation: wow-giris .9s cubic-bezier(.2, .7, .2, 1) .2s both;
}

.ilerleme span {
  box-shadow: 0 0 12px rgba(176, 141, 87, .5);
}

.kaydir-ipucu {
  opacity: 0;
  animation:
    wow-giris .9s cubic-bezier(.2, .7, .2, 1) .6s both,
    wow-bob 2.4s ease-in-out 1.5s infinite;
}

.kaydir-ipucu.is-hidden {
  animation: none;
}

.footer-cta a {
  background: linear-gradient(var(--bronz), var(--bronz)) no-repeat;
  background-position: left bottom;
  background-size: 0% 1.5px;
  text-decoration: none;
  transition:
    color .4s cubic-bezier(.2, .7, .2, 1),
    background-size .4s cubic-bezier(.2, .7, .2, 1);
}

.footer-cta a:hover,
.footer-cta a:focus-visible {
  background-size: 100% 1.5px;
}

.durak .urun-3d-soket {
  transition: transform .5s ease, filter .5s ease;
}

.durak .urun-3d-soket:hover {
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
  transform: translateY(-4px);
}

.film-sahne::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, 0) 50%, rgba(12, 11, 10, .35) 100%);
  opacity: .35;
  animation: wow-nefes 6s ease-in-out infinite alternate;
}

a:focus-visible,
.footer-cta a:focus-visible {
  outline: 2px solid var(--bronz);
  outline-offset: 3px;
  border-radius: 4px;
}

@keyframes wow-giris {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wow-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 6px;
  }
}

@keyframes wow-nefes {
  from {
    opacity: .35;
  }

  to {
    opacity: .55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marka-damgasi,
  .kaydir-ipucu,
  .kaydir-ipucu.is-hidden,
  .film-sahne::after {
    animation: none !important;
  }

  .marka-damgasi,
  .kaydir-ipucu,
  .kaydir-ipucu.is-hidden {
    opacity: 1;
    transform: none;
    translate: none;
  }

  .footer-cta a,
  .durak .urun-3d-soket {
    transition: none;
  }
}

/* === HERO VIDEO === */
.hero-film {
  position: fixed;
  inset: 0;
  z-index: 1;                /* canvas(0) üstünde; .film-scrim DOM-sonrası üste biner → metin okunur */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: var(--zemin);
  will-change: opacity;
  pointer-events: none;
}

.statik-mod .hero-film {
  display: none;             /* statik/kanıt modunda video yok (gerçek-kare galeri gösterilir) */
}

@media (prefers-reduced-motion: reduce) {
  .hero-film {
    opacity: 1 !important;   /* JS oynatmayı durdurur, poster sabit kalır */
  }
}

/* === YÜKLEME = MARKA AÇILIŞI === */
.film-yukleniyor {
  grid-auto-flow: row;
  gap: 18px;
}
.film-yukleniyor::before {
  content: 'WEBSITEKS MOBİLYA';
  font-weight: 800;
  letter-spacing: .5em;
  font-size: 22px;
  color: var(--metin);
  opacity: 0;
  filter: blur(8px);
  animation: acilis 1.1s cubic-bezier(.2, .7, .2, 1) forwards;
}
[data-loader-percent] {
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(176, 141, 87, .85);
  animation: nabiz 1.8s ease-in-out infinite;
}
@keyframes acilis {
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes nabiz {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .film-yukleniyor::before,
  [data-loader-percent] {
    animation: none;
  }
  .film-yukleniyor::before {
    opacity: 1;
    filter: none;
  }
}

/* === SCROLL-REVEAL (pin-sonrası bölümler — reveal.js) ===
   Gizleme yalnız .reveal-aktif (JS ekler) iken; JS yoksa içerik görünür kalır (fail-visible). */
.reveal-aktif [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1),
    transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-gecikme, 0s);
  will-change: opacity, transform;
}

.reveal-aktif [data-reveal].gorunur {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-aktif [data-reveal],
  .reveal-aktif [data-reveal].gorunur {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* === DURAK: "kaydırmaya devam" ipucu (panel opaklığını miras alır → motor değişmez) === */
.durak__devam {
  margin: 26px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bronz);
  font: 800 11px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.durak__devam::after {
  content: "↓";
  font-size: 14px;
  animation: wow-bob 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .durak__devam::after {
    animation: none;
  }
}

/* === GEZİLEBİLİR 3D (Gaussian Splat — Websiteks sahneleri, Spark/.spz) === */
.gezi-3d {
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  background: var(--zemin);
  border-top: 1px solid var(--cizgi);
}
.gezi-3d__giris {
  max-width: 760px;
  margin: 0 auto clamp(34px, 6vh, 64px);
  text-align: center;
}
.gezi-3d__giris h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 340;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: .3em 0 .5em;
}
.gezi-3d__giris p {
  color: rgba(244, 239, 233, .74);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 62ch;
  margin: 0 auto;
}
.gezi-3d__izgara {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  max-width: 1280px;
  margin: 0 auto;
}
/* Tek sahne kaldığında (süit kaldırıldı): grid'i tek sütuna indir, büyüt + ortala */
.gezi-3d__izgara--tek {
  grid-template-columns: 1fr;
  max-width: 960px;
}
.gezi-3d__izgara--tek .gezi-3d__cerceve { aspect-ratio: 16 / 9; }
.gezi-3d__kart { margin: 0; }
.gezi-3d__cerceve {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #16120e;
  box-shadow: 0 34px 100px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 239, 233, .08);
}
.gezi-3d__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.gezi-3d__cerceve::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 8, 10, .05), rgba(8, 8, 10, .5));
  pointer-events: none;
  transition: opacity .4s;
}
.gezi-3d__cerceve.yuklendi::after { opacity: 0; }
.gezi-3d__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}
.gezi-3d__ac {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(244, 239, 233, .25);
  border-radius: 40px;
  background: rgba(12, 11, 10, .62);
  color: var(--metin);
  font: 700 12px/1 "Manrope", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color .18s, color .18s;
}
.gezi-3d__ac:hover { border-color: var(--bronz); color: #fff; }
.gezi-3d__ac:focus-visible { outline: 2px solid var(--bronz); outline-offset: 3px; }
.gezi-3d__cerceve.yuklendi .gezi-3d__ac { display: none; }
.gezi-3d__kapsam {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 2px 0;
}
.gezi-3d__ad {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--metin);
}
.gezi-3d__rozet {
  color: var(--bronz);
  font: 700 10px/1 "Manrope", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gezi-3d__not {
  color: var(--donuk);
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 2px 0;
}
@media (max-width: 820px) {
  .gezi-3d__izgara { grid-template-columns: 1fr; }
}

/* === SİNEMATİK TUR (xfade montaj video — video-toggle) === */
.sinematik-tur {
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  background: var(--zemin);
  border-top: 1px solid var(--cizgi);
}
.sinematik-tur__metin {
  max-width: 760px;
  margin: 0 auto clamp(30px, 5vh, 54px);
  text-align: center;
}
.sinematik-tur__metin h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 340;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: .3em 0 .5em;
}
.sinematik-tur__metin p {
  color: rgba(244, 239, 233, .74);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto;
}
/* Sinematik Tur → Keşfet widget.
   Tek klip olduğundan widget'ın 4-sütun masonry'sini tek sütuna indir → ortalı + büyük. */
.sinematik-tur__kesfet {
  max-width: 960px;
  margin: 0 auto;
}
.sinematik-tur__kesfet .vk-izgara { column-count: 1; }
