/* Pusat Fight Academy — boks maçı afişi estetiği */
:root {
  --black: #000000;
  --red: #ff1a1a;
  --blood: #b30f0f;
  --gray: #b5b5b5;
  --bone: #eeeae3;
  --raise: #161616;
  --line: #2b2b2b;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--black); color: var(--bone);
  font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .92; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(48px, 9vw, 120px); margin-bottom: clamp(28px, 4vw, 56px); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body); text-decoration: none; border-radius: 3px; padding: 13px 20px;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { font-size: 18px; padding: 17px 26px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #fff; color: var(--black); }
.btn-ghost { border-color: var(--gray); color: var(--bone); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* Duyuru şeridi */
.announce { background: var(--red); color: #fff; text-align: center; font-weight: 600; padding: 9px var(--pad); font-size: 15px; }

/* Üst menü */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad); background: linear-gradient(#000 60%, rgba(0,0,0,0));
}
.nav-logo img { width: 92px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--gray); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; }

/* Ana sahne (üç tasarım: d1 sahne, d2 sütunlar, d3 kırmızı afiş) */
.hero { position: relative; overflow: hidden; margin-top: -112px; padding-top: 112px; }
.hero h1 { font-size: clamp(54px, 7.4vw, 124px); line-height: .88; color: #fff; }
.hero-copy p { font-size: clamp(17px, 1.5vw, 20px); color: var(--bone); max-width: 32em; margin: 16px 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mq { overflow: hidden; white-space: nowrap; }
.mq-track { display: inline-flex; font-family: var(--display); text-transform: uppercase; line-height: .86; will-change: transform; animation: mq 40s linear infinite; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Tasarım 1 — Sahne: tek dev sporcu, branşlar raunt raunt değişir */
.d1 {
  min-height: min(100svh, 960px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: 1fr auto; column-gap: 20px; padding-left: var(--pad); padding-right: var(--pad);
}
.show-name {
  position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%); text-align: center; white-space: nowrap;
  font: 400 27vw/.8 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(255,26,26,.55);
  pointer-events: none; user-select: none;
}
.d1 .hero-copy { align-self: center; position: relative; z-index: 2; padding: 24px 0; }
.show-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 380px; }
.show-stage::before {
  content: ""; position: absolute; inset: 0 4%;
  background:
    radial-gradient(ellipse 46% 6% at 50% 97%, rgba(255,26,26,.65), transparent 70%),
    conic-gradient(from 163deg at 50% -4%, transparent 0deg, rgba(238,234,227,.13) 9deg, rgba(238,234,227,.13) 25deg, transparent 34deg);
}
.show-stage svg { height: min(66vh, 640px); width: auto; max-width: 100%; position: relative; overflow: visible; }
.show-stage .fighter { animation: enter .35s ease-out; }
@keyframes enter { from { opacity: 0; } }
.show-meta { position: absolute; right: 0; top: 10%; text-align: right; z-index: 2; }
.show-round { font: 400 clamp(20px, 2vw, 30px)/1 var(--display); text-transform: uppercase; color: var(--gray); }
.show-round b { color: var(--red); font-weight: 400; }
.show-level { color: var(--bone); font-size: 15px; margin: 6px 0 10px; }
.show-link { color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 2px solid var(--red); }
.show-tabs {
  grid-column: 1 / -1; display: flex; border-top: 1px solid var(--line); position: relative; z-index: 2;
  margin: 0 calc(-1 * var(--pad)); background: rgba(0,0,0,.6);
}
.show-tabs button {
  flex: 1 1 0; background: none; border: 0; border-right: 1px solid var(--line); color: #8a8a8a; cursor: pointer; position: relative;
  font: 400 clamp(18px, 2.2vw, 32px)/1 var(--display); text-transform: uppercase; padding: 20px 8px 22px; white-space: nowrap;
}
.show-tabs button:hover, .show-tabs button.on { color: #fff; }
.show-tabs button::after { content: ""; position: absolute; left: 0; top: -1px; height: 4px; width: 0; background: var(--red); }
.show-tabs button.on::after { width: 100%; }
.show-tabs.auto button.on::after { animation: fill 4.5s linear; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* Tasarım 2 — Sütunlar: her branş bir şerit, üstüne gelince açılır */
.d2 { min-height: min(100svh, 960px); display: flex; flex-direction: column; }
.d2 .hero-copy { padding: 8px var(--pad) 26px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.d2 .hero-copy p { margin: 12px 0 0; }
.cols { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; min-height: 440px; border-top: 1px solid var(--line); }
.cols li { flex: 1 1 0; min-width: 0; border-right: 1px solid var(--line); transition: flex-grow .35s ease; }
.cols li:last-child { border-right: 0; }
.cols a {
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 0 clamp(10px, 1.4vw, 22px) 22px;
  text-decoration: none; color: var(--bone); overflow: hidden; transition: background .25s;
  background: radial-gradient(ellipse 60% 5% at 50% 74%, rgba(255,26,26,.35), transparent 70%);
}
.cols svg { width: 135%; max-width: 380px; height: auto; margin: 0 auto 6px; overflow: visible; align-self: center; flex: none; }
.cols h3 { font-size: clamp(22px, 2.7vw, 46px); white-space: nowrap; }
.cols p { margin: 0; font-size: 15px; line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .25s, margin .35s; color: #fff; }
.cols li:hover, .cols li:focus-within { flex-grow: 2.3; }
.cols li:hover a, .cols li:focus-within a { background: #5c0909; color: #fff; }
.cols li:hover p, .cols li:focus-within p { max-height: 10em; opacity: 1; margin-top: 10px; }

/* Tasarım 3 — Kırmızı afiş: kayan dev branş yazıları ve aralarında sporcular */
.d3 { background: var(--red); display: flex; flex-direction: column; min-height: min(100svh, 1000px); }
.rows { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 6px 0 0; }
.row-mq { border-top: 3px solid #000; }
.row-mq .mq-track { font-size: clamp(48px, 8.4vw, 132px); line-height: 1.04; color: #000; align-items: center; }
.row-mq:nth-child(even) .mq-track { animation-direction: reverse; color: var(--bone); }
.row-mq span { display: inline-flex; align-items: center; padding-right: .18em; }
.row-mq svg { height: .98em; width: .98em; flex: none; overflow: visible; margin-left: .1em; }
.d3 .hero-copy { background: #000; padding: 26px var(--pad) 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.d3 h1 { font-size: clamp(40px, 5vw, 76px); }
.d3 .hero-copy p { margin: 10px 0 0; }

/* Kırmızı kayan şerit */
.band {
  background: var(--red); color: var(--black); overflow: hidden; white-space: nowrap;
  transform: rotate(-2.2deg); margin: 26px -40px 0; padding: 0 40px; position: relative; z-index: 3;
  border-top: 3px solid #000; border-bottom: 3px solid #000;
}
.band-track { display: inline-flex; align-items: center; font: 400 clamp(30px, 4.4vw, 54px)/1.25 var(--display); text-transform: uppercase; animation: mq 26s linear infinite; padding: 6px 0; }
.band-track span { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; }
.band-track svg { width: 1.05em; height: 1.05em; flex: none; }

/* Antrenman emojileri */
.em .mv { transform-box: view-box; }
.em-glove .mv { animation: em-punch .9s ease-in-out infinite; }
.em-bag .mv { transform-origin: 32px 4px; animation: em-swing 1.5s ease-in-out infinite alternate; }
.em-kb .mv { animation: em-lift 1s ease-in-out infinite alternate; }
.em-bell .mv { transform-origin: 32px 8px; animation: em-ring 2.4s linear infinite; }
.em-timer .mv { transform-origin: 32px 36px; animation: em-spin 4s linear infinite; }
@keyframes em-punch { 0%, 55%, 100% { transform: translateX(-4px); } 25% { transform: translateX(6px); } }
@keyframes em-swing { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
@keyframes em-lift { from { transform: translateY(4px); } to { transform: translateY(-5px); } }
@keyframes em-ring { 0%, 30%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-9deg); } 10%, 20% { transform: rotate(9deg); } }
@keyframes em-spin { to { transform: rotate(360deg); } }

/* Branşlar: maç kartı satırları */
.bouts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--bone); }
.bout {
  display: grid; grid-template-columns: 190px minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px);
  align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative;
}
.bout svg { width: 190px; height: 170px; background: radial-gradient(ellipse 60% 10% at 50% 93%, rgba(255,26,26,.4), transparent 70%), var(--raise); border-radius: 2px; }
.bout h3 { font-size: clamp(56px, 8vw, 112px); transition: color .2s; }
.bout:hover h3 { color: var(--red); }
.bout p { margin: 0 0 12px; color: var(--bone); max-width: 36em; }
.bout .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--gray); }
.bout .meta strong { color: #fff; font-weight: 600; }
.bout-cta { margin-top: 14px; font-weight: 600; font-size: 16px; color: var(--red); text-decoration: none; display: inline-block; }
.bout-cta:hover { text-decoration: underline; }

/* Program */
.schedule { background: var(--bone); color: var(--black); }
.schedule h2 { color: var(--black); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 3px solid var(--black); }
.day { border-right: 1px solid rgba(0,0,0,.18); padding: 14px 10px 18px; min-height: 160px; }
.day:last-child { border-right: 0; }
.day h3 { font-size: 26px; margin-bottom: 12px; }
.day.today h3 { color: var(--red); }
.slot { border-left: 4px solid var(--black); padding: 4px 0 4px 9px; margin-bottom: 12px; line-height: 1.25; }
.slot b { display: block; font-size: 15px; }
.slot span { display: block; font: 400 22px/1.05 var(--display); text-transform: uppercase; }
.slot small { color: #555; font-size: 14px; }
.slot[data-k="0"] { border-color: var(--red); }
.slot[data-k="1"] { border-color: var(--black); }
.slot[data-k="2"] { border-color: var(--blood); }
.slot[data-k="3"] { border-color: #777; }
.day-empty { color: #777; font-size: 15px; }

/* Antrenörler */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 3vw, 36px); }
.coach figure { margin: 0; }
.coach .photo { aspect-ratio: 4/5; background: var(--raise); overflow: hidden; position: relative; }
.coach .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: filter .3s; }
.coach:hover .photo img { filter: grayscale(0) contrast(1.05); }
.coach .photo svg { width: 100%; height: 100%; }
.coach h3 { font-size: 40px; margin-top: 14px; }
.coach .role { color: var(--red); font-weight: 600; margin: 4px 0 8px; }
.coach p { color: var(--gray); margin: 0; font-size: 16px; }

/* Ücretler: bilet koçanı */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 22px; }
.ticket {
  position: relative; background: var(--bone); color: var(--black); padding: 26px 26px 22px;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 112px; width: 24px; height: 24px; border-radius: 50%; background: var(--black);
}
.ticket::before { left: -12px; }
.ticket::after { right: -12px; }
.ticket.hot { background: var(--red); color: #fff; }
.ticket h3 { font-size: 34px; }
.ticket .price { font: 400 58px/1 var(--display); margin: 10px 0 0; height: 64px; }
.ticket .period { font-size: 15px; font-weight: 600; opacity: .75; }
.ticket hr { border: 0; border-top: 2px dashed currentColor; opacity: .35; margin: 18px 0; }
.ticket ul { margin: 0; padding: 0 0 0 18px; font-size: 16px; }
.ticket li { margin-bottom: 5px; }

/* Galeri */
.shots { columns: 3 260px; column-gap: 14px; }
.shots figure { margin: 0 0 14px; break-inside: avoid; }
.shots img { width: 100%; filter: grayscale(1); transition: filter .3s; }
.shots figure:hover img { filter: none; }
.shots figcaption { font-size: 14px; color: var(--gray); padding-top: 6px; }

/* Deneme dersi ve iletişim */
.trial { background: linear-gradient(180deg, #000 0%, #120202 100%); border-top: 1px solid var(--line); }
.trial-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); }
.trial h2 { font-size: clamp(44px, 6.4vw, 86px); margin-bottom: 14px; }
.lead { color: var(--gray); margin: 0 0 28px; }
form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 16px; color: var(--gray); }
.opt { font-weight: 400; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 6px; background: #0d0d0d; color: #fff; border: 1px solid #3a3a3a;
  border-radius: 3px; padding: 14px; font: 400 17px var(--body);
}
form input:focus, form select:focus, form textarea:focus { border-color: var(--red); outline: none; }
form .btn { width: 100%; margin-top: 6px; }
.form-msg { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; }
.form-msg.ok { color: #3ddc6a; }
.form-msg.err { color: #ff6b5e; }
.contact h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 22px; }
.contact-list { margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.contact-list dt { color: var(--gray); font-size: 15px; padding-top: 2px; }
.contact-list dd { margin: 0; white-space: pre-line; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.map iframe { width: 100%; height: 300px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* Alt bilgi */
.footer { border-top: 1px solid var(--line); padding: 28px 0 90px; color: var(--gray); font-size: 15px; }
.footer-row { display: flex; align-items: center; gap: 20px; }
.footer-row img { width: 70px; height: auto; }
.footer-row p { margin: 0; flex: 1; }
.footer-admin { color: #666; text-decoration: none; font-size: 14px; }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Telefon ve tablet */
@media (max-width: 900px) {
  .nav-toggle {
    display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span:not(.sr) { width: 26px; height: 2px; background: #fff; transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; background: #000; flex-direction: column; justify-content: center; gap: 22px;
    transform: translateY(-100%); transition: transform .3s; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { font: 400 44px/1 var(--display); text-transform: uppercase; color: #fff; }
  .d1 { display: flex; flex-direction: column; min-height: 0; }
  .show-stage { order: -1; min-height: 0; margin-top: 10px; }
  .show-stage svg { height: 300px; }
  .show-name { top: 190px; }
  .show-meta { top: 0; }
  .show-level, .show-link { display: none; }
  .show-tabs { overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
  .show-tabs::-webkit-scrollbar { display: none; }
  .show-tabs button { flex: 0 0 auto; padding: 16px 18px 18px; font-size: 20px; }
  .d2 { min-height: 0; }
  .cols { flex-direction: column; min-height: 0; }
  .cols li { border-right: 0; border-bottom: 1px solid var(--line); }
  .cols a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 8px var(--pad); background: none; }
  .cols svg { width: 96px; margin: 0; flex: none; }
  .cols h3 { font-size: 30px; }
  .cols p { display: none; }
  .d3 { min-height: 0; }
  .bout { grid-template-columns: 120px minmax(0, 1fr); }
  .bout svg { width: 120px; height: 104px; }
  .bout .bout-body { grid-column: 1 / -1; }
  .week { grid-template-columns: 1fr; }
  .day { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.18); display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
  .day h3 { margin: 4px 0 0; }
  .trial-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq-track, .band-track, .em .mv, .show-tabs.auto button.on::after { animation: none; }
}
