/* ===== base.css ===== */
/* ============================================================
   BASE.CSS — Design System, Reset, Typography
   Anil Okçu Portfolio Theme
   ============================================================ */

/* ── Google Fonts Preconnect ────────────────────────────────── */
/* (Enqueue'dan yüklenir, burada sadece referans)               */

/* ── CSS Variables (Design Tokens) ─────────────────────────── */
:root {
  /* Renkler */
  --color-bg:           #111111;
  --color-bg-elevated:  #1a1a1a;
  --color-bg-card:      #161616;
  --color-primary:      #F5F0E8;
  --color-text:         #A0998A;
  /* WCAG AA: koyu zeminde en az 4.5:1 gerekiyor.
     Eski #6b6560 yalnızca 3.29:1 veriyordu (küçük etiketler okunmuyordu). */
  --color-text-muted:   #8a8278;
  --color-accent:       #C8A96E;
  --color-accent-light: #d9be8e;
  --color-accent-dark:  #a8893e;
  --color-border:       rgba(200, 169, 110, 0.12);
  --color-border-hover: rgba(200, 169, 110, 0.35);
  --color-overlay:      rgba(17, 17, 17, 0.85);

  /* Tipografi */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Ağırlıklar */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-semi:    600;

  /* Geçiş */
  --ease-smooth:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-mid:  0.45s;
  --duration-slow: 0.75s;

  /* Boşluklar */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Tipografi Ölçeği (fluid clamp) */
  --text-sm:   clamp(0.75rem, 1vw, 0.875rem);
  --text-base: clamp(0.9rem, 1.2vw, 1rem);
  --text-md:   clamp(1rem, 1.5vw, 1.2rem);
  --text-lg:   clamp(1.25rem, 2vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 3vw, 2.25rem);
  --text-2xl:  clamp(2rem, 5vw, 4rem);
  --text-hero: clamp(4rem, 12vw, 11rem);

  /* Z-index Katmanları */
  --z-base:    1;
  --z-nav:     100;
  --z-modal:   500;
  --z-cursor:  9999;
}

/* ── Modern CSS Reset ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  width: 100%;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Scrollbar — webkit */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent-dark);
  border-radius: 2px;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-dark) var(--color-bg);
}

/* ── Tipografi Yardımcıları ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }

p {
  color: var(--color-text);
  font-size: var(--text-base);
}

/* ── Layout Yardımcıları ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
  :root {
    --space-md: 1.25rem;
    --space-lg: 3rem;
    --space-xl: 4.5rem;
    --text-2xl: clamp(2rem, 10vw, 3rem);
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity  var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  will-change: opacity, transform;
}

.js .reveal.reveal-pending:not(.revealed) {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Gecikme sınıfları */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Butonlar ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    color     var(--duration-fast) var(--ease-smooth),
    background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ── Bölüm Başlığı ──────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-sm);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* ── Yatay Çizgi ────────────────────────────────────────────── */
.accent-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: var(--space-md);
}

/* ── Selection ──────────────────────────────────────────────── */
::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ── Focus (Erişilebilirlik) ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* ── No-JS Fallback ─────────────────────────────────────────── */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── Honeypot (spam tuzağı) — ekran dışına al, erişilebilirlikten gizle ── */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* ===== cursor.css ===== */
/* ============================================================
   CURSOR.CSS — Özel İmleç: Kamera Netleme Çerçevesi (Viewfinder)

   Tasarım fikri: yaygın "nokta + gecikmeli halka" imleci yerine,
   bir kameranın otofokus göstergesi. Merkezde ince bir artı (tam
   konum), çevresinde gecikmeli hareket eden dört köşe ayracı.
   Duruma göre şekil değiştirir:
     • link/buton  → köşeler içeri kilitlenir (focus lock)
     • proje kartı → çerçeve 16:9 orana geçer (kadraj)
     • metin alanı → ince dikey imleç (I-beam)
   ============================================================ */

/* Sistem imlecini gizle */
*,
*::before,
*::after {
  cursor: none !important;
}

/* ── Merkez Artı — fareyi birebir takip eder ────────────────── */
.cursor-point {
  position: fixed;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: opacity 0.18s var(--ease-smooth);
  will-change: transform;
}

.cursor-point::before,
.cursor-point::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  transition: background 0.2s var(--ease-smooth);
}

/* yatay çizgi */
.cursor-point::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

/* dikey çizgi */
.cursor-point::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.cursor-point.is-hovering::before,
.cursor-point.is-hovering::after {
  background: var(--color-accent-light);
}

.cursor-point.is-hidden {
  opacity: 0;
}

/* ── Netleme Çerçevesi — gecikmeli takip ────────────────────── */
.cursor-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition:
    width   0.3s var(--ease-out),
    height  0.3s var(--ease-out),
    opacity 0.25s var(--ease-smooth),
    background 0.2s var(--ease-smooth);
  will-change: transform;
}

/* Dört köşe ayracı */
.cursor-frame span {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-accent);
  opacity: 0.9;
  transition:
    width        0.3s var(--ease-out),
    height       0.3s var(--ease-out),
    border-color 0.2s var(--ease-smooth),
    opacity      0.2s var(--ease-smooth);
}

.cursor-frame span:nth-child(1) { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.cursor-frame span:nth-child(2) { top: 0;    right: 0;   border-left: 0;  border-bottom: 0; }
.cursor-frame span:nth-child(3) { bottom: 0; left: 0;    border-right: 0; border-top: 0; }
.cursor-frame span:nth-child(4) { bottom: 0; right: 0;   border-left: 0;  border-top: 0; }

/* ── Durum: Tıklanabilir öğe — köşeler kilitlenir ───────────── */
.cursor-frame.is-hovering {
  width: 25px;
  height: 25px;
}

.cursor-frame.is-hovering span {
  width: 9px;
  height: 9px;
  border-color: var(--color-accent-light);
  opacity: 1;
}

/* ── Durum: Proje kartı / görsel — 16:9 kadraj ──────────────── */
.cursor-frame.is-media {
  width: 62px;
  height: 35px;
}

.cursor-frame.is-media span {
  width: 11px;
  height: 11px;
  border-color: var(--color-accent-light);
  opacity: 1;
}

/* ── Durum: Metin alanı — ince I-beam ───────────────────────── */
.cursor-frame.is-text {
  width: 1px;
  height: 22px;
  background: var(--color-primary);
}

.cursor-frame.is-text span {
  opacity: 0;
}

/* ── Durum: Tıklama — kısa "snap" ───────────────────────────── */
.cursor-frame.is-clicking {
  width: 19px;
  height: 19px;
}

.cursor-frame.is-clicking span {
  border-color: var(--color-accent);
}

/* ── Ekran dışı ─────────────────────────────────────────────── */
.cursor-point.is-out,
.cursor-frame.is-out {
  opacity: 0;
}

/* ── Video/iframe üzerinde de gizli kalsın ──────────────────── */
.plyr__video-wrapper,
iframe,
video {
  cursor: none !important;
}

/* ── Hareket azaltma: gecikme yok, boyut geçişi yok ─────────── */
@media (prefers-reduced-motion: reduce) {
  .cursor-frame,
  .cursor-frame span,
  .cursor-point,
  .cursor-point::before,
  .cursor-point::after {
    transition: none;
  }
}

/* ── Dokunmatik: özel imleç kapalı, sistem imleci geri ──────── */
@media (hover: none) and (pointer: coarse) {
  .cursor-point,
  .cursor-frame {
    display: none;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }
}


/* ===== header.css ===== */
/* ============================================================
   HEADER.CSS — Navigasyon ve Logo
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.75rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    padding        var(--duration-mid) var(--ease-smooth),
    background     var(--duration-mid) var(--ease-smooth),
    backdrop-filter var(--duration-mid) var(--ease-smooth);
}

/* Scroll sonrası frosted-glass görünümü */
.site-header.is-scrolled {
  padding: 1.1rem var(--space-md);
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

/* ── Logo ───────────────────────────────────────────────────── */
.site-logo {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: var(--fw-semi);
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  transition: color var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--color-accent);
}

/* ── Navigasyon ─────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration-fast) var(--ease-smooth);
}

/* Dikey dokunma hedefini 44px'e tamamla (metin ~21px kalır) */
.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}

/* Alt çizgi animasyonu */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-mid) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* ── Sosyal İkonlar ─────────────────────────────────────────── */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-smooth),
              transform var(--duration-fast) var(--ease-smooth);
}

/* Dokunma hedefini 44x44'e çıkar — görsel boyut 32px kalır,
   yerleşim bozulmaz, sadece tıklanabilir alan büyür. */
.social-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.social-link:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* IMDb metin badge'i — SVG ikonlarla aynı optik boyut */
.imdb-badge {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: -0.3px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  padding: 1px 3px;
  line-height: 1;
  display: inline-block;
}

/* Ayrıcı çizgi */
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--color-border-hover);
}

/* ── Dil Değiştirici (TR | EN) ──────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
}

.lang-option {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 2px 1px;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.lang-option:hover {
  color: var(--color-accent);
}

.lang-option.is-active {
  color: var(--color-primary);
  font-weight: var(--fw-regular);
  cursor: default;
}

.lang-sep {
  color: var(--color-border-hover);
}

/* Mobil menüdeki büyük versiyon */
.lang-switch--mobile {
  margin-top: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.25em;
  gap: 0.75rem;
}

/* ── Hamburger (Mobil) ──────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-primary);
  transition:
    transform var(--duration-mid) var(--ease-out),
    opacity   var(--duration-fast) var(--ease-smooth),
    width     var(--duration-mid) var(--ease-out);
  transform-origin: center;
}

/* Açık durum */
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobil Menü Overlay ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(17, 17, 17, 0.97);
  z-index: calc(var(--z-nav) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  transition: opacity var(--duration-mid) var(--ease-smooth);
  pointer-events: none;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: var(--fw-semi);
  color: var(--color-text);
  letter-spacing: 0.1em;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.mobile-nav-link:hover {
  color: var(--color-accent);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header {
    padding: 1.25rem var(--space-sm);
  }

  .site-header.is-scrolled {
    padding: 0.9rem var(--space-sm);
  }

  .nav-links,
  .nav-socials,
  .nav-divider,
  .lang-switch--nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
    padding: calc(4rem + env(safe-area-inset-top)) var(--space-sm) calc(2rem + env(safe-area-inset-bottom));
  }
}


/* ===== hero.css ===== */
/* ============================================================
   HERO.CSS — Minimal Tipografik Açılış Ekranı
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 36vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

/* ── Minimal Arkaplan ───────────────────────────────────────── */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, rgba(200,169,110,0.05) 0%, transparent 60%);
  z-index: 1;
}

/* ── Showreel Arka Plan Videosu ─────────────────────────────── */
.hero--showreel {
  height: 68vh;
  height: 68svh;
  min-height: 460px;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ── YouTube Arka Planı ─────────────────────────────────────
   iframe sabit 16:9 olduğu için, hero'yu boşluksuz kaplaması adına
   viewport oranına göre taşırıp ortalıyoruz (cover davranışı).      */
.hero__embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none; /* tıklama/scroll hero'ya geçsin, videoya değil */
}

.hero__embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;

  /* Yedek (eski tarayıcılar): viewport tabanlı yaklaşık kaplama */
  width: 100vw;
  height: 56.25vw;      /* 100vw * 9/16 */
  min-width: 177.78vh;  /* 100vh * 16/9 */
  min-height: 100%;
}

/* Kesin çözüm: ölçüyü hero'nun kendi boyutundan al.
   vh/vw viewport'a bakar; hero tam ekran olmadığı için oran bozuluyordu.
   max() + container birimleri ile 16:9 korunarak tam kaplama sağlanır. */
@supports (width: 1cqw) {
  .hero__embed {
    container-type: size;
  }

  /* %1 taşma payı: alt piksel yuvarlamasında kenarda ince çizgi kalmasın.
     Çarpanlar 16:9'u bozmayacak şekilde seçildi (101 × 9/16 = 56.8125). */
  .hero__embed iframe {
    width:  max(101cqw, 179.5556cqh);
    height: max(56.8125cqw, 101cqh);
    min-width: 0;
    min-height: 0;
  }
}

/* Metin okunabilirliği için karartma katmanı */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0.55) 0%,
    rgba(17, 17, 17, 0.30) 45%,
    rgba(17, 17, 17, 0.80) 100%
  );
}

.hero--showreel .hero__name {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.hero--showreel .hero__subtitle {
  color: var(--color-primary);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

/* Hareket azaltma: videoyu gizle, poster'ı arka plan olarak göster */
@media (prefers-reduced-motion: reduce) {
  .hero__video,
  .hero__embed {
    display: none;
  }
  .hero--showreel {
    background-image: var(--hero-poster);
    background-size: cover;
    background-position: center;
  }
}

/* ── İçerik Konteyneri ──────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
  margin-top: 24px;
}

/* ── Başlıklar ──────────────────────────────────────────────── */
.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: var(--fw-semi);
  line-height: 1;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: var(--fw-light);
  letter-spacing: 0.15em;
  color: var(--color-text);
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    height: 30vh;
    height: 30svh;
    min-height: 260px;
  }

  .hero--showreel {
    height: 52vh;
    height: 52svh;
    min-height: 360px;
  }

  .hero__content {
    padding: 0 var(--space-sm);
    margin-top: 40px;
  }

  .hero__name {
    font-size: clamp(2.35rem, 13vw, 4rem);
    overflow-wrap: anywhere;
  }

  .hero__subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }
}


/* ===== filmstrip.css ===== */
/* ============================================================
   FILMSTRIP.CSS — Yatay Film Şeridi (Works Section)
   ============================================================ */

/* ── Works Bölümü Wrapper ───────────────────────────────────── */
.works-section {
  position: relative;
  padding: var(--space-md) 0 var(--space-lg) 0;
  overflow: hidden;
}

/* ── Bölüm Başlığı ──────────────────────────────────────────── */
.works-header {
  padding: 0 var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.works-header-left {
  flex: 1;
}

/* ── Kategori Filtreleme Sekmeleri ──────────────────────────── */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin: 0 var(--space-md) var(--space-md);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  position: relative;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
}

.category-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--duration-mid) var(--ease-out);
}

.category-tab:hover {
  color: var(--color-text);
}

.category-tab.is-active {
  color: var(--color-accent);
}

.category-tab.is-active::after {
  transform: scaleX(1);
}

/* ── Filmstrip Dış Kapsayıcı ────────────────────────────────── */
.filmstrip {
  position: relative;
  overflow: hidden;
  /* Mouse wheel ile yatay scroll — overflow gizli, JS ile scroll */
}

/* ── Film Şeridi Track (Yatay Flex) ─────────────────────────── */
.filmstrip__track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1rem var(--space-md) 2.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: auto; /* JS ile kontrol edilir */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Momentum scroll (iOS) */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* Sürüklerken metin seçilmesin — seçim, sürüklemeyle çakışıyordu */
  user-select: none;
  -webkit-user-select: none;
}

.filmstrip__track::-webkit-scrollbar {
  display: none;
}

.filmstrip__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* ── Scroll Progress Bar ────────────────────────────────────── */
/* ── Yön Butonları ──────────────────────────────────────────── */
.filmstrip__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-hover);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-accent);
  transition:
    background   var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    opacity      var(--duration-fast) var(--ease-smooth);
}

.filmstrip__nav[hidden] {
  display: none;
}

.filmstrip__nav--prev { left: calc(var(--space-md) - 10px); }
.filmstrip__nav--next { right: calc(var(--space-md) - 10px); }

.filmstrip__nav:hover,
.filmstrip__nav:focus-visible {
  background: rgba(200, 169, 110, 0.18);
  border-color: var(--color-accent);
}

/* ── İlerleme Çubuğu (aynı zamanda kaydırma çubuğu) ─────────── */
.filmstrip__progress-wrapper {
  position: relative;
  height: 1px;
  margin: 0 var(--space-md);
  background: var(--color-border);
  /* Tıklama/sürükleme alanını büyüt — 1px'i yakalamak zor */
  padding: 10px 0;
  background-clip: content-box;
  touch-action: none;
}

.filmstrip__progress-bar {
  position: absolute;
  /* Sarmalayıcının 10px dolgusu var; çizgi tam ortadaki 1px'e otursun */
  top: 10px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Dot indikatör (progress bar üstünde) */
.filmstrip__progress-dot {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translateY(-50%) translateX(-50%);
  left: 0;
  transition: left 0.1s linear;
  will-change: left;
}

/* ── Kaydırma ipucu OK ──────────────────────────────────────── */
.filmstrip__hint {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-smooth);
}

.filmstrip__hint.is-hidden {
  opacity: 0;
}

.filmstrip__hint-arrow {
  display: flex;
  gap: 2px;
  animation: hintPulse 2s ease-in-out infinite;
}

.filmstrip__hint-arrow span {
  display: block;
  width: 4px;
  height: 4px;
  border-right: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  transform: rotate(-45deg);
}

@keyframes hintPulse {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%       { transform: translateX(4px); opacity: 1; }
}

/* ── Boş durum ──────────────────────────────────────────────── */
.filmstrip__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 240px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  letter-spacing: 0.1em;
}

/* ── Kategori Panel geçişleri ───────────────────────────────── */
.filmstrip-panel {
  display: none;
}

.filmstrip-panel.is-active {
  display: block;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .works-section {
    padding-top: var(--space-sm);
    overflow: clip;
  }

  .works-header {
    padding: 0 var(--space-sm);
  }

  .category-tabs {
    margin-left: var(--space-sm);
    margin-right: var(--space-sm);
  }

  .filmstrip__track {
    padding: 0.75rem var(--space-sm) 2rem;
    gap: 1rem;
    scroll-snap-type: x proximity;
  }

  .category-tab {
    padding: 0.6rem 1rem;
    font-size: 0.72rem;
  }

  .filmstrip__hint {
    display: none;
  }
}


/* ===== project-card.css ===== */
/* ============================================================
   PROJECT-CARD.CSS — Proje Kartları (2.35:1 Cinemascope)
   ============================================================ */

/* ── Kart Temel Yapısı ──────────────────────────────────────── */
.project-card {
  flex-shrink: 0;
  position: relative;
  /* 2.35:1 Cinemascope oranı */
  width: auto;
  height: clamp(260px, 20vw, 420px);
  aspect-ratio: var(--card-aspect, 16 / 9);
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  /* İçe doğru gölge — derinlik */
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--color-border);
  transition:
    box-shadow var(--duration-mid) var(--ease-smooth),
    transform  var(--duration-mid) var(--ease-smooth);
}

.project-card:hover {
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--color-border-hover);
  transform: translateY(-3px);
}

/* ── Kart Görseli ───────────────────────────────────────────── */
.project-card__image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
    var(--color-bg-card);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Şerit sürüklenirken görsel tarayıcı tarafından "taşınmasın" */
  -webkit-user-drag: none;
  user-select: none;
  transform: none;
  transition:
    transform var(--duration-slow) var(--ease-smooth),
    filter    var(--duration-mid)  var(--ease-smooth);
  will-change: transform;
}

.project-card:hover .project-card__image {
  filter: brightness(0.75);
}

/* ── Kart Gradient Overlay ──────────────────────────────────── */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9) 0%,
    rgba(17, 17, 17, 0.3) 40%,
    transparent           70%
  );
  transition: background var(--duration-mid) var(--ease-smooth);
  z-index: 1;
}

.project-card:hover .project-card__overlay {
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.95) 0%,
    rgba(17, 17, 17, 0.5)  50%,
    rgba(17, 17, 17, 0.1)  100%
  );
}

/* ── Kart İçeriği ───────────────────────────────────────────── */
.project-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── Kategori Etiketi ───────────────────────────────────────── */
/* Kategori ve başlık DAİMA görünür: ziyaretçi her kartın üzerine
   tek tek gelmeden neyin ne olduğunu görebilsin. Hover'da yalnızca
   alt meta bilgi (müşteri/yıl) açılır. */
.project-card__category {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform var(--duration-mid) var(--ease-out) 0.05s,
    opacity   var(--duration-mid) var(--ease-out) 0.05s;
}

/* ── Proje Adı ──────────────────────────────────────────────── */
.project-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.04em;
  transform: translateY(0);
  opacity: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  transition:
    transform var(--duration-mid) var(--ease-out) 0.1s,
    opacity   var(--duration-mid) var(--ease-out) 0.1s;
}

/* ── Yıl / Müşteri ──────────────────────────────────────────── */
.project-card__meta {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
  transform: translateY(8px);
  opacity: 0;
  transition:
    transform var(--duration-mid) var(--ease-out) 0.15s,
    opacity   var(--duration-mid) var(--ease-out) 0.15s;
}

/* Hover'da yalnızca meta bilgi (müşteri — yıl) açılır */
.project-card:hover .project-card__meta {
  transform: translateY(0);
  opacity: 1;
}

/* ── Play İkonu ─────────────────────────────────────────────── */
.project-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(200, 169, 110, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity    var(--duration-mid) var(--ease-out),
    transform  var(--duration-mid) var(--ease-out),
    border-color var(--duration-fast) var(--ease-smooth);
}

.project-card__play svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  margin-left: 3px; /* Optik hizalama */
}

.project-card:hover .project-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-card:hover .project-card__play:hover {
  border-color: var(--color-accent);
  background: rgba(200, 169, 110, 0.1);
}

/* Play ikonu yoksa (sadece görsel) */
.project-card--no-video .project-card__play {
  display: none;
}

/* ── Öne Çıkan Kart (Daha Büyük) ───────────────────────────── */
.project-card--featured {
  height: clamp(260px, 20vw, 420px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .project-card {
    width: auto;
    height: clamp(190px, 54vw, 300px);
    scroll-snap-align: start;
  }

  .project-card--featured {
    height: clamp(190px, 54vw, 300px);
  }

  /* Mobil'de hover içeriği daima görünür */
  .project-card__category,
  .project-card__title,
  .project-card__meta {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card__play {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

@media (max-width: 380px) {
  .project-card,
  .project-card--featured {
    max-width: calc(100vw - (var(--space-sm) * 2));
  }

  .project-card__content {
    padding: 0.9rem 1rem;
  }
}


/* ===== modal.css ===== */
/* ============================================================
   MODAL.CSS — Proje Detay Lightbox
   ============================================================ */

/* ── Modal Overlay ──────────────────────────────────────────── */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-mid) var(--ease-smooth);
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Kapalıyken içeriği klavye sırasından tamamen çıkar.
   (Aksi halde Tab ile görünmez kapatma butonuna odaklanılıyordu.) */
.project-modal:not(.is-open) {
  visibility: hidden;
}

.project-modal.is-open {
  visibility: visible;
}

/* ── Arkaplan Karartma ──────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px) saturate(50%);
  -webkit-backdrop-filter: blur(8px) saturate(50%);
  z-index: -1;
}

/* ── Modal İçerik Kutusu ────────────────────────────────────── */
.modal-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  transform: translateY(24px) scale(0.97);
  transition:
    transform var(--duration-mid) var(--ease-out),
    opacity   var(--duration-mid) var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-dark) var(--color-bg-elevated);
}

.project-modal.is-open .modal-container {
  transform: translateY(0) scale(1);
}

/* ── Kapat Butonu ───────────────────────────────────────────── */
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 1rem 1rem 0 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1;
  transition:
    color       var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    transform   var(--duration-fast) var(--ease-smooth);
}

.modal-close:hover {
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: rotate(90deg);
}

/* ── Video Alanı ────────────────────────────────────────────── */
.modal-video {
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.modal-video.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.modal-video.has-image::before {
  content: '';
  position: absolute;
  inset: -32px;
  background-image: var(--modal-image);
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  opacity: 0.45;
  transform: scale(1.08);
}

.modal-video.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.36);
}

/* Embed wrapper (YouTube/Vimeo) */
.modal-video .plyr__video-embed,
.modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Lokal video */
.modal-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Görsel fallback (video yoksa) */
.modal-video-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.single-project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.single-project-media::before {
  content: '';
  position: absolute;
  inset: -32px;
  background-image: var(--project-image);
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  opacity: 0.45;
  transform: scale(1.08);
}

.single-project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.36);
}

.single-project-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Modal Alt Bilgi Alanı ──────────────────────────────────── */
.modal-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  /* Float clear */
  overflow: hidden;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: var(--fw-semi);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.modal-category {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: block;
}

.modal-imdb-svg {
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.modal-imdb-link {
  cursor: pointer;
  text-decoration: none;
}

.modal-imdb-link:hover .modal-imdb-svg,
.modal-imdb-link:focus .modal-imdb-svg {
  color: var(--color-primary);
}

/* single-project.php için de aynı hover */
.single-imdb-wrap .modal-imdb-link:hover .modal-imdb-svg,
.single-imdb-wrap .modal-imdb-link:focus .modal-imdb-svg {
  color: var(--color-primary);
}

.modal-description {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: var(--space-md);
}

/* ── Ek Bağlantılar (web sitesi, sosyal medya…) ─────────────── */
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.project-links[hidden] {
  display: none;
}

.project-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition:
    color        var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    background   var(--duration-fast) var(--ease-smooth);
}

/* Dış bağlantı işareti */
.project-link-chip::after {
  content: '↗';
  font-size: 0.85em;
  opacity: 0.6;
}

.project-link-chip:hover,
.project-link-chip:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(200, 169, 110, 0.06);
}

/* ── Meta Bilgi Grid ────────────────────────────────────────── */
.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
  margin-top: var(--space-md);
}

.modal-meta-item {
  padding: 1rem 1.25rem;
  background: var(--color-bg-elevated);
}

.modal-meta-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.modal-meta-value {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-sm);
  color: var(--color-primary);
}

/* ── Scroll kilit (body) ────────────────────────────────────── */
body.modal-open {
  overflow: hidden;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .project-modal {
    padding: 0;
    align-items: flex-end;
  }

  .modal-container {
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
  }

  .modal-body {
    padding: var(--space-sm) var(--space-sm) var(--space-md);
  }
}


/* ===== before-after.css ===== */
/* ============================================================
   BEFORE-AFTER.CSS — VFX Önce/Sonra Karşılaştırma Slider'ı
   ============================================================ */

.before-after,
.ba-viewport {
  width: 100%;
}

.ba-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  user-select: none;
  touch-action: pan-y; /* dikey scroll'a izin ver, yatayı slider alsın */
  cursor: ew-resize;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

/* "Önce" görseli soldan --pos kadar görünür, gerisi kırpılır */
.ba-img--before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

/* ── Ayırıcı çizgi + tutamak ─────────────────────────────────── */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--color-primary, #F5F0E8);
  transform: translateX(-1px);
  z-index: 3;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.7);
  border: 1.5px solid var(--color-accent, #C8A96E);
  color: var(--color-accent, #C8A96E);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: ew-resize;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.ba-viewport.is-dragging .ba-handle,
.ba-handle:hover {
  background: rgba(200, 169, 110, 0.2);
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-handle:focus-visible {
  outline: 2px solid var(--color-accent, #C8A96E);
  outline-offset: 3px;
}

/* ── Etiketler ───────────────────────────────────────────────── */
.ba-tag {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-body, sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary, #F5F0E8);
  background: rgba(17, 17, 17, 0.65);
  padding: 4px 10px;
  border-radius: 2px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ba-tag--before { left: 12px; }
.ba-tag--after  { right: 12px; }

/* ── Modal içindeki yerleşim ─────────────────────────────────── */
.modal-comparison {
  margin-top: var(--space-md);
}

.modal-comparison-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}


/* ===== sections.css ===== */
/* ============================================================
   SECTIONS.CSS — About, Contact ve Diğer Bölümler
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════════ */

.about-section {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Dekoratif arka plan detay */
.about-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(
    ellipse,
    rgba(200, 169, 110, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: 0 var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.about-inner--text-only {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

/* ── Görsel / Fotoğraf Tarafı ───────────────────────────────── */
.about-visual {
  position: relative;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%) contrast(1.05);
  transition: filter var(--duration-slow) var(--ease-smooth);
}

.about-portrait:hover {
  filter: grayscale(0%) contrast(1);
}

/* Çerçeve dekorasyon */
.about-visual::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--color-border-hover);
  z-index: -1;
  pointer-events: none;
}

/* Deneyim sayacı kutucuk */
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-hover);
  padding: 1.25rem 1.75rem;
  text-align: center;
}

.about-badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-semi);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-badge-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Metin Tarafı ───────────────────────────────────────────── */
.about-content {}

/* ── Kısa Tanıtım ───────────────────────────────────────────── */
.about-intro {
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-md);
  color: var(--color-text);
  line-height: 1.8;
  max-width: 60ch;   /* okunabilir satır uzunluğu */
  margin-bottom: var(--space-md);
}

/* ── Seçilmiş İşler (künye) ─────────────────────────────────── */
.about-credits {
  margin-top: var(--space-md);
}

.credits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

/* Yapım adları düzyazı değil künye: display fontuyla, ayıraçlı */
.credits-list li {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-primary);
  line-height: 1.5;
}

.credits-list li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -0.68rem;
  color: var(--color-accent);
}

/* ── Yetenekler / Yazılımlar ────────────────────────────────── */
.about-skills {
  margin-top: var(--space-md);
}

.about-skills-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition:
    color        var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    background   var(--duration-fast) var(--ease-smooth);
}

.skill-tag:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(200, 169, 110, 0.05);
}

/* ── About Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-visual::before {
    display: none;
  }
}


/* ════════════════════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════════════════════ */

.contact-section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* Üst ayırıcı çizgi */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-md);
  right: var(--space-md);
  height: 1px;
  background: var(--color-border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
  padding: 0 var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Sol: İletişim Bilgileri ────────────────────────────────── */
.contact-info {}

.contact-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.contact-email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  transition: color var(--duration-fast) var(--ease-smooth);
  border-bottom: 1px solid var(--color-border-hover);
  padding-bottom: 4px;
}

.contact-email-link:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

/* ── Sosyal Linkler ─────────────────────────────────────────── */
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  transition: color var(--duration-fast) var(--ease-smooth);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}

.contact-social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-border);
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Sağ: İletişim Formu ────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-base);
  color: var(--color-primary);
  outline: none;
  transition:
    border-color var(--duration-fast) var(--ease-smooth),
    color        var(--duration-fast) var(--ease-smooth);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
}

.form-textarea {
  resize: none;
  height: 120px;
  line-height: 1.7;
}

/* ── Gönder Butonu ──────────────────────────────────────────── */
.form-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.25rem;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background    var(--duration-fast) var(--ease-smooth),
    color         var(--duration-fast) var(--ease-smooth),
    transform     var(--duration-fast) var(--ease-smooth);
}

.form-submit-btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateX(4px);
}

.form-submit-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.form-submit-btn:hover svg {
  transform: translateX(4px);
}

/* ── Form Durum Mesajları ───────────────────────────────────── */
.form-status {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border-radius: 2px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--color-accent);
}

.form-status.is-error {
  display: block;
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ff9090;
}

/* Loading spinner */
.form-submit-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.form-submit-btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Contact Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .about-inner,
  .contact-inner {
    padding: 0 var(--space-sm);
  }

  .about-badge {
    right: 0;
    bottom: 0;
    padding: 1rem 1.25rem;
  }

  .contact-email-link {
    overflow-wrap: anywhere;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════════════════════
   SECTION DIVIDER (Dekoratif)
   ════════════════════════════════════════════════════════════ */

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 var(--space-md);
  margin: 0 0 var(--space-lg);
  opacity: 0.4;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border-hover);
}

.section-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}


/* ===== plyr-custom.css ===== */
/* ============================================================
   PLYR-CUSTOM.CSS — Plyr.io Video Oynatıcı Renk Teması Override
   ============================================================ */

/* ── CSS Variables Override ─────────────────────────────────── */
:root {
  --plyr-color-main:                  #C8A96E;
  --plyr-video-background:            #111111;
  --plyr-video-control-color:         #F5F0E8;
  --plyr-video-control-color-hover:   #C8A96E;
  --plyr-video-control-background-hover: rgba(200, 169, 110, 0.15);
  --plyr-audio-control-color:         #F5F0E8;
  --plyr-audio-control-color-hover:   #C8A96E;
  --plyr-range-fill-background:       #C8A96E;
  --plyr-range-thumb-background:      #C8A96E;
  --plyr-range-thumb-shadow:          0 1px 1px rgba(200, 169, 110, 0.15), 0 0 0 1px rgba(200, 169, 110, 0.2);
  --plyr-range-track-height:          3px;
  --plyr-range-thumb-height:          14px;
  --plyr-range-thumb-width:           14px;
  --plyr-font-family:                 'Inter', system-ui, sans-serif;
  --plyr-font-size-base:              14px;
  --plyr-font-size-small:             12px;
  --plyr-font-weight-regular:         300;
  --plyr-font-weight-bold:            600;
  --plyr-tooltip-background:          rgba(17, 17, 17, 0.9);
  --plyr-tooltip-color:               #F5F0E8;
  --plyr-tooltip-shadow:              0 4px 12px rgba(0, 0, 0, 0.4);
  --plyr-badge-background:            #C8A96E;
  --plyr-badge-text-color:            #111111;
  --plyr-captions-background:         rgba(17, 17, 17, 0.85);
  --plyr-captions-text-color:         #F5F0E8;
  --plyr-control-spacing:             12px;
  --plyr-control-radius:              2px;
  --plyr-tab-focus-color:             #C8A96E;
}

/* ── Oynatıcı Kontrol Barı ──────────────────────────────────── */
.plyr--video .plyr__controls {
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.92) 0%,
    rgba(17, 17, 17, 0.5) 70%,
    transparent 100%
  );
  padding: 1rem 1.25rem 0.85rem;
  gap: 0.5rem;
}

/* ── Büyük Oynat Butonu ─────────────────────────────────────── */
.plyr--video .plyr__control--overlaid {
  background: transparent;
  border: 1.5px solid rgba(200, 169, 110, 0.65);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  /* Plyr butonu translate(-50%,-50%) ile ortalar; hover'daki transform bunu
     ezmesin diye ortalamayı burada da açıkça belirtiyoruz. */
  transform: translate(-50%, -50%);
  transition:
    background    0.2s ease,
    border-color  0.2s ease,
    transform     0.2s ease;
}

.plyr--video .plyr__control--overlaid:hover,
.plyr--video .plyr__control--overlaid:focus {
  background: rgba(200, 169, 110, 0.12);
  border-color: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.plyr--video .plyr__control--overlaid svg {
  fill: #C8A96E;
}

/* ── İlerleme Çubuğu ────────────────────────────────────────── */
.plyr__progress input[type='range'] {
  color: #C8A96E;
}

.plyr__progress__buffer {
  color: rgba(200, 169, 110, 0.2);
}

/* ── Kontrol İkonları ───────────────────────────────────────── */
.plyr--video .plyr__control {
  border-radius: var(--plyr-control-radius);
  transition:
    color      0.15s ease,
    background 0.15s ease;
}

.plyr--video .plyr__control:hover {
  background: var(--plyr-video-control-background-hover);
}

/* ── Ses Slider ─────────────────────────────────────────────── */
.plyr__volume input[type='range'] {
  color: #C8A96E;
}

/* ── Tam Ekran: İmleç gizle ─────────────────────────────────── */
.plyr--fullscreen-active video {
  cursor: none;
}

/* ── Modal İçinde Oynatıcı ──────────────────────────────────── */
.modal-video .plyr {
  width: 100%;
  height: 100%;
}

.modal-video .plyr--video {
  height: 100%;
}

/* ── Embed (YouTube/Vimeo) Wrapper ──────────────────────────── */
.plyr__video-embed {
  aspect-ratio: 16 / 9;
}

/* ── Tooltip ────────────────────────────────────────────────── */
.plyr__tooltip {
  font-family: var(--plyr-font-family);
  letter-spacing: 0.05em;
  border-radius: 2px;
}


/* ===== footer.css ===== */
/* ============================================================
   FOOTER.CSS
   ============================================================ */

.site-footer {
  position: relative;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Logo / İsim ────────────────────────────────────────────── */
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

.footer-logo:hover {
  color: var(--color-primary);
}

/* ── Copyright ──────────────────────────────────────────────── */
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  text-align: center;
  flex: 1;
}

/* ── Sosyal İkonlar ─────────────────────────────────────────── */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--color-text-muted);
  transition:
    color     var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

.footer-social-link:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Footer IMDb badge — header ile aynı class */
.footer-social-link .imdb-badge {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: -0.3px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  padding: 1px 3px;
  line-height: 1;
  display: inline-block;
}

/* ── "Back to top" ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity   var(--duration-mid) var(--ease-smooth),
    transform var(--duration-mid) var(--ease-smooth),
    color     var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-inner {
    padding: 0 var(--space-sm);
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-copy {
    order: 3;
  }

  .back-to-top {
    right: calc(var(--space-sm) + env(safe-area-inset-right));
    bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
  }
}


