/* ============ Berkay Dağıstan — Muay Thai ============ */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f5f5f7;
  --muted: #86868b;
  --dim: #a1a1a6;
  --red: #d11a2a;
  --red-2: #ff3b47;
  --wine: #3a0b12;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(96px, 14vw, 180px) 0; }
.section__head { margin-bottom: clamp(48px, 7vw, 88px); }

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-2);
}
.h2 {
  margin: 0;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.muted { color: var(--muted); }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink); font-weight: 400; letter-spacing: -0.015em; }
p { color: var(--dim); }
em { font-style: normal; color: var(--ink); }
.accent { color: var(--red-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease), border-color .3s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 36px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 34px; font-size: 17px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px rgba(209, 26, 42, .7); }
.btn--red:hover { background: var(--red-2); box-shadow: 0 14px 50px -8px rgba(255, 59, 71, .65); }
.btn--light { background: var(--ink); color: #0a0a0b; }
.btn--light:hover { background: #fff; }
.btn--ghost { color: var(--ink); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--line);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; height: 64px;
  padding: 0 var(--pad);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand__mark { width: 30px; height: 30px; color: var(--red-2); flex: none; filter: drop-shadow(0 0 10px rgba(255,59,71,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name {
  font-size: 13px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(245,245,247,.72); white-space: nowrap;
}
.brand__name b { font-weight: 700; color: var(--ink); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: 14px; color: rgba(245,245,247,.75); transition: color .25s; }
.nav__links a:hover { color: #fff; }
.nav__toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Disciplines badge ---------- */
.disciplines {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px; padding: 10px 20px 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: rgba(245,245,247,.92);
}
.disciplines i { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
.disciplines__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); }
.disciplines__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red-2); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px 0 clamp(80px, 12vh, 140px);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 115%; object-fit: cover; object-position: 60% 40%;
  transform: scale(1.08); transform-origin: center;
  animation: heroIn 2.4s var(--ease) forwards;
  will-change: transform;
}
@keyframes heroIn { from { transform: scale(1.18); filter: brightness(.4); } to { transform: scale(1.04); filter: brightness(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 80% 10%, rgba(58, 11, 18, .0) 0%, rgba(10,10,11,.35) 60%),
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.2) 30%, rgba(10,10,11,.75) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.2) 65%);
}
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(64px, 13vw, 176px);
  line-height: .92; font-weight: 800; letter-spacing: -0.055em;
}
.hero__title span { display: block; }
.hero__lead { max-width: 560px; font-size: clamp(18px, 1.9vw, 22px); color: rgba(245,245,247,.8); margin: 0 0 40px; line-height: 1.5; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.35);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollDot 2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) 0; }
.manifesto__text {
  margin: 0; max-width: 1000px;
  font-size: clamp(32px, 5.2vw, 68px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em;
  color: var(--ink);
}
.manifesto__text .w { color: rgba(245,245,247,.16); transition: color .5s var(--ease); }
.manifesto__text .w.on { color: var(--ink); }
.manifesto__text .w.red.on { color: var(--red-2); }

/* ---------- Bio ---------- */
.bio { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.bio__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.bio__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) contrast(1.05); transition: transform 1.4s var(--ease); }
.bio__photo:hover img { transform: scale(1.03); }
.bio__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,11,.7)); pointer-events: none; }
.bio__photo figcaption { position: absolute; left: 22px; bottom: 22px; z-index: 1; display: flex; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--red); color: #fff;
}
.tag--dim { background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bio__role { margin: 18px 0 28px; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.bio__text .lead { margin: 0 0 20px; }
.facts { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts__k { color: var(--muted); }
.facts__v { color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- Programs / Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #19191c 0%, #121214 100%);
  border: 1px solid var(--line);
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .6s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.card__num { position: absolute; top: clamp(28px, 3vw, 40px); left: clamp(28px, 3vw, 40px); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.card h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.025em; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; }
.card--feature {
  grid-column: span 2; grid-row: span 2; min-height: 580px;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(209,26,42,.45) 0%, rgba(209,26,42,0) 60%),
    linear-gradient(180deg, #1c0a0d 0%, #120708 100%);
  border-color: rgba(209,26,42,.25);
}
.card--feature h3 { font-size: clamp(34px, 4.4vw, 60px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.card--feature p { max-width: 460px; font-size: 18px; color: rgba(245,245,247,.72); }
.card__glow { position: absolute; width: 380px; height: 380px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,71,.35), transparent 70%); filter: blur(30px); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-40px, 40px) scale(1.15); } }

/* ---------- Method ---------- */
.method { background: var(--bg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 40px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.step__n { display: block; font-size: 15px; font-weight: 600; color: var(--red-2); margin-bottom: 40px; letter-spacing: .1em; }
.step h3 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; font-weight: 700; }
.step p { margin: 0; max-width: 320px; }

/* ---------- Club ---------- */
.club { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--bg); }
.club__media { position: relative; overflow: hidden; }
.club__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.club__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg)); }
.club__panel { padding: clamp(80px, 10vw, 140px) var(--pad); display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.club__panel .lead { margin: 28px 0 32px; color: var(--dim); }
.club__list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 14px; }
.club__list li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 17px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 14px var(--red-2); flex: none; }
.club__address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.link-arrow { color: var(--red-2); font-weight: 500; font-size: 17px; align-self: flex-start; transition: opacity .25s; }
.link-arrow:hover { opacity: .75; }

/* ---------- Contact ---------- */
.contact .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.contact__card {
  position: relative; overflow: hidden;
  padding: clamp(36px, 5vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(80% 90% at 0% 100%, rgba(209,26,42,.35), transparent 60%),
    linear-gradient(160deg, #1a1a1d, #0e0e10);
  border: 1px solid var(--line);
}
.contact__title { margin: 0 0 22px; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
.contact__card .lead { color: var(--dim); max-width: 480px; margin: 0 0 40px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact__handle { margin: 36px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.contact__map { border-radius: 36px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--surface); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.85) brightness(.9); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.footer__links { display: flex; gap: 28px; font-size: 14px; color: var(--dim); }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; margin: 12px 0 0; font-size: 12px; color: #5c5c61; }

/* ---------- Dock (mobile) ---------- */
.dock { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.4s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .club { grid-template-columns: 1fr; min-height: 0; }
  .club__media { height: 70vh; }
  .club__media::after { background: linear-gradient(180deg, transparent 55%, var(--bg)); }
  .club__panel { max-width: none; padding-top: 24px; }
  .contact .container { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-menu { display: flex; flex-direction: column; padding: 12px var(--pad) 32px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 14px 0; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; border-bottom: 1px solid var(--line); }

  .hide-sm { display: none; }
  .disciplines { gap: 10px; padding: 9px 16px 9px 13px; font-size: 13px; }
  .disciplines i { height: 12px; }
  .brand__name { font-size: 12px; letter-spacing: .22em; }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero__media img { object-position: 72% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,.15) 30%, rgba(10,10,11,.82) 68%, var(--bg) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }

  .bio__grid { grid-template-columns: 1fr; }
  .bio__photo { aspect-ratio: 4 / 4.6; }

  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card--feature { grid-column: auto; min-height: 380px; }
  .card { min-height: 220px; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step__n { margin-bottom: 20px; }

  .contact__actions .btn { flex: 1 1 100%; }
  .contact__map, .contact__map iframe { min-height: 320px; border-radius: 28px; }
  .contact__card { border-radius: 28px; }

  .footer { padding-bottom: 120px; }

  .dock {
    display: flex; gap: 10px; align-items: center;
    position: fixed; z-index: 60; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 999px;
    background: rgba(22,22,24,.72);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px -15px rgba(0,0,0,.8);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .dock.show { transform: none; }
  .dock .btn { flex: 1; height: 48px; }
  .dock__call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
