/* ============================================================
   JAKE'S BOXING & FITNESS — SHARED STYLESHEET (v2 · warm brand)
   Migrated toward the Boxer's Code funnel: warm maroon base instead
   of cold black, Anton display + Lora script accents, orange CTA,
   cleaner friendlier buttons. Class names are unchanged so existing
   page markup keeps working — the whole site re-skins from this file.
   Import on every page: <link rel="stylesheet" href="/shared.css"/>
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@400;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;1,400&family=Lora:ital,wght@1,500;1,600&display=swap');

/* ---- VARIABLES (names kept so inline page styles still resolve) ---- */
:root {
  --black: #2a0c12;        /* was pure black → warm maroon-ink base */
  --ink: #1f0810;
  --red: #c01e30;          /* funnel red */
  --red-dark: #7a1520;
  --red-deep: #4a0e16;
  --maroon: #3a1018;       /* warm card surface */
  --blue: #1a3674;
  --blue-light: #5d7fc0;
  --gold: #caa033;         /* friendlier amber-gold */
  --orange: #e85d00;       /* PRIMARY call-to-action colour */
  --orange-hover: #ff6e10;
  --white: #f7f3ee;        /* warm off-white text */
  --grey: #3a1018;         /* old grey cards → warm maroon */
  --grey-mid: #451420;
  --grey-light: #b9a39a;
  --border: rgba(255,255,255,0.08);
  --display: 'Anton', Impact, sans-serif;
  --script: 'Lora', Georgia, serif;
  --cond: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--body); font-weight: 400; line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

/* friendlier surface: cold fractal-noise overlay removed */

/* ---- SCRIPT ACCENT (friendly funnel signature) ---- */
.script { font-family: var(--script); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---- NAV ---- */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: space-between; align-items: center; padding: 1rem 4rem; background: rgba(30,8,14,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(192,30,48,0.22); }
.nav-logo { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; color: var(--white); text-decoration: none; text-transform: uppercase; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: rgba(247,243,238,.66); text-decoration: none; font-family: var(--cond); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange); color: #fff !important; padding: .55rem 1.4rem; font-weight: 600 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--orange-hover) !important; }
.nav-hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.nav-mobile { display: none; position: fixed; top: 62px; left: 0; right: 0; background: rgba(30,8,14,.97); border-bottom: 1px solid rgba(192,30,48,.22); padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; z-index: 199; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: rgba(247,243,238,.75); text-decoration: none; font-family: var(--cond); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; padding: .5rem 0; border-bottom: 1px solid var(--border); }

/* ---- SECTION UTILITIES ---- */
section { padding: 7rem 4rem; }
.section-tag { font-family: var(--cond); font-weight: 600; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.section-tag::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: .6rem; }
h2.sec-title { font-family: var(--display); font-size: clamp(2.6rem, 5.5vw, 4.6rem); letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.sec-title .red { color: var(--red); }
.sec-title .gold { color: var(--gold); }
.sec-title .script { color: var(--gold); }
.inner { max-width: 1100px; margin: 0 auto; }
/* optional angled section top — the funnel's signature clip */
.cut-top { clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); padding-top: calc(7rem + 48px); }

/* ---- BUTTONS (clean rectangles read friendlier than notched corners) ---- */
.btn-red, .btn-orange, .btn-white, .btn-gold, .btn-ghost { display: inline-block; font-family: var(--cond); font-weight: 600; text-transform: uppercase; text-decoration: none; letter-spacing: .12em; transition: transform .15s, background .2s, opacity .2s, border-color .2s, color .2s; }
.btn-orange { background: var(--orange); color: #fff; font-size: 1rem; padding: 1rem 2.6rem; box-shadow: 0 8px 22px rgba(232,93,0,.3); }
.btn-orange:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; font-size: .95rem; padding: .95rem 2.3rem; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--red); font-size: 1rem; padding: 1rem 2.8rem; }
.btn-white:hover { opacity: .9; }
.btn-gold { background: var(--gold); color: #2a0c12; font-size: .95rem; padding: .95rem 2.3rem; }
.btn-gold:hover { opacity: .9; transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(247,243,238,.28); color: rgba(247,243,238,.82); font-size: .9rem; padding: .9rem 2.1rem; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: 10rem 4rem 5rem; position: relative; overflow: hidden; background: var(--black); border-bottom: 1px solid var(--border); }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(192,30,48,.16) 0%, transparent 70%); }
.page-hero-eyebrow { font-family: var(--cond); font-weight: 600; font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: .7rem; }
.page-hero h1 { font-family: var(--display); font-size: clamp(3.5rem, 8vw, 7rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; position: relative; z-index: 1; }
.page-hero h1 .red { color: var(--red); }
.page-hero h1 .gold { color: var(--gold); }
.page-hero h1 .script { color: var(--gold); text-transform: none; }
.page-hero-sub { font-family: var(--cond); font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(247,243,238,.66); max-width: 580px; margin-top: 1.4rem; line-height: 1.6; position: relative; z-index: 1; }
.page-hero-btns { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.4rem; position: relative; z-index: 1; flex-wrap: wrap; }
.page-hero-ring { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 500px; height: 500px; border: 1px solid rgba(192,30,48,.12); border-radius: 50%; pointer-events: none; z-index: 0; }
.page-hero-ring::before { content: ''; position: absolute; inset: 60px; border: 1px solid rgba(192,30,48,.08); border-radius: 50%; }

/* ---- FINAL CTA (shared) — friendlier red, keeps the FIGHT watermark ---- */
.final-cta { background: var(--red); padding: 6rem 4rem; text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: 'FIGHT'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--display); font-size: 20rem; color: rgba(0,0,0,.10); pointer-events: none; white-space: nowrap; }
.final-cta .section-tag::before { background: rgba(255,255,255,.7); }
.final-cta .section-tag { color: rgba(255,255,255,.8); }
.final-cta h2 { font-size: clamp(3rem, 7vw, 6rem); position: relative; z-index: 1; font-family: var(--display); letter-spacing: .01em; text-transform: uppercase; }
.final-cta h2 .script { color: #ffd9b0; text-transform: none; }
.final-cta p { font-family: var(--cond); font-size: 1.18rem; color: rgba(255,255,255,.88); margin: 1.2rem auto 2.6rem; position: relative; z-index: 1; max-width: 560px; }

/* ---- FOOTER ---- */
footer { background: var(--ink); padding: 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.06); font-size: .82rem; color: var(--grey-light); font-family: var(--cond); letter-spacing: .05em; flex-wrap: wrap; gap: 1rem; }
footer .f-logo { font-family: var(--display); font-size: 1.3rem; color: var(--white); text-transform: uppercase; }
footer .f-logo span { color: var(--red); }
footer a { color: var(--grey-light); text-decoration: none; }
footer a:hover { color: var(--white); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px) } to { opacity:1; transform:translateY(0) } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1) } 50% { opacity:.5; transform:scale(.8) } }
@keyframes bounce { 0%,100% { transform:translateY(0) } 50% { transform:translateY(4px) } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.anim-1 { animation: fadeUp .7s ease both; }
.anim-2 { animation: fadeUp .7s .1s ease both; }
.anim-3 { animation: fadeUp .7s .2s ease both; }
.anim-4 { animation: fadeUp .7s .3s ease both; }

/* ---- GUARANTEE BADGE ---- */
.guarantee-badge { display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: 1rem 1.2rem; border: 1px solid rgba(232,93,0,.3); background: rgba(232,93,0,.08); }
.guarantee-badge svg { flex-shrink: 0; color: var(--orange); }
.guarantee-badge-text { font-family: var(--cond); font-size: .8rem; color: rgba(247,243,238,.66); line-height: 1.45; }
.guarantee-badge-text strong { color: var(--white); font-weight: 600; display: block; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---- RESPONSIVE ---- */
@media(max-width:900px) {
  nav { padding: .9rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  section { padding: 5rem 1.5rem; }
  .cut-top { padding-top: calc(5rem + 30px); clip-path: polygon(0 30px,100% 0,100% 100%,0 100%); }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .final-cta { padding: 5rem 1.5rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .page-hero-ring { display: none; }
}
