/* ═══ Jan° — Case Study Page ════════════════════════════════════════════════ */

/* Smooth scroll: Lenis JS ile yönetiliyor, CSS'in kendi "smooth"u ile çakışmaması için auto */
html { scroll-behavior: auto; }

/* Cursor: tüm elementlerde native cursor'ı gizle, custom cursor çalışsın */
body.cs-page,
body.cs-page * { cursor: none !important; }

/* ── Hero ── */
.cs-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 64px;
  overflow: hidden;
  background: #0A0A0A;
}
.cs-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
  transition: transform 6s ease;
  transform: scale(1.04);
}
.cs-hero:hover .cs-hero-bg { transform: scale(1); }
.cs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 25%, rgba(10,10,10,.3) 70%, transparent 100%);
}
.cs-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px,5vw,80px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.cs-hero-eye {
  font: 500 11px/1 'Inter Tight', sans-serif;
  letter-spacing: .15em;
  color: #DCF532;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-hero-eye::before {
  content: '';
  width: 32px; height: 1px;
  background: #DCF532;
}
.cs-hero-title {
  font: 800 clamp(48px,8vw,100px)/1.15 'Inter Tight', sans-serif;
  letter-spacing: -.03em;
  color: #F5F5F0;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.cs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  margin-top: 8px;
}
.cs-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cs-meta-label {
  font: 500 10px/1 'Inter Tight', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.cs-meta-value {
  font: 500 14px/1 'Inter Tight', sans-serif;
  color: #F5F5F0;
}
.cs-meta-link {
  font: 500 14px/1 'Inter Tight', sans-serif;
  color: #DCF532;
  text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
.cs-meta-link:hover { text-decoration: underline; }

/* ── Nav override on case pages ── */
.cs-page #nav { position: fixed; }

/* ── Body wrapper ── */
.cs-body {
  background: #F5F5F0;
  color: #0A0A0A;
}
.cs-section {
  padding: clamp(48px,6vw,96px) clamp(24px,5vw,80px);
  max-width: 1200px;
  margin: 0 auto;
}
.cs-section-label {
  font: 500 10px/1 'Inter Tight', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(10,10,10,.35);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(10,10,10,.1);
}

/* ── Two-col layout ── */
.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px,4vw,80px);
  align-items: start;
}
@media(max-width:768px) { .cs-two-col { grid-template-columns: 1fr; } }

.cs-col-head {
  font: 700 clamp(28px,4vw,48px)/1.05 'Inter Tight', sans-serif;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.cs-col-body {
  font: 400 16px/1.65 'Inter Tight', sans-serif;
  color: rgba(10,10,10,.7);
  margin: 0;
}

/* ── Metrics strip ── */
.cs-metrics {
  background: #0A0A0A;
  color: #F5F5F0;
  padding: clamp(48px,6vw,80px) clamp(24px,5vw,80px);
}
.cs-metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 40px;
}
.cs-metric-item { display: flex; flex-direction: column; gap: 10px; }
.cs-metric-val {
  font: 800 clamp(42px,6vw,72px)/1 'Inter Tight', sans-serif;
  letter-spacing: -.03em;
  color: #DCF532;
}
.cs-metric-lbl {
  font: 500 12px/1 'Inter Tight', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245,245,240,.5);
}

/* ── Phases / timeline ── */
.cs-phases { display: flex; flex-direction: column; gap: 0; }
.cs-phase {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(10,10,10,.1);
  align-items: center;
}
.cs-phase:first-child { border-top: 1px solid rgba(10,10,10,.1); }
.cs-phase-num {
  font: 700 11px/1 'Inter Tight', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-phase-num::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #DCF532;
}
.cs-phase-desc {
  font: 400 15px/1.5 'Inter Tight', sans-serif;
  color: rgba(10,10,10,.65);
  margin: 0;
}
@media(max-width:600px) {
  .cs-phase { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Gallery ── */
.cs-gallery {
  background: #111;
  padding: clamp(32px,4vw,64px) clamp(24px,5vw,80px);
}
.cs-gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
  gap: 16px;
}
.cs-gallery-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* ── CTA ── */
.cs-cta {
  background: #0A0A0A;
  padding: clamp(64px,8vw,120px) clamp(24px,5vw,80px);
  text-align: center;
  color: #F5F5F0;
}
.cs-cta-sub {
  font: 500 11px/1 'Inter Tight', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,245,240,.4);
  margin-bottom: 24px;
}
.cs-cta-title {
  font: 800 clamp(36px,6vw,72px)/1.15 'Inter Tight', sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 40px;
}
.cs-cta-title span { color: #DCF532; }
.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #DCF532;
  color: #0A0A0A;
  font: 700 14px/1 'Inter Tight', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.cs-cta-btn:hover { opacity: .9; transform: translateY(-2px); }

/* ── Back nav ── */
.cs-back {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 'Inter Tight', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #F5F5F0;
  text-decoration: none;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s;
}
.cs-back:hover { background: rgba(10,10,10,.9); }

/* ── Tags ── */
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cs-tag {
  font: 500 11px/1 'Inter Tight', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(10,10,10,.5);
  border: 1px solid rgba(10,10,10,.15);
  padding: 6px 12px;
}
