@font-face { font-family: "Gotham"; src: url("/fonts/gotham-book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/fonts/gotham-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/fonts/gotham-bolditalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("/fonts/gotham-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --lacivert: #132D57; --koyu: #081326; --en-koyu: #050B17; --acik: #8FB3FF; --beyaz: #FFFFFF;
  --gutter: clamp(20px, 6vw, 96px);
}
* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0; min-height: 100svh; color: var(--beyaz);
  font-family: "Gotham", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(120% 90% at 100% 110%, #1E4280 0%, rgba(19,45,87,.65) 25%, rgba(8,19,38,0) 60%),
              linear-gradient(145deg, var(--en-koyu) 0%, var(--koyu) 60%, var(--lacivert) 100%);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Zemin: Lefkoşa surları gece (Higgsfield), video + poster; üstüne okunabilirlik için lacivert örtü */
.zemin { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.zemin-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: translateX(-4%) scale(1.1); transform-origin: 50% 55%; filter: saturate(.7) brightness(.55); opacity: .55; }
.zemin-orte {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,23,.96) 0%, rgba(5,11,23,.86) 26%, rgba(8,19,38,.55) 50%, rgba(8,19,38,.45) 72%, rgba(8,19,38,.7) 100%),
    linear-gradient(0deg, rgba(5,11,23,.85) 0%, rgba(5,11,23,0) 35%);
}

/* Portre — dekupe PNG, sağa sabit, alta oturur; sağdan kayarak girer */
.portre {
  position: fixed; right: 0; bottom: 0; margin: 0; height: min(92vh, 980px); width: auto; z-index: 1; pointer-events: none;
  animation: portre-giris 1.3s .35s cubic-bezier(.16,1,.3,1) both;
}
.portre img {
  display: block; height: 100%; width: auto; max-width: none;
  filter: grayscale(1) contrast(1.06) brightness(.96) drop-shadow(0 30px 60px rgba(0,0,0,.55));
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 18%); mask-image: linear-gradient(to top, transparent 0%, #000 18%);
}
@keyframes portre-giris { from { opacity: 0; transform: translateX(14vw); } to { opacity: 1; transform: none; } }

/* İçerik */
.icerik {
  position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(80px, 14vh, 140px) var(--gutter) 140px; max-width: min(46vw, 760px);
}
.yakinda {
  margin: 0 0 28px; font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: none; color: rgba(255,255,255,.66);
  display: flex; align-items: flex-start; gap: 14px; line-height: 1.45;
}
.yakinda::before { content: ""; flex: none; width: 48px; height: 1px; margin-top: .7em; background: var(--acik); opacity: .7; }
.yakinda-metin { display: flex; flex-direction: column; }
.yakinda-metin span:last-child { color: rgba(255,255,255,.45); }
.ad {
  margin: 0; font-weight: 900; font-size: clamp(2.6rem, 6.6vw, 6.2rem); line-height: .92; letter-spacing: -.035em;
  text-transform: uppercase; display: block;
}
.ad .satir { display: block; white-space: nowrap; }
.ad { opacity: 0; animation: belir .9s .25s cubic-bezier(.16,1,.3,1) both; }
@keyframes belir { to { opacity: 1; transform: none; } }
.unvan { margin: 26px 0 0; display: flex; flex-direction: column; gap: 4px; animation: belir .8s .9s cubic-bezier(.16,1,.3,1) both; opacity: 0; }
.unvan-ust { font-weight: 400; font-size: clamp(.78rem, 1vw, .9rem); letter-spacing: .12em; text-transform: uppercase; color: var(--acik); opacity: .85; }
.unvan-ana { font-weight: 500; font-size: clamp(1rem, 1.55vw, 1.25rem); letter-spacing: .005em; color: rgba(255,255,255,.88); }
.slogan { margin: 26px 0 0; display: flex; flex-direction: column; gap: 6px; animation: belir .8s 1.15s cubic-bezier(.16,1,.3,1) both; opacity: 0; }
.slogan-ust { font-weight: 700; font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.005em; color: var(--acik); line-height: 1.15; }
.slogan-ana { font-weight: 900; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.03em; color: var(--beyaz); }
.slogan-ana .vurgu { position: relative; display: inline-block; padding: 0 .12em 0 .06em; }
.slogan-ana .vurgu::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .38em; z-index: -1; border-radius: .06em;
  background: linear-gradient(90deg, rgba(143,179,255,.55), rgba(143,179,255,.18)); transform: skewX(-8deg);
}

/* "Lefkoşa'yız." animasyonu — anim.js html.anim ekler. JS yoksa / reduced-motion'da bu blok devreye girmez, her şey doğrudan görünür. */
html.anim .slogan { animation: none; opacity: 1; }
html.anim .slogan-ust { opacity: 0; transition: opacity .7s cubic-bezier(.16,1,.3,1); }
html.anim .slogan-ust.goster { opacity: 1; }
html.anim .slogan-ana .vurgu::before { opacity: 0; }
html.anim .slogan-ana .vurgu.serit::before { opacity: 1; }
html.anim .vurgu .h { display: inline-block; opacity: 0; transform: translateY(.14em); transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .62s cubic-bezier(.16,1,.3,1); }
html.anim .vurgu .h.yan { opacity: 1; transform: none; }
html.sabit .vurgu .h, html.sabit .slogan-ust { transition: none; }
html.anim .haber { animation-delay: 2.45s; }
canvas#isik, canvas#isik-alt { position: fixed; inset: 0; pointer-events: none; }
canvas#isik-alt { z-index: 1; }   /* sur + morf: metnin altında, portrenin üstünde */
canvas#isik { z-index: 3; }       /* ışık başı + iz: her şeyin üstünde */

/* Haber ver */
.haber { margin: 44px 0 0; max-width: 460px; animation: belir .8s 1.4s cubic-bezier(.16,1,.3,1) both; opacity: 0; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.haber-satir {
  display: flex; gap: 6px; padding: 6px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.haber input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--beyaz);
  font: 500 15px/1 "Gotham", system-ui, sans-serif; outline: none;
}
.haber input::placeholder { color: rgba(255,255,255,.45); }
.haber input:focus-visible { box-shadow: inset 0 0 0 1px var(--acik); }
.haber button {
  height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--beyaz); color: var(--lacivert);
  font: 700 14px/1 "Gotham", system-ui, sans-serif; letter-spacing: .01em; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.haber button:hover { background: #E6EEFF; transform: translateY(-1px); }
.haber button:disabled { opacity: .6; cursor: progress; transform: none; }
.durum { margin: 10px 4px 0; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.55); }
.durum.ok { color: var(--acik); } .durum.hata { color: #FFB4B4; }
.haber.bitti .haber-satir { display: none; }
.haber.bitti .durum { font-weight: 500; font-size: 15px; color: var(--beyaz); }

/* Alt şerit */
.alt {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .04em;
}
.sosyal { display: flex; gap: 14px; }
.sosyal a { color: rgba(255,255,255,.7); display: inline-flex; padding: 6px; border-radius: 8px; transition: color .15s, background .15s; }
.sosyal a:hover { color: var(--beyaz); background: rgba(255,255,255,.08); }
.telif { margin: 0; }

/* Mobil — afiş düzeni: portre EN ÜSTTE sağa dayalı (yüzün ~%25'i sağdan kesik), üst metin bloğu solda ve yüzün
   sol kenarından uzak (≤ 60vw); slogan + form aşağıda portrenin göğsüne biner. Sol maske YOK (dekupenin sol kenarı temiz).
   Portrenin yatay yeri vh'ye bağlı: genişlik = .756 × yükseklik; yüz merkezi görselin %51'i → merkez ~92vw'ye oturur. */
@media (max-width: 900px) {
  .zemin-video { object-position: 50% 30%; transform: none; opacity: .4; }
  .zemin-orte { background: linear-gradient(90deg, rgba(5,11,23,.8) 0%, rgba(5,11,23,.3) 55%, rgba(5,11,23,0) 100%), linear-gradient(0deg, rgba(5,11,23,.97) 0%, rgba(5,11,23,.9) 26%, rgba(5,11,23,.45) 50%, rgba(5,11,23,.35) 80%, rgba(5,11,23,.6) 100%); }
  .portre { top: 0; bottom: auto; height: 76vh; right: calc(8vw - 28.2vh); animation-name: portre-giris-mobil; }
  .portre img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.45) 18%, #000 40%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.45) 18%, #000 40%);
    filter: grayscale(1) contrast(1.06) brightness(.88) drop-shadow(0 20px 40px rgba(0,0,0,.6));
  }
  @keyframes portre-giris-mobil { from { opacity: 0; transform: translateX(10vw); } to { opacity: 1; transform: none; } }
  .icerik { justify-content: flex-start; padding: max(48px, 7vh) var(--gutter) 88px; max-width: none; z-index: 2; min-height: 100svh; }
  .yakinda, .ad, .unvan { max-width: 60vw; }
  .yakinda { margin-bottom: 12px; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.65); }
  .yakinda::before { width: 24px; margin-top: .6em; }
  .ad { font-size: clamp(1.8rem, 8.4vw, 2.5rem); line-height: .9; }
  .unvan { margin-top: 12px; gap: 3px; }
  .unvan-ust { font-size: .64rem; letter-spacing: .16em; }
  .unvan-ana { font-size: .9rem; line-height: 1.3; }
  .slogan { margin-top: auto; gap: 4px; }
  .slogan-ust { font-size: 1.1rem; }
  .slogan-ana { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .haber { margin-top: 22px; max-width: none; }
  .haber-satir { padding: 5px; }
  .haber input { height: 44px; font-size: 14px; }
  .haber button { height: 44px; padding: 0 14px; font-size: 13px; }
  .durum { font-size: 12px; }
  .alt { padding: 14px var(--gutter) 18px; font-size: 11px; background: linear-gradient(0deg, rgba(5,11,23,.9), rgba(5,11,23,0)); }
}

@media (prefers-reduced-motion: reduce) {
  .ad, .unvan, .slogan, .haber, .portre { animation: none; opacity: 1; transform: none; }
  .haber button { transition: none; }
}
