/*
Theme Name: Bolt Fitness
Theme URI: https://boltfitness.ca
Author: Bolt Fitness
Description: Premium WordPress theme for Bolt Fitness Abbotsford. Editorial, magazine-style design with burnt orange accent. Local SEO baked in for Fraser Valley searches.
Version: 3.4.0
License: GNU General Public License v2 or later
Text Domain: bolt-fitness
*/

/* ═══════════════════════════════════════════
   BRAND TOKENS
═══════════════════════════════════════════ */
:root {
  --orange:       #F26522;
  --orange-dark:  #D14F12;
  --cream:        #F5F1EA;
  --cream-deep:   #EFEAE0;
  --ink:          #1A1A1A;
  --ink-muted:    #3A3A3A;
  --grey:         #5A5A5A;
  --grey-light:   #888888;
  --line:         rgba(26,26,26,0.12);
  --line-soft:    rgba(26,26,26,0.08);
  --white:        #FFFFFF;
  --display:      Georgia, 'Times New Roman', serif;
  --body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ═══════════════════════════════════════════
   RESET
═══════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--body);font-size:15px;line-height:1.65;color:var(--ink);background:var(--cream);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;height:auto;display:block}
a{color:var(--orange);text-decoration:none;transition:color .15s ease;cursor:pointer}
a:hover{color:var(--orange-dark)}
/* Defensive: ensure Join Now buttons can always receive clicks */
.bf-btn,.bf-sticky-btn,.bf-btn-text{position:relative;z-index:2;cursor:pointer}
h1,h2,h3,h4,h5,h6{font-family:var(--display);font-weight:400;color:var(--ink);line-height:1.1;letter-spacing:-0.5px}
ul,ol{padding-left:1.25rem}
button{font-family:inherit;cursor:pointer}

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════ */
.container{max-width:1200px;margin:0 auto;padding:0 40px}
.bf-wrap{padding-bottom:0}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
.bf-eyebrow{font-family:var(--body);font-size:11px;letter-spacing:2.5px;color:var(--orange);text-transform:uppercase;font-weight:500;margin-bottom:24px;display:block}
.bf-h1{font-family:var(--display);font-weight:400;font-size:60px;line-height:1.04;letter-spacing:-1.4px;margin:0 0 26px;color:var(--ink)}
.bf-h1 em{color:var(--orange);font-style:italic}
.bf-h2{font-family:var(--display);font-weight:400;font-size:40px;line-height:1.12;letter-spacing:-0.8px;margin:0 0 18px;color:var(--ink)}
.bf-h2-lg{font-family:var(--display);font-weight:400;font-size:54px;line-height:1.06;letter-spacing:-1.2px;margin:0 0 28px;color:var(--cream)}
.bf-lead{font-size:17px;line-height:1.6;color:var(--ink-muted);font-weight:300}
.bf-section-sub{font-size:15px;color:var(--grey);line-height:1.7;font-weight:300}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.bf-btn{display:inline-block;padding:16px 32px;font-family:var(--body);font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:500;text-decoration:none;border:0;cursor:pointer;transition:background .18s ease,transform .15s ease}
.bf-btn-orange{background:var(--orange);color:var(--cream)}
.bf-btn-orange:hover{background:var(--orange-dark);color:var(--cream)}
.bf-btn-dark{background:var(--ink);color:var(--cream)}
.bf-btn-dark:hover{background:#000;color:var(--cream)}
.bf-btn-lg{padding:18px 38px;font-size:13px}
.bf-btn-xl{padding:20px 48px;font-size:14px}
.bf-btn-text{color:var(--ink);font-size:13px;letter-spacing:1px;text-transform:uppercase;border-bottom:0.5px solid var(--ink);padding-bottom:3px;display:inline-block;text-decoration:none}
.bf-btn-text:hover{color:var(--orange);border-bottom-color:var(--orange)}

/* ═══════════════════════════════════════════
   TOP BAR + HEADER
═══════════════════════════════════════════ */
.bf-topbar{background:var(--ink);color:var(--cream);padding:12px 40px;display:flex;justify-content:space-between;align-items:center;font-size:12px;letter-spacing:0.5px;flex-wrap:wrap;gap:8px}
.bf-topbar a{color:var(--cream);opacity:0.6}
.bf-topbar a:hover{opacity:1;color:var(--cream)}
.bf-topbar-left{display:flex;gap:16px;align-items:center;opacity:0.85;flex-wrap:wrap}
.bf-topbar-dot{color:var(--orange)}

#site-header,.bf-header{padding:14px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:0.5px solid rgba(26,26,26,0.1);background:var(--cream);gap:16px}
.bf-header-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%}
.bf-logo,.site-logo{font-family:var(--display);font-size:24px;font-weight:500;letter-spacing:-0.5px;color:var(--ink);text-decoration:none;display:flex;align-items:center}
.bf-logo .accent,.site-logo .accent{color:var(--orange)}
.site-logo img,.bf-logo-img{height:140px;width:auto;display:block;max-width:100%}
.bf-nav,.primary-nav{display:flex;gap:40px;font-size:18px;font-weight:500;list-style:none;padding:0;margin:0;letter-spacing:0.2px}
.bf-nav a,.primary-nav a{color:var(--ink);text-decoration:none;opacity:0.75;transition:opacity .15s ease}
.bf-nav a:hover,.primary-nav a:hover,.bf-nav a.active,.primary-nav .current-menu-item a{opacity:1;border-bottom:2px solid var(--orange);padding-bottom:3px}
.primary-nav li{list-style:none}
.bf-hamburger,.bf-menu-btn{display:none;background:none;border:0;width:36px;height:36px;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:0}
.bf-hamburger span{display:block;width:22px;height:1.5px;background:var(--ink);transition:transform .25s ease,opacity .15s ease}
.bf-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.bf-hamburger.open span:nth-child(2){opacity:0}
.bf-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.bf-hero{padding:80px 40px 70px;display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}
.bf-hero-sub{font-size:17px;line-height:1.6;color:var(--ink-muted);max-width:520px;margin:0 0 36px;font-weight:300}
.bf-hero-ctas{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.bf-hero-img{position:relative;height:520px;background:var(--ink);overflow:hidden}
.bf-hero-img-bg{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0.9;pointer-events:none}
.bf-hero-img-cap{position:absolute;bottom:24px;left:24px;color:var(--cream);font-size:11px;letter-spacing:2px;text-transform:uppercase;opacity:0.8}

/* ═══════════════════════════════════════════
   PHOTO STRIP
═══════════════════════════════════════════ */
.bf-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--ink)}
.bf-strip-img{height:200px;background-position:center;background-size:cover}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.bf-stats{padding:60px 40px;background:var(--cream-deep);display:grid;grid-template-columns:repeat(4,1fr);gap:40px;border-top:0.5px solid var(--line-soft);border-bottom:0.5px solid var(--line-soft)}
.bf-stat-num{font-family:var(--display);font-size:42px;font-weight:400;color:var(--ink);line-height:1}
.bf-stat-lbl{font-size:11px;letter-spacing:2px;color:var(--grey);margin-top:8px;text-transform:uppercase}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.bf-section{padding:90px 40px}
.bf-section-head{max-width:640px;margin:0 auto 60px;text-align:center}

/* ═══════════════════════════════════════════
   AMENITIES GRID
═══════════════════════════════════════════ */
.bf-amenities{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:1100px;margin:0 auto}
.bf-amenity{background:var(--white)}
.bf-amenity-img{height:280px;background-position:center;background-size:cover}
.bf-amenity-body{padding:26px 30px 30px}
.bf-amenity-num{font-size:11px;letter-spacing:2px;color:var(--orange);margin-bottom:10px;text-transform:uppercase;font-weight:500}
.bf-amenity-title{font-family:var(--display);font-weight:400;font-size:24px;margin:0 0 12px;letter-spacing:-0.3px;color:var(--ink)}
.bf-amenity-desc{font-size:14px;line-height:1.7;color:var(--grey);margin:0;font-weight:300}

/* ═══════════════════════════════════════════
   CLASSES (DARK SECTION)
═══════════════════════════════════════════ */
.bf-classes-section{padding:90px 40px;background:var(--ink);color:var(--cream)}
.bf-classes-section .bf-h2{color:var(--cream)}
.bf-classes-section .bf-section-sub{color:rgba(245,241,234,0.6)}
.bf-classes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1100px;margin:0 auto}
.bf-class{position:relative;height:300px;overflow:hidden;background-position:center;background-size:cover}
.bf-class-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(26,26,26,0.85),rgba(26,26,26,0.1));pointer-events:none;z-index:0}
.bf-class-text{position:absolute;bottom:24px;left:24px;right:24px;z-index:1}
.bf-class-name{font-family:var(--display);font-size:22px;font-weight:400;margin-bottom:6px;color:var(--cream)}
.bf-class-desc{font-size:12px;color:rgba(245,241,234,0.7);font-weight:300}
.bf-class-cta{height:300px;background:#222;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;border:0.5px solid rgba(245,241,234,0.12);text-align:center}
.bf-class-cta-num{font-family:var(--display);font-size:48px;color:var(--orange);line-height:1;margin-bottom:10px}
.bf-class-cta-lbl{font-family:var(--display);font-size:18px;margin-bottom:6px;color:var(--cream)}
.bf-class-cta-sub{font-size:12px;color:rgba(245,241,234,0.6);font-weight:300;margin-bottom:18px}
.bf-class-cta .bf-btn{padding:12px 24px;font-size:11px}

/* ═══════════════════════════════════════════
   TRAINERS
═══════════════════════════════════════════ */
.bf-trainers{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1100px;margin:0 auto}
.bf-trainer-img{height:380px;background-position:center;background-size:cover;background-color:#DDD8CE;margin-bottom:20px}
.bf-trainer-role{font-size:11px;letter-spacing:2px;color:var(--orange);margin-bottom:8px;text-transform:uppercase;font-weight:500}
.bf-trainer-name{font-family:var(--display);font-size:22px;font-weight:400;margin-bottom:10px;color:var(--ink)}
.bf-trainer-bio{font-size:14px;line-height:1.7;color:var(--grey);margin:0;font-weight:300}

/* ═══════════════════════════════════════════
   SERVICE AREA
═══════════════════════════════════════════ */
.bf-area{padding:90px 40px;background:var(--cream-deep)}
.bf-area-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:60px;max-width:1100px;margin:0 auto;align-items:center}
.bf-area-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 32px;margin-top:24px}
.bf-area-item{padding:14px 0;border-bottom:0.5px solid var(--line);font-size:14px;display:flex;justify-content:space-between;align-items:center}
.bf-area-city{font-weight:500;color:var(--ink)}
.bf-area-time{font-size:12px;color:var(--grey-light)}

/* ═══════════════════════════════════════════
   FINAL CTA SECTION
═══════════════════════════════════════════ */
.bf-cta-section{background:var(--ink);color:var(--cream);padding:100px 40px;text-align:center;position:relative;overflow:hidden}
.bf-cta-bg{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0.15;pointer-events:none;z-index:0}
.bf-cta-inner{max-width:680px;margin:0 auto;position:relative;z-index:1}
.bf-cta-sub{font-size:17px;line-height:1.7;color:rgba(245,241,234,0.7);margin:0 0 40px;font-weight:300}

/* ═══════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════ */
.bf-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;max-width:1100px;margin:0 auto 60px}
.bf-review-quote{color:var(--orange);font-size:24px;margin-bottom:14px;line-height:1;font-family:var(--display)}
.bf-review-text{font-family:var(--display);font-size:17px;line-height:1.6;color:var(--ink);font-weight:400;margin:0 0 22px;font-style:italic}
.bf-review-author{border-top:0.5px solid var(--line);padding-top:14px}
.bf-review-name{font-size:13px;font-weight:500;color:var(--ink)}
.bf-review-meta{font-size:11px;letter-spacing:1px;color:var(--grey-light);text-transform:uppercase;margin-top:3px}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.bf-faq{max-width:820px;margin:0 auto;padding:0 40px 60px}
.bf-faq-item{border-bottom:0.5px solid var(--line);padding:24px 0}
.bf-faq-q{font-family:var(--display);font-size:20px;font-weight:400;margin:0 0 10px;color:var(--ink);letter-spacing:-0.2px}
.bf-faq-a{font-size:14px;line-height:1.7;color:var(--grey);margin:0;font-weight:300}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer{background:var(--ink);color:rgba(245,241,234,0.6);padding:60px 40px 30px}
.bf-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:60px;margin-bottom:40px;max-width:1200px;margin-left:auto;margin-right:auto}
.bf-footer-logo{margin-bottom:16px}
.bf-footer-logo-img{height:120px;width:auto;display:block;max-width:100%}
.bf-footer-col-head{font-size:11px;letter-spacing:2px;color:var(--cream);text-transform:uppercase;margin-bottom:14px}
.bf-footer-col-body,.bf-footer-col ul{font-size:13px;line-height:2;list-style:none;padding:0;margin:0}
.bf-footer-col-body a,.bf-footer-col ul a{color:rgba(245,241,234,0.6)}
.bf-footer-col-body a:hover,.bf-footer-col ul a:hover{color:var(--cream)}
.bf-footer-address{font-size:13px;line-height:1.7;color:rgba(245,241,234,0.6);margin-bottom:18px}
.bf-footer-address strong{color:var(--cream);font-weight:500}
.bf-footer-copy{border-top:0.5px solid rgba(245,241,234,0.1);padding-top:24px;font-size:11px;letter-spacing:1px;text-transform:uppercase;max-width:1200px;margin:0 auto}

/* ═══════════════════════════════════════════
   STICKY MOBILE JOIN BAR
═══════════════════════════════════════════ */
.bf-sticky-join{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--ink);padding:12px 16px;border-top:0.5px solid rgba(245,241,234,0.1);z-index:50}
.bf-sticky-inner{display:flex;gap:12px;align-items:center;justify-content:space-between}
.bf-sticky-text{color:var(--cream);font-size:12px;font-weight:400;letter-spacing:0.5px}
.bf-sticky-btn{background:var(--orange);color:var(--cream);padding:12px 22px;font-size:12px;letter-spacing:1.2px;text-decoration:none;text-transform:uppercase;font-weight:500;white-space:nowrap;flex-shrink:0}
.bf-sticky-btn:hover{background:var(--orange-dark);color:var(--cream)}

/* ═══════════════════════════════════════════
   PAGE HERO (INNER PAGES)
═══════════════════════════════════════════ */
.bf-page-hero{background:var(--ink);color:var(--cream);padding:100px 40px 80px;text-align:center}
.bf-page-hero h1{font-family:var(--display);font-weight:400;font-size:60px;line-height:1.04;letter-spacing:-1.4px;color:var(--cream);margin:0 0 18px}
.bf-page-hero h1 em{color:var(--orange);font-style:italic}
.bf-page-hero p{font-size:17px;line-height:1.6;color:rgba(245,241,234,0.7);max-width:680px;margin:0 auto;font-weight:300}
.bf-breadcrumb{background:var(--cream-deep);padding:14px 40px;font-size:12px;letter-spacing:1px;color:var(--grey);text-transform:uppercase}
.bf-breadcrumb a{color:var(--grey)}
.bf-breadcrumb strong{color:var(--ink);font-weight:500}
.bf-breadcrumb span{margin:0 10px;color:var(--grey-light)}

/* ═══════════════════════════════════════════
   CONTENT WRAPPERS
═══════════════════════════════════════════ */
.bf-inner-wrap{padding:80px 40px;max-width:1100px;margin:0 auto}
.bf-card{background:var(--white);padding:40px;margin-bottom:24px}
.bf-card h2{font-family:var(--display);font-weight:400;font-size:32px;line-height:1.15;letter-spacing:-0.5px;color:var(--ink);margin:0 0 16px}
.bf-card h3{font-family:var(--display);font-weight:400;font-size:22px;color:var(--ink);margin:0 0 10px}
.bf-card p{font-size:15px;line-height:1.7;color:var(--grey);font-weight:300;margin:0 0 14px}
.bf-two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}

/* ═══════════════════════════════════════════
   FORM
═══════════════════════════════════════════ */
.bf-form-label{display:block;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--grey);margin:18px 0 8px;font-weight:500}
.bf-form-input{width:100%;padding:14px 16px;border:0.5px solid var(--line);background:var(--cream);font-family:var(--body);font-size:14px;color:var(--ink);outline:none;transition:border-color .15s ease}
.bf-form-input:focus{border-color:var(--orange)}
textarea.bf-form-input{resize:vertical;min-height:120px}

/* ═══════════════════════════════════════════
   POST CONTENT
═══════════════════════════════════════════ */
.bf-post-content{max-width:760px;margin:0 auto;font-size:16px;line-height:1.75;color:var(--ink-muted)}
.bf-post-content h2,.bf-post-content h3{margin-top:1.8em;margin-bottom:0.6em}
.bf-post-content p{margin-bottom:1.2em}
.bf-post-content a{color:var(--orange);border-bottom:0.5px solid var(--orange)}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
/* Scroll reveal — JS adds .visible. Default to visible if JS is disabled/failed. */
.bf-reveal{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}
.js .bf-reveal{opacity:0;transform:translateY(20px)}
.js .bf-reveal.visible{opacity:1;transform:translateY(0)}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (901-1100px)
═══════════════════════════════════════════ */
@media (min-width:901px) and (max-width:1100px){
  .bf-hero{padding:60px 28px;gap:36px}
  .bf-h1{font-size:50px}
  .bf-section{padding:72px 28px}
  .bf-classes-section,.bf-area{padding:72px 28px}
  .bf-h2{font-size:34px}
  .bf-stats{padding:48px 28px}
  .bf-footer-grid{gap:36px}
  #site-header,.bf-header{padding:8px 28px}
  .site-logo img,.bf-logo-img{height:110px}
  .bf-nav,.primary-nav{gap:28px;font-size:16px}
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤900px)
═══════════════════════════════════════════ */
@media (max-width:900px){
  .bf-wrap{padding-bottom:72px}
  body{padding-bottom:0}
  .container{padding:0 18px}
  .bf-topbar{padding:10px 18px;font-size:11px}
  #site-header,.bf-header{padding:6px 18px}
  .site-logo img,.bf-logo-img{height:70px}
  .bf-footer-logo-img{height:80px}
  .bf-nav,.primary-nav{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--cream);flex-direction:column;justify-content:center;align-items:center;gap:28px;font-size:26px;font-family:var(--display);z-index:100;padding:60px 20px}
  .bf-nav.open,.primary-nav.open{display:flex}
  .bf-nav a,.primary-nav a{opacity:1;font-size:26px}
  .bf-hamburger,.bf-menu-btn{display:flex;z-index:101}
  .bf-header .bf-btn{padding:10px 18px;font-size:11px}
  .bf-hero{padding:48px 18px 40px;grid-template-columns:1fr;gap:32px}
  .bf-h1{font-size:38px;letter-spacing:-0.8px}
  .bf-hero-sub{font-size:15px;margin-bottom:28px}
  .bf-hero-img{height:320px;order:-1}
  .bf-strip{grid-template-columns:repeat(2,1fr)}
  .bf-strip-img{height:160px}
  .bf-stats{padding:36px 18px;grid-template-columns:repeat(2,1fr);gap:28px}
  .bf-stat-num{font-size:34px}
  .bf-section{padding:56px 18px}
  .bf-section-head{margin-bottom:36px}
  .bf-h2{font-size:28px;letter-spacing:-0.4px}
  .bf-h2-lg{font-size:34px;letter-spacing:-0.6px}
  .bf-amenities{grid-template-columns:1fr;gap:18px}
  .bf-amenity-img{height:220px}
  .bf-amenity-body{padding:22px 24px 26px}
  .bf-classes-section{padding:56px 18px}
  .bf-classes-grid{grid-template-columns:1fr;gap:14px}
  .bf-class,.bf-class-cta{height:240px}
  .bf-trainers{grid-template-columns:1fr;gap:32px}
  .bf-trainer-img{height:340px}
  .bf-area{padding:56px 18px}
  .bf-area-grid{grid-template-columns:1fr;gap:32px}
  .bf-area-list{grid-template-columns:1fr}
  .bf-cta-section{padding:64px 18px}
  .bf-reviews{grid-template-columns:1fr;gap:28px;margin-bottom:36px}
  .bf-faq{padding:0 18px 40px}
  #site-footer{padding:40px 18px 24px}
  .bf-footer-grid{grid-template-columns:1fr 1fr;gap:32px;margin-bottom:28px}
  .bf-footer-grid > div:first-child{grid-column:1/-1}
  .bf-btn-lg,.bf-btn-xl{padding:16px 28px;font-size:12px}
  .bf-sticky-join{display:block}
  .bf-two-col{grid-template-columns:1fr}
  .bf-page-hero{padding:64px 18px 48px}
  .bf-page-hero h1{font-size:38px}
  .bf-inner-wrap{padding:48px 18px}
  .bf-card{padding:28px 22px}
}
