/*
Theme Name: Built With Chris
Theme URI: https://builtwithchris.co.uk
Author: Built With Chris
Author URI: https://builtwithchris.co.uk
Description: A bold, results-driven fitness theme for Built With Chris.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: builtwithchris
Tags: fitness, personal-training, dark, bold
*/

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --black:      #080808;
  --dark:       #111111;
  --card:       #181818;
  --border:     #2a2a2a;
  --yellow:     #D4FF00;
  --yellow-dim: #a8cc00;
  --white:      #f5f5f5;
  --grey:       #888888;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --max-w:      1200px;
  --radius:     4px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 16px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: transparent;
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}
.site-logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 16px; }
  .nav-toggle { display: flex; z-index: 1001; }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212, 255, 0, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212, 255, 0, 0.04) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-number {
  font-family: var(--font-display);
  font-size: clamp(160px, 25vw, 320px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  position: absolute;
  right: -20px;
  bottom: 60px;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 255, 0, 0.08);
  border: 1px solid rgba(212, 255, 0, 0.2);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both 0.2s;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-tag span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-title {
  font-size: clamp(64px, 10vw, 140px);
  color: var(--white);
  margin-bottom: 0;
  animation: fadeUp 0.8s ease both 0.35s;
  position: relative;
  z-index: 1;
}

.hero-title em {
  font-style: normal;
  color: var(--yellow);
  display: block;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 28px 0;
  animation: fadeUp 0.8s ease both 0.5s;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--grey);
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease both 0.6s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  animation: fadeUp 0.8s ease both 0.7s;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease both 0.85s;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--yellow); }
.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   MARQUEE STRIP
   ========================================= */
.marquee-strip {
  background: var(--yellow);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--black);
  padding: 0 24px;
}

.marquee-dot {
  color: rgba(0,0,0,0.3) !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   SERVICES / PILLARS
   ========================================= */
.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}

.pillars-title {
  font-size: clamp(48px, 6vw, 80px);
  color: var(--white);
  max-width: 500px;
}

.pillars-desc {
  color: var(--grey);
  max-width: 360px;
  font-size: 15px;
  line-height: 1.8;
  flex-shrink: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar-card {
  background: var(--card);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: default;
}

.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.pillar-card:hover { background: #1e1e1e; }
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 32px;
  pointer-events: none;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 255, 0, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
}

.pillar-text {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.8;
}

/* =========================================
   ABOUT / PHILOSOPHY STRIP
   ========================================= */
.philosophy {
  background: var(--yellow);
  padding: 80px 0;
}

.philosophy-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  color: var(--black);
  line-height: 0.95;
  flex: 1;
}

.philosophy-quote em {
  font-style: normal;
  opacity: 0.35;
}

.philosophy-body {
  flex: 1;
  max-width: 440px;
}

.philosophy-body p {
  color: rgba(0,0,0,0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn--dark {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
}
.btn--dark:hover {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

/* =========================================
   PROGRAMMES
   ========================================= */
.programmes-header {
  text-align: center;
  margin-bottom: 60px;
}

.programmes-title {
  font-size: clamp(48px, 7vw, 90px);
  color: var(--white);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.prog-card {
  background: var(--card);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.prog-card:hover { background: #1a1a1a; }

.prog-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  align-self: flex-start;
}

.prog-badge--new {
  background: rgba(212, 255, 0, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(212, 255, 0, 0.25);
}

.prog-badge--popular {
  background: rgba(255, 255, 255, 0.06);
  color: var(--grey);
  border: 1px solid var(--border);
}

.prog-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 0.95;
}

.prog-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 360px;
  flex: 1;
}

.prog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.prog-feature {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--grey);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

.prog-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: gap var(--transition);
}
.prog-card:hover .prog-arrow { gap: 16px; }
.prog-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  background: var(--dark);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title {
  font-size: clamp(48px, 7vw, 90px);
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.testi-card {
  background: var(--card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-stars {
  display: flex;
  gap: 4px;
}

.testi-stars span {
  color: var(--yellow);
  font-size: 16px;
}

.testi-quote {
  font-size: 15px;
  color: var(--white);
  line-height: 1.7;
  flex: 1;
}

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.testi-meta {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.05em;
}

.testi-result {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--yellow);
  margin-top: 4px;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: var(--black);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(212, 255, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(60px, 10vw, 130px);
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.cta-title em {
  font-style: normal;
  color: var(--yellow);
}

.cta-sub {
  font-size: 18px;
  color: var(--grey);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
  font-size: 16px;
  padding: 20px 48px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--grey);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-header { flex-direction: column; align-items: flex-start; }
  .programmes-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .philosophy-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .hero-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
