/* =============================================================
   EMOTION DANCE STUDIO
   Tasarim sistemi — logodan tureyen siyah / sampanya paleti
   ============================================================= */

/* ---------------------------------------------------- degiskenler */
:root {
  --bg:          #080807;
  --bg-2:        #0e0d0c;
  --bg-3:        #14120f;

  --cream:       #f3eadb;
  --cream-80:    rgba(243, 234, 219, 0.80);
  --cream-55:    rgba(243, 234, 219, 0.55);
  --cream-35:    rgba(243, 234, 219, 0.35);
  --hairline:    rgba(243, 234, 219, 0.13);
  --hairline-2:  rgba(243, 234, 219, 0.07);

  --champagne:   #d9c7a7;
  --metal: linear-gradient(105deg, #5a5348 0%, #f5ede0 38%, #c8b694 62%, #f5ede0 100%);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-sans:    "Jost", -apple-system, "Segoe UI", sans-serif;

  /* akiskan tipografi */
  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.88rem);
  --step-0:  clamp(0.95rem, 0.90rem + 0.24vw, 1.08rem);
  --step-1:  clamp(1.20rem, 1.05rem + 0.70vw, 1.65rem);
  --step-2:  clamp(1.70rem, 1.35rem + 1.70vw, 3.00rem);
  --step-3:  clamp(2.40rem, 1.60rem + 3.80vw, 5.50rem);
  --step-4:  clamp(3.20rem, 1.40rem + 8.60vw, 11.0rem);

  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section-y: clamp(6rem, 13vh, 12rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* Lenis devredeyken tarayicinin kendi smooth scroll'u cakisiyor */
html.lenis { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* height:auto sart — HTML'deki width/height nitelikleri (CLS'i onlemek icin
   duruyorlar) aksi halde sunum ipucu olarak CSS genisligini eziyor ve logo
   dogal boyunda cizilyor. */
img, video, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--champagne); color: var(--bg); }

:focus-visible {
  outline: 1px solid var(--champagne);
  outline-offset: 4px;
}

/* ------------------------------------------------------ yardimcilar */
.u-wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.u-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.u-metal {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.u-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.u-label {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-55);
}

.u-rule { height: 1px; background: var(--hairline); border: 0; }

/* ---------------------------------------------- metin animasyonu
   main.js her kelimeyi .sp > .sp__in olarak sarar; maskeleme burada,
   hareketin kendisi GSAP'te.
   Alt uzantilar (g, y, ğ, ş) overflow:hidden ile kirpiliyordu; asagidaki
   padding + negatif margin ciftiyle maskeye nefes payi aciliyor. */
.sp {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.sp__in { display: inline-block; will-change: transform; }

/* manifesto — kaydirmayla harf harf aydinlanan kelimeler */
.mw { color: var(--hairline); }

/* JS calismazsa metin gizli kalmasin */
.no-js .sp__in { transform: none !important; }
.no-js .mw { color: var(--cream); }

/* =============================================================
   PRELOADER
   ============================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
}
.preloader__mark {
  width: clamp(64px, 9vw, 110px);
  opacity: 0.9;
}
.preloader__bar {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 12vh;
  height: 1px; background: var(--hairline-2);
}
.preloader__bar span {
  display: block; height: 100%; width: 0%;
  background: var(--champagne);
}
.preloader__pct {
  position: absolute; right: var(--gutter); bottom: calc(12vh + 1.2rem);
  font-size: var(--step--1); letter-spacing: 0.2em; color: var(--cream-55);
  font-variant-numeric: tabular-nums;
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 2.4vh, 1.9rem) var(--gutter);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.nav.is-stuck {
  background: rgba(8, 8, 7, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline-2);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform 0.55s var(--ease), background 0.5s var(--ease); }

.nav__logo img { width: clamp(112px, 13vw, 168px); }

.nav__menu {
  display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.8rem);
}
.nav__link {
  position: relative;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-80);
  padding-block: 0.35rem;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }

/* dil secici */
.lang {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--step--1); letter-spacing: 0.12em;
}
.lang__btn {
  color: var(--cream-35);
  transition: color 0.3s var(--ease);
  padding: 0.2rem;
}
.lang__btn:hover { color: var(--cream-80); }
.lang__btn.is-active { color: var(--cream); }
.lang__sep { color: var(--hairline); }

/* mobil menu tetigi */
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 1px;
  background: var(--cream);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* =============================================================
   BUTONLAR
   ============================================================= */
.btn {
  --btn-fg: var(--bg);
  --btn-bg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95em 1.9em;
  border-radius: 100px;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--champagne);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--ghost {
  --btn-fg: var(--cream);
  --btn-bg: transparent;
  border: 1px solid var(--hairline);
}
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { --btn-fg: var(--bg); }

.btn__arrow { transition: transform 0.45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: 0 clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,7,0.94) 0%, rgba(8,8,7,0.35) 45%, rgba(8,8,7,0.55) 100%);
}
.hero__inner { position: relative; width: 100%; }

.hero__title {
  font-size: var(--step-4);
  max-width: 15ch;
  margin-block: 0.6em 0.5em;
}
.hero__title em {
  font-style: italic;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.hero__lede { max-width: 42ch; color: var(--cream-80); }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 8vh, 6rem);
  display: flex; align-items: center; gap: 0.8rem;
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-35);
}
.hero__scroll i {
  display: block; width: 46px; height: 1px; background: var(--hairline);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--champagne);
  animation: sweep 2.4s var(--ease-io) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* =============================================================
   BOLUM BASLIKLARI
   ============================================================= */
.section { padding-block: var(--section-y); position: relative; }

.sec-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 1.5rem 3rem;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.sec-head__num {
  font-size: var(--step--1); letter-spacing: 0.2em;
  color: var(--champagne);
}
.sec-head__title { font-size: var(--step-3); max-width: 18ch; }
.sec-head__note { max-width: 38ch; color: var(--cream-55); }

/* =============================================================
   MANIFESTO — kaydirmayla aydinlanan metin
   ============================================================= */
.manifesto { padding-block: clamp(7rem, 18vh, 15rem); }
.manifesto__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.32;
  max-width: 22ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}
.manifesto__text .w { color: var(--hairline); transition: none; }

/* =============================================================
   DERSLER — masaustunde yatay kaydirma, mobilde dikey yigin
   ============================================================= */
/* Genis ekranda uc kart yan yana sigiyor; daralinca kaydirmali seride
   donusuyor. GSAP ile pin/yatay scroll kurmaya gerek yok — uc kart icin
   asiri karmasik olurdu ve dokunmatikte kirilgan. */
.classes__track {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* seri kenara dayanmasin */
  padding-bottom: 0.5rem;
}
.classes__track::-webkit-scrollbar { display: none; }
.class-card { scroll-snap-align: start; }

@media (min-width: 1180px) {
  .classes__track { overflow: visible; justify-content: space-between; }
}
.class-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 27vw, 400px);
  aspect-ratio: 3 / 4.4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-2);
  isolation: isolate;
}
.class-card__media { position: absolute; inset: 0; z-index: -2; }
.class-card__media img,
.class-card__media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.75) brightness(0.78);
}
.class-card:hover .class-card__media img,
.class-card:hover .class-card__media video {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.92);
}
.class-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,8,7,0.92) 8%, rgba(8,8,7,0) 62%);
}
.class-card__body {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
}
.class-card__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.1;
  margin-bottom: 0.35em;
}
.class-card__desc {
  font-size: var(--step--1);
  color: var(--cream-55);
  max-width: 30ch;
  /* varsayilan gizli, hover'da acilir */
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.45s var(--ease);
}
.class-card:hover .class-card__desc { max-height: 9em; opacity: 1; }

.class-card__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 0.9rem;
}
.class-card__tags li {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-55);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 0.3em 0.85em;
}

/* =============================================================
   PROGRAM / HAFTALIK TAKVIM
   Veri Dancify API'sinden gelir; main.js gunlere gore gruplar.
   ============================================================= */
.schedule { position: relative; min-height: 220px; }

/* yukleniyor / bos / hata durumlari */
.schedule__state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem;
  min-height: 220px;
  text-align: center;
  color: var(--cream-55);
}
.schedule__state.is-error .schedule__spinner { display: none; }

.schedule__spinner {
  width: 34px; height: 34px;
  border: 1px solid var(--hairline);
  border-top-color: var(--champagne);
  border-radius: 50%;
  animation: sched-spin 0.9s linear infinite;
}
@keyframes sched-spin { to { transform: rotate(360deg); } }

.schedule__fallback-title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--cream);
  margin-bottom: 0.2em;
}

/* 2D Grid Calendar Wrapper */
.cal-wrapper {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cream-35) var(--bg-2);
}

.cal-wrapper::-webkit-scrollbar {
  height: 8px;
}
.cal-wrapper::-webkit-scrollbar-track {
  background: var(--bg-2);
  border-radius: 4px;
}
.cal-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--cream-35);
  border-radius: 4px;
}

/* Time axis */
.cal-time-axis {
  flex: 0 0 70px;
  background: var(--bg-3);
  border-right: 1px solid var(--hairline);
  padding-top: 50px; /* Space for day headers */
}

.cal-time-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.75rem;
  color: var(--cream-55);
  padding-top: 8px;
  border-bottom: 1px solid transparent;
}
.cal-time-label span {
  font-size: 0.6rem;
  opacity: 0.5;
  margin-bottom: 2px;
}

/* Days container */
.cal-days-container {
  display: flex;
  flex: 1 1 auto;
  min-width: 800px; /* Ensure columns don't squish too much on mobile */
}

.cal-day-col {
  flex: 1 1 0;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
.cal-day-col:last-child {
  border-right: none;
}
.cal-day-col.is-today {
  background: rgba(255, 255, 255, 0.02);
}

.cal-day__name {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--step--1);
  letter-spacing: 0.05em;
  text-transform: capitalize;
  color: var(--cream);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-2);
  position: sticky;
  top: 0;
  z-index: 2;
}

.cal-day__events {
  position: relative;
  background-image: linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 100% 80px; /* matches pxPerHour */
}

/* Single Event Block */
.cal-event {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.2s var(--ease), filter 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1;
}

.cal-event:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  z-index: 3;
}

.cal-event__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cal-event__meta {
  font-size: 0.7rem;
  opacity: 0.85;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.cal-event__spots {
  display: inline-block;
  background: rgba(0,0,0,0.25);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.65rem;
}
.cal-event__spots.is-full {
  background: rgba(220, 38, 38, 0.4);
}

/* =============================================================
   SHOWREEL
   ============================================================= */
.reel { position: relative; }
.reel__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-2);
}
.reel__frame img,
.reel__frame video {
  width: 100%; height: 100%; object-fit: cover;
}
.reel__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(8, 8, 7, 0.28);
  transition: opacity 0.5s var(--ease), background 0.5s var(--ease);
}
.reel__play:hover { background: rgba(8, 8, 7, 0.12); }
.reel__play.is-gone { opacity: 0; pointer-events: none; }
.reel__play-btn {
  display: grid; place-items: center;
  width: clamp(76px, 9vw, 122px);
  aspect-ratio: 1;
  border: 1px solid var(--cream-55);
  border-radius: 50%;
  color: var(--cream);
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  backdrop-filter: blur(6px);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.reel__play:hover .reel__play-btn {
  background: var(--cream); color: var(--bg); transform: scale(1.06);
}

/* =============================================================
   SALON KIRALAMA
   ============================================================= */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.room {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
}
.room img, .room video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room:hover img, .room:hover video { transform: scale(1.05); }
.room::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,7,0.9) 5%, rgba(8,8,7,0) 55%);
}
.room__body {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}
.room__name { font-family: var(--font-display); font-size: var(--step-1); }
.room__specs {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  margin-top: 0.6rem;
  font-size: var(--step--1); color: var(--cream-55);
}

/* =============================================================
   ISTATISTIKLER
   ============================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  border-top: 1px solid var(--hairline);
}
.stat {
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 0.5rem; }

/* =============================================================
   CTA / KAYIT
   ============================================================= */
.cta {
  text-align: center;
  padding-block: clamp(6rem, 16vh, 13rem);
  border-top: 1px solid var(--hairline);
}
.cta__title { font-size: var(--step-3); max-width: 16ch; margin: 0 auto 1.2em; }
.cta__note {
  margin-top: 1.6rem;
  font-size: var(--step--1);
  color: var(--cream-35);
}

/* =============================================================
   ILETISIM
   ============================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__item dt {
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-35);
  margin-bottom: 0.6rem;
}
.contact__item dd { margin: 0; font-size: var(--step-1); font-family: var(--font-display); }
.contact__item dd a { transition: color 0.35s var(--ease); }
.contact__item dd a:hover { color: var(--champagne); }

.map {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  aspect-ratio: 21 / 9;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-2);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.86); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 4vh, 2.5rem);
}
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 2.5rem 3rem;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.footer__logo img { width: clamp(150px, 18vw, 230px); }
.footer__cols {
  display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem);
}
.footer__col h4 {
  font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-35); font-weight: 400;
  margin-bottom: 1.1rem;
}
.footer__col li + li { margin-top: 0.6rem; }
.footer__col a {
  font-size: var(--step-0); color: var(--cream-80);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--champagne); }

/* kurum bilgileri bandi — PayTR basvurusu icin footer'da acikta durur */
.footer__legal {
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--hairline-2);
  font-size: var(--step--1);
  line-height: 1.85;
  color: var(--cream-35);
}
.footer__legal strong { color: var(--cream-55); font-weight: 500; }
.footer__legal a { transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--champagne); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--hairline-2);
  font-size: var(--step--1);
  color: var(--cream-35);
}
/* hukuki sayfalarin sadeleştirilmiş alt menusu */
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom nav a {
  color: var(--cream-55);
  transition: color 0.3s var(--ease);
}
.footer__bottom nav a:hover { color: var(--champagne); }

/* odeme rozetleri — PayTR basvuru incelemesinde footer'da aranir */
.paycards { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; }
.paycards img { height: 22px; width: auto; opacity: 0.65; }
/* odeme kurulusu rozeti kart logolarindan ayrilsin */
.paycards__psp {
  margin-left: 0.4rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--hairline);
  opacity: 0.8 !important;
}

/* =============================================================
   HUKUKI SAYFALAR (mesafeli satis, kvkk, iade...)
   ============================================================= */
.legal { padding-block: clamp(8rem, 18vh, 12rem) var(--section-y); }
.legal__inner { max-width: 78ch; }
.legal h1 { font-family: var(--font-display); font-size: var(--step-3); margin-bottom: 0.6em; }
.legal h2 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-block: 2.4em 0.7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--hairline-2);
}
.legal h3 { font-size: var(--step-0); font-weight: 500; margin-block: 1.6em 0.4em; letter-spacing: 0.02em; }
.legal p, .legal li { color: var(--cream-80); }
.legal p + p { margin-top: 1em; }
.legal ul, .legal ol { margin-block: 1em; padding-left: 1.4em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 0.5em; }
.legal li::marker { color: var(--champagne); }
.legal a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; }
.legal__updated { font-size: var(--step--1); color: var(--cream-35); margin-top: 3rem; }

.legal table {
  width: 100%; border-collapse: collapse; margin-block: 1.4em;
  font-size: var(--step--1);
}
.legal th, .legal td {
  text-align: left; padding: 0.85em 1em;
  border: 1px solid var(--hairline);
  vertical-align: top;
}
.legal th { color: var(--cream); font-weight: 500; background: var(--bg-2); }
.legal td { color: var(--cream-80); }

/* doldurulmasi gereken alanlar — teslimden once temizlenecek */
.todo {
  background: rgba(217, 199, 167, 0.14);
  border-bottom: 1px dashed var(--champagne);
  color: var(--champagne);
  padding: 0 0.25em;
}

/* =============================================================
   DUYARLILIK
   ============================================================= */
@media (max-width: 900px) {
  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 1.75rem;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform 0.7s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__link { font-size: var(--step-2); letter-spacing: 0.04em; text-transform: none; font-family: var(--font-display); }
  .nav__link::after { display: none; }
  .nav__burger { display: block; z-index: 1; }
  .nav__cta { display: none; }

  .hero__scroll { display: none; }
  .class-card__desc { max-height: 9em; opacity: 1; }
  .stat { border-right: 0; }
}

/* =============================================================
   ERISILEBILIRLIK — hareket azaltma tercihi
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .line__in { transform: none !important; }
  .hero__media video { display: none; }
}
