/* Nox Fit Center — web. Kaynak: Nox design system (Gece teması, Urbanist, sarı imza, dikey çubuklar).
   Kurallar: gradyan, parıltı ve gölge yok. Sarı/amber/kırmızı dolgu üstünde yazı her zaman siyah. */

@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("/fonts/Urbanist-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --nox-yellow: #fccc24;
  --nox-amber: #ff8a1f;
  --nox-red: #e5322d;
  --nox-black: #0b0b0c;
  --nox-bone: #f5f3ee;
  --bg: var(--nox-black);
  --surface: #141416;
  --surface-raised: #1e1e21;
  --ink: var(--nox-bone);
  --ink-muted: #9a9aa0;
  --line: #2a2a2e;
  --on-brand: var(--nox-black);
  --photo-scrim: rgba(11, 11, 12, 0.6);
  --led: var(--nox-amber);            /* salonun o anki LED modu: amber ya da kırmızı */

  --radius-s: 12px;
  --radius-m: 28px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 11vw, 152px);
  --wrap: 1280px;

  --font: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --t-hero: clamp(3.1rem, 9.2vw, 8.25rem);
  --t-headline: clamp(2.3rem, 5.4vw, 4.75rem);
  --t-title: clamp(1.5rem, 2.6vw, 2.25rem);
  --t-subtitle: clamp(1.15rem, 1.7vw, 1.5rem);
  --t-body: 1.125rem;
  --t-small: 0.9375rem;
}
:root[data-led="kirmizi"] { --led: var(--nox-red); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--nox-yellow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--nox-yellow); color: var(--on-brand); padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- Ortak parçalar ---------- */
.headline { font-size: var(--t-headline); line-height: .95; font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.lede { font-size: var(--t-subtitle); line-height: 1.3; font-weight: 600; max-width: 34em; }
.muted { color: var(--ink-muted); }
.caption { font-size: var(--t-small); color: var(--ink-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border: 0; border-radius: var(--radius-pill);
  background: var(--nox-yellow); color: var(--on-brand);
  font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--dark { background: var(--nox-black); color: var(--nox-bone); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: .875rem; }

/* İmza: logodaki dikey çubuklar */
.pulse { display: inline-flex; align-items: center; gap: .32em; color: var(--nox-yellow); }
.pulse i { display: block; width: .4em; border-radius: var(--radius-pill); background: currentColor; }
.pulse i:nth-child(1), .pulse i:nth-child(5) { height: 1em; }
.pulse i:nth-child(2), .pulse i:nth-child(4) { height: 1.75em; }
.pulse i:nth-child(3) { height: 2.6em; }

/* ---------- Üst bar ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.header__logo img { width: 104px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--nox-yellow); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 600; white-space: nowrap; }
.status .pulse { font-size: 6px; color: var(--ink-muted); }
.status[data-open="true"] .pulse { color: var(--led); }
.status[data-open="true"] .pulse i { animation: beat 1.4s ease-in-out infinite; transform-origin: center; }
.status .pulse i:nth-child(2) { animation-delay: .12s; } .status .pulse i:nth-child(3) { animation-delay: .24s; }
.status .pulse i:nth-child(4) { animation-delay: .36s; } .status .pulse i:nth-child(5) { animation-delay: .48s; }
@keyframes beat { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--ink); margin-inline: auto; position: relative; }
.menu-btn span::before { position: absolute; top: -8px; } .menu-btn span::after { position: absolute; top: 8px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: min(100svh - 73px, 920px); }
.hero__text { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero__bars { font-size: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(24px, 3vw, 44px); color: var(--led); transition: color .5s ease; }
.hero h1 { font-size: clamp(2.75rem, 16.5cqi, 7rem); line-height: .9; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero .lede { margin-top: clamp(20px, 2.4vw, 36px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3vw, 44px); }
.hero__photo { position: relative; overflow: hidden; background: var(--surface); min-height: 420px; }
.hero__photo picture { position: absolute; inset: 0; transition: opacity .6s ease; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__photo picture[data-led="kirmizi"] { opacity: 0; }
:root[data-led="kirmizi"] .hero__photo picture[data-led="kirmizi"] { opacity: 1; }

.led {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 14px 14px 22px; border-radius: var(--radius-m); background: var(--nox-black);
}
.led__label { font-weight: 800; font-size: var(--t-small); }
.led__label small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-muted); }
.seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-raised); }
.seg button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-weight: 800; font-size: var(--t-small); cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--nox-yellow); color: var(--on-brand); }
.led .seg button[data-led="amber"][aria-pressed="true"] { background: var(--nox-amber); }
.led .seg button[data-led="kirmizi"][aria-pressed="true"] { background: var(--nox-red); }

/* Sayfa açılışında tek hareket: çubuklar yükselir */
@media (prefers-reduced-motion: no-preference) {
  .hero__bars i { animation: rise .7s cubic-bezier(.2, .9, .2, 1) both; transform-origin: center; }
  .hero__bars i:nth-child(1) { animation-delay: .05s; } .hero__bars i:nth-child(2) { animation-delay: .13s; }
  .hero__bars i:nth-child(3) { animation-delay: .21s; } .hero__bars i:nth-child(4) { animation-delay: .29s; }
  .hero__bars i:nth-child(5) { animation-delay: .37s; }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- Bölümler ---------- */
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }

/* Salon: kat kat gez */
.floors { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.floors__tabs { display: grid; }
.floors__tabs button {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 20px; text-align: left;
  padding: 22px 0; border: 0; border-top: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink-muted);
}
.floors__tabs button:last-child { border-bottom: 1px solid var(--line); }
.floors__tabs .no { font-weight: 900; font-size: var(--t-title); line-height: 1; min-width: 1.4em; }
.floors__tabs .nm { font-weight: 800; font-size: var(--t-title); line-height: 1.05; }
.floors__tabs button[aria-selected="true"] { color: var(--ink); }
.floors__tabs button[aria-selected="true"] .no { color: var(--led); }
.floor { background: var(--surface-raised); border-radius: var(--radius-m); padding: clamp(28px, 4vw, 56px); }
.floor[hidden] { display: none; }
.floor h3 { font-size: var(--t-title); line-height: 1.05; font-weight: 800; }
.floor p { margin-top: 16px; max-width: 36em; color: var(--ink-muted); }
.floor ul { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; }
.floor li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.floor li::before { content: ""; flex: none; width: 5px; height: 16px; border-radius: var(--radius-pill); background: var(--nox-yellow); transform: translateY(2px); }

/* Yaklaşım + hesaplayıcı */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.principles { display: grid; gap: 32px; margin-top: 40px; }
.principles h3 { font-size: 1.375rem; line-height: 1.15; font-weight: 800; }
.principles p { margin-top: 8px; color: var(--ink-muted); max-width: 34em; }
.calc { background: var(--surface-raised); border-radius: var(--radius-m); padding: clamp(24px, 3.4vw, 48px); }
.calc h3 { font-size: var(--t-title); line-height: 1.05; font-weight: 800; }
.calc fieldset { border: 0; padding: 0; margin: 24px 0 0; }
.calc legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: var(--t-small); color: var(--ink-muted); }
.calc .seg { flex-wrap: wrap; background: var(--bg); }
.calc .seg button { padding-inline: 16px; }
.calc__out { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.calc__stat { font-size: clamp(4.5rem, 10vw, 8rem); line-height: .85; font-weight: 900; letter-spacing: -0.03em; color: var(--nox-yellow); font-variant-numeric: tabular-nums; }
.calc__unit { margin-top: 12px; font-weight: 600; font-size: var(--t-subtitle); line-height: 1.25; }
.calc__rows { margin-top: 24px; display: grid; gap: 12px; }
.calc__rows div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; }
.calc__rows dt { color: var(--ink-muted); } .calc__rows dd { font-weight: 600; }
.calc .caption { margin-top: 24px; }

/* Dersler */
.sched__bar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.sched { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day { background: var(--surface-raised); border-radius: var(--radius-s); padding: 16px 14px 18px; min-height: 180px; }
.day h3 { font-size: 1rem; font-weight: 800; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.day[data-today="true"] { box-shadow: inset 0 0 0 2px var(--led); }
.day .today { display: none; font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--led); color: var(--on-brand); }
.day[data-today="true"] .today { display: inline-block; }
.day ul { display: grid; gap: 12px; }
.cls { display: grid; gap: 2px; }
.cls[hidden] { display: none; }
.cls time { font-weight: 900; font-size: 1.25rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cls b { font-weight: 600; font-size: var(--t-small); line-height: 1.25; }
.cls small { color: var(--ink-muted); font-size: .8125rem; }
.cls[data-type="pilates"] time { color: var(--nox-yellow); }
.cls[data-type="spinning"] time { color: var(--nox-amber); }
.day__empty { color: var(--ink-muted); font-size: var(--t-small); }
.note { margin-top: 20px; }

/* Üyelik */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; background: var(--surface-raised); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 40px); }
.plan h3 { font-size: var(--t-title); line-height: 1.05; font-weight: 800; }
.plan__price { margin-top: 12px; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--nox-yellow); }
.plan p { margin-top: 12px; color: var(--ink-muted); }
.plan ul { margin: 24px 0 28px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 5px; height: 16px; border-radius: var(--radius-pill); background: var(--nox-yellow); transform: translateY(2px); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.corp { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; border-radius: var(--radius-m); padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 2px var(--line); }
.corp h3 { font-size: var(--t-title); line-height: 1.05; font-weight: 800; }
.corp p { margin-top: 8px; color: var(--ink-muted); max-width: 40em; }

/* Sarı blok: deneme dersi */
.band { background: var(--nox-yellow); color: var(--on-brand); padding-block: clamp(56px, 8vw, 112px); }
.band__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.band .headline { font-size: var(--t-hero); line-height: .9; letter-spacing: -0.02em; }
.band p { margin-top: 20px; font-size: var(--t-subtitle); font-weight: 600; line-height: 1.3; max-width: 30em; }
.band .pulse { color: var(--on-brand); font-size: clamp(14px, 1.6vw, 22px); margin-bottom: 28px; }

/* SSS */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .headline { font-size: clamp(2.3rem, 3.5vw, 3.25rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 5px; height: 22px; border-radius: var(--radius-pill); background: var(--nox-yellow); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-muted); max-width: 44em; }

/* İletişim */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.facts { display: grid; gap: 0; margin-top: 32px; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-muted); }
.facts dd { font-weight: 600; }
.facts dd a { text-decoration-color: var(--nox-yellow); text-underline-offset: 4px; }
.facts dd span { display: block; }
.map { margin-top: 28px; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-raised); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { background: var(--surface-raised); border-radius: var(--radius-m); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 18px; }
.form h3 { font-size: var(--t-title); line-height: 1.05; font-weight: 800; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: var(--t-small); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-s); border: 2px solid var(--line); background: var(--bg); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--nox-yellow); }
.form__msg { font-size: var(--t-small); color: var(--ink-muted); }
.form__msg[data-kind="error"] { color: var(--nox-yellow); font-weight: 600; }

/* Alt bilgi */
.footer { border-top: 1px solid var(--line); padding-block: 48px 120px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.footer img { width: 120px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; font-weight: 600; } .footer a:hover { text-decoration: underline; text-decoration-color: var(--nox-yellow); }

/* Mobilde sabit alt çubuk */
.dock { display: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .header .status { display: none; }
  .sched { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .header .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 800; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { aspect-ratio: 4 / 5; min-height: 0; }
  .floors, .approach, .faq, .contact, .band__in { grid-template-columns: 1fr; }
  .sched { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { min-height: 0; }
  .dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 8px; padding: 8px; border-radius: var(--radius-pill); background: var(--surface-raised); }
  .dock .btn { flex: 1; min-height: 48px; padding-inline: 12px; font-size: .875rem; }
}
@media (max-width: 480px) {
  .calc__rows div, .facts div { grid-template-columns: 1fr; gap: 2px; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .header, .dock, .led, .form { display: none; } body { background: #fff; color: #000; } }
