/* ════════════════════════════════════════════
   BORA ÇOŞAN — minimal cyberpunk (CP2077 accent)
   yellow = rare accent. mostly black/graphite.
   ════════════════════════════════════════════ */

:root {
  --bg:        #08080a;
  --bg-2:      #0d0d10;
  --panel:     #131318;
  --panel-2:   #17171d;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.12);
  --yellow:    #fcee0a;
  --yellow-dim:#bcae08;
  --red:       #ff003c;
  --text:      #e8e8ec;
  --text-dim:  #76767f;
  --text-mid:  #a6a6ad;
  --font-disp: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease:      cubic-bezier(.4,0,.15,1);
  --maxw:      1180px;
  --pad:       clamp(1.4rem, 5vw, 5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }

body {
  background: transparent;
  color: var(--text);
  font-family: var(--font-disp);
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: #000; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262e; }
::-webkit-scrollbar-thumb:hover { background: #34343e; }

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

/* ════ AURORA FIELD — soft drifting glows (theme: black / yellow / whitish-gray) ════ */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: var(--bg);
}
.a-blob { position: absolute; border-radius: 50%; filter: blur(72px); will-change: transform; }
.a1 {
  width: 48vw; height: 48vw; left: -8%; top: -14%;
  background: radial-gradient(circle, rgba(252,238,10,.15), transparent 68%);
  animation: drift1 28s var(--ease) infinite alternate;
}
.a2 {
  width: 44vw; height: 44vw; right: -12%; top: 12%;
  background: radial-gradient(circle, rgba(232,232,236,.085), transparent 70%);
  animation: drift2 34s var(--ease) infinite alternate;
}
.a3 {
  width: 42vw; height: 42vw; left: 22%; bottom: -20%;
  background: radial-gradient(circle, rgba(188,174,8,.12), transparent 70%);
  animation: drift3 31s var(--ease) infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); }     to { transform: translate(13vw,7vh) scale(1.18); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); }     to { transform: translate(-11vw,9vh) scale(1.12); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1.06); }  to { transform: translate(9vw,-7vh) scale(1); } }

/* interactive AURORA shader canvas — sits above the CSS fallback, behind content */
#aurora-gl {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
  pointer-events: none;
}
/* içerik canvas'ın üstünde kalsın (bulletproof stacking) */
.hero, .section, .footer { position: relative; z-index: 1; }

/* film grain — barely there, adds richness */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* mono label utility */
.mono { font-family: var(--font-mono); }

/* ════ NAV ════ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: linear-gradient(180deg, rgba(8,8,10,.92), rgba(8,8,10,0));
  transition: background .4s var(--ease);
  border-bottom: none;
}
.nav.solid {
  background: rgba(8,8,10,.88);
  backdrop-filter: blur(12px);
}
.brand {
  font-family: var(--font-disp);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .14em;
  color: var(--text);
}
.brand-dot { color: var(--yellow); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim);
  position: relative; padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--yellow); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

.lang-toggle {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .08em;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--text-dim); padding: .4rem .7rem; cursor: pointer;
  transition: border-color .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--text-dim); }
.lang-sep { margin: 0 .25rem; color: #44444c; }
body[data-lang="tr"] .lang-on  { color: var(--yellow); }
body[data-lang="en"] .lang-off { color: var(--yellow); }

.menu-btn { display: none; }

/* ════ HERO ════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  max-width: var(--maxw); margin: 0 auto;
  position: relative;
}
.kicker {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 2rem;
}
.kicker-y { color: var(--yellow); margin-right: .6rem; }

.hero-name {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(3.2rem, 13vw, 10rem);
  line-height: .92; letter-spacing: -.01em;
  color: var(--text);
  text-transform: uppercase;
}
.hero-tagline {
  font-weight: 400;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--text-mid);
  margin-top: 1.6rem; max-width: 30ch;
}
.hero-line {
  width: 64px; height: 2px; background: var(--yellow);
  margin: 2.4rem 0 1.6rem;
  box-shadow: 0 0 18px rgba(252,238,10,.4);
}
.hero-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .2em; color: var(--text-dim);
}
.hero-meta span { position: relative; }
.hero-meta span:not(:last-child)::after {
  content: ''; position: absolute; right: -1rem; top: 50%;
  width: 3px; height: 3px; background: var(--text-dim); border-radius: 50%;
}

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: var(--pad);
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .3em;
  color: var(--text-dim);
}
.scroll-bar {
  width: 44px; height: 1px; background: var(--text-dim); position: relative; overflow: hidden;
}
.scroll-bar::after {
  content: ''; position: absolute; left: -44px; top: 0; width: 44px; height: 1px;
  background: var(--yellow); animation: scroll-run 2.4s var(--ease) infinite;
}
@keyframes scroll-run { 0% { left: -44px; } 60%,100% { left: 44px; } }

/* ════ SECTIONS ════ */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
}
.sec-head {
  display: flex; align-items: baseline; gap: 1.1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem; margin-bottom: 2.6rem;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: .8rem; color: var(--yellow); letter-spacing: .1em;
}
.sec-title {
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: .04em; color: var(--text);
}
.sec-count {
  margin-left: auto; font-family: var(--font-mono);
  font-size: .76rem; color: var(--text-dim); letter-spacing: .1em;
}
.sec-desc {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em;
  color: var(--text-dim); margin: -1.6rem 0 2.6rem;
}

/* about */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-lead {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3;
  color: var(--text);
}
.about-body p { color: var(--text-mid); font-size: 1.02rem; margin-bottom: 1.2rem; }
.about-body p:last-child { margin-bottom: 0; }

/* ════ CARD GRID ════ */
.card-grid { display: grid; gap: 1.2rem; }
.card-grid-poster { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card-grid-wide   { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* cover / image area */
.card-cover {
  position: relative;
  background: var(--panel-2);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-grid-poster .card-cover { aspect-ratio: 3/4; }
.card-grid-wide   .card-cover { aspect-ratio: 16/9; }

/* placeholder when no image */
.card-cover.empty::before {
  content: '';
  position: absolute; inset: 14px;
  border: 1px dashed rgba(255,255,255,.12);
}
.ph {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .2em; color: #3a3a42;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 1;
}
.ph-plus { font-size: 1.3rem; color: #2e2e36; line-height: 1; }

/* yellow corner tick on hover */
.card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-top: 0 solid var(--yellow);
  border-right: 0 solid transparent;
  transition: border-width .35s var(--ease);
}
.card:hover::after { border-top-width: 14px; border-right-width: 14px; }

.card-body { padding: .95rem 1rem 1.05rem; }
.card-title {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .01em; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.card-note { font-size: .88rem; color: var(--text-dim); margin-top: .2rem; }
.card-meta {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em;
  color: var(--text-dim); text-transform: uppercase; margin-top: .5rem;
}
.card-date { color: var(--yellow-dim); }

/* image cover overlay gradient for wide cards */
.card-grid-wide .card-cover.has-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,8,10,.6));
}

/* ════ CONTACT ════ */
.contact-lead {
  font-family: var(--font-disp); font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--text-mid);
  max-width: 24ch; margin-bottom: 2.8rem;
}
.social-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.social {
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1.4rem;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em;
  transition: all .3s var(--ease);
}
.social svg { transition: color .3s var(--ease); }
.social:hover {
  border-color: var(--yellow); color: var(--text);
}
.social:hover svg { color: var(--yellow); }

/* ════ FOOTER ════ */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em;
  color: var(--text-dim); text-transform: uppercase;
}
.footer-y { color: var(--text-dim); }

/* ════ REVEAL ════ */
.r { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.r.in { opacity: 1; transform: none; }

/* ════ RESPONSIVE ════ */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .nav-links { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: .4rem;
  }
  .menu-btn span { width: 22px; height: 1.5px; background: var(--text); transition: .3s var(--ease); }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--yellow); }
  .nav.open .menu-btn span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); background: var(--yellow); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: rgba(8,8,10,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: .5rem 0;
  }
  .nav.open .nav-links a { padding: 1rem var(--pad); }
  .lang-toggle { margin-left: auto; margin-right: .8rem; }
}

@media (max-width: 480px) {
  .card-grid-poster { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { gap: 1.4rem; }
  .footer { flex-direction: column; gap: .6rem; text-align: center; }
  .scroll-cue { display: none; }
}

/* ════ REDUCED MOTION ════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: opacity .2s ease !important; }
  .r { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
