/* ============================================================
   JAKE'S BOXING & FITNESS — SHARED STYLESHEET
   Import this on every page: <link rel="stylesheet" href="/shared.css"/>
   ============================================================ */

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

/* ---- VARIABLES ---- */
:root {
  --black: #080808;
  --red: #c8102e;
  --red-dark: #8b0b1f;
  --gold: #f0a500;
  --white: #f5f0eb;
  --grey: #141414;
  --grey-mid: #1e1e1e;
  --grey-light: #777;
  --border: rgba(255,255,255,0.07);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: 'Barlow', sans-serif; font-weight: 300; overflow-x: hidden; }

/* ---- NOISE OVERLAY ---- */
body::after { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); pointer-events: none; z-index: 999; opacity: .5; }

/* ---- 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(8,8,8,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(200,16,46,0.18); }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: .1em; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: rgba(245,240,235,.6); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--red); }
.nav-cta { background: var(--red); color: var(--white) !important; padding: .5rem 1.3rem; font-weight: 700 !important; clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px)); transition: background .2s !important; }
.nav-cta:hover { background: var(--red-dark) !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(8,8,8,.97); border-bottom: 1px solid rgba(200,16,46,.2); padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; z-index: 199; }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: rgba(245,240,235,.7); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; 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: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .73rem; letter-spacing: .32em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; }
.section-tag::before { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--red); vertical-align: middle; margin-right: .6rem; }
h2.sec-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.6rem, 5.5vw, 4.5rem); letter-spacing: .03em; line-height: 1; }
.inner { max-width: 1100px; margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn-red { display: inline-block; background: var(--red); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: .9rem 2.2rem; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); transition: background .2s, transform .2s; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { display: inline-block; border: 1px solid rgba(245,240,235,.25); color: rgba(245,240,235,.7); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .85rem 2rem; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-white { display: inline-block; background: var(--white); color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 1rem 2.8rem; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); transition: opacity .2s; }
.btn-white:hover { opacity: .9; }
.btn-gold { display: inline-block; background: var(--gold); color: #080808; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: .9rem 2.2rem; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); transition: opacity .2s, transform .2s; }
.btn-gold:hover { opacity: .88; transform: translateY(-2px); }

/* ---- 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(200,16,46,.08) 0%, transparent 70%); }
.page-hero-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .35em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--red); vertical-align: middle; margin-right: .7rem; }
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 8vw, 7rem); line-height: .92; letter-spacing: .02em; position: relative; z-index: 1; }
.page-hero h1 .red { color: var(--red); }
.page-hero h1 .gold { color: var(--gold); }
.page-hero-sub { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(245,240,235,.6); 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(200,16,46,.06); border-radius: 50%; pointer-events: none; z-index: 0; }
.page-hero-ring::before { content: ''; position: absolute; inset: 60px; border: 1px solid rgba(200,16,46,.04); border-radius: 50%; }

/* ---- FINAL CTA (shared) ---- */
.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: 'Bebas Neue', sans-serif; font-size: 20rem; color: rgba(0,0,0,.08); pointer-events: none; white-space: nowrap; }
.final-cta .section-tag::before { background: rgba(255,255,255,.6); }
.final-cta .section-tag { color: rgba(255,255,255,.7); }
.final-cta h2 { font-size: clamp(3rem, 7vw, 6rem); position: relative; z-index: 1; font-family: 'Bebas Neue', sans-serif; letter-spacing: .03em; }
.final-cta p { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; color: rgba(255,255,255,.8); margin: 1.2rem auto 2.8rem; position: relative; z-index: 1; max-width: 560px; }

/* ---- FOOTER ---- */
footer { background: #050505; padding: 2.5rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.04); font-size: .78rem; color: var(--grey-light); font-family: 'Barlow Condensed', sans-serif; letter-spacing: .05em; flex-wrap: wrap; gap: 1rem; }
footer .f-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--white); }
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) } }
.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(200,16,46,.25); background: rgba(200,16,46,.06); }
.guarantee-badge svg { flex-shrink: 0; color: var(--red); }
.guarantee-badge-text { font-family: 'Barlow Condensed', sans-serif; font-size: .78rem; color: rgba(245,240,235,.6); line-height: 1.45; }
.guarantee-badge-text strong { color: var(--white); font-weight: 600; display: block; font-size: .82rem; 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; }
  .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; }
}
