/*
Theme Name: Law Boxing Club
Theme URI: https://lawboxingclub.co.uk
Author: TF Mortgages Marketing
Description: Custom theme for Law Boxing Club SCIO — a registered charity boxing club based at Armstrong's Gym, Law, South Lanarkshire.
Version: 1.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: law-boxing-club
*/

/* ── Tokens ── */
:root {
  --bg: #0E0E0E;
  --bg-card: #1A1A1A;
  --bg-card2: #141414;
  --red: #D40000;
  --red-hover: #FF1A1A;
  --white: #F0EDEA;
  --mid: #9A9A9A;
  --faint: #2A2A2A;
  --border: rgba(255,255,255,0.07);
  --gold: #D4A017;
  --gold-hover: #F0BC2C;
  --gold-dim: rgba(212,160,23,0.35);
  color-scheme: dark;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0 !important; }
body {
  margin: 0;
  padding-inline: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--red); }
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
nav ul a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--white); }

/* Accent bar — red-to-gold hairline under the nav on every page */
.accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ── Buttons ── */
.btn-primary {
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); }

.btn-gold {
  background: transparent;
  color: var(--gold) !important;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-gold:hover { background: var(--gold); color: var(--bg) !important; }

/* ── Typography & Layout ── */
section { padding: 72px 40px; }
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
h1, h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0 0 40px;
  text-wrap: balance;
}
h1 { font-size: clamp(60px, 12vw, 130px); line-height: 0.92; margin-bottom: 28px; }
h1 em { font-style: normal; color: var(--red); display: block; }
h2 { font-size: clamp(36px, 6vw, 64px); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Section variants (zebra-striping for visual rhythm) ── */
.section-alt { background: var(--bg-card2); }
.section-black { background: var(--bg); }

/* ── Hero / Page Headers ── */
.hero, .page-header {
  position: relative;
  overflow: hidden;
  padding: 80px 40px 60px;
  border-bottom: 1px solid var(--border);
}
.hero::before, .page-header::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--gold-dim), transparent 70%);
  pointer-events: none;
}
.hero::after, .page-header::after {
  content: '';
  position: absolute;
  bottom: -260px;
  left: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212,0,0,0.16), transparent 70%);
  pointer-events: none;
}
.hero-sub {
  max-width: 500px;
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 40px;
}
.hero > *, .page-header > * { position: relative; z-index: 1; }

/* ── Image Placeholders ── */
.img-placeholder {
  background: var(--faint);
  border: 1px dashed var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 100%;
  min-height: 400px;
}

/* ── Specific Components ── */
.charity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--faint);
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 16px;
}
.sessions-grid, .coaches-grid, .contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}
.sessions-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; }
.coaches-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.contact-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--bg-card);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.badge-gold {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--faint);
  margin-top: 48px;
}
.stat {
  background: var(--bg-card);
  padding: 32px 20px;
  text-align: center;
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mid);
}

/* ── Reasons / feature grid (e.g. "Why Boxing Helps") ── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 28px 24px;
}
.reason-card:nth-child(even) { border-top-color: var(--gold); }
.reason-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 12px;
}
.reason-card:nth-child(even) .reason-number { color: var(--gold); }
.reason-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0;
}
.reason-card p { margin: 0; color: var(--mid); font-size: 0.9rem; }

/* ── Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  border-left: 3px solid var(--gold);
}
.value-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.value-card p { margin: 0; color: var(--mid); font-size: 0.9rem; }

/* ── Pull quote ── */
.quote-block {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 36px 0;
}
.quote-block p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  margin: 0;
  line-height: 1.6;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── FAQ ── */
.faq-list { margin-top: 32px; }
.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--red);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.faq[open] summary::after { content: '\2212'; color: var(--gold); }
.faq p { color: var(--mid); margin: 12px 0 0; font-size: 0.92rem; line-height: 1.6; }

/* ── Pricing / membership cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.pricing-card.featured { border-color: var(--gold); }
.pricing-card .price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin: 10px 0;
}
.pricing-card p.desc { color: var(--mid); font-size: 0.85rem; margin: 0 0 16px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--mid); font-size: 0.85rem; }
.pricing-card li { padding: 6px 0; border-top: 1px solid var(--border); }
.pricing-card li:first-child { border-top: none; }

/* ── Timeline ── */
.timeline { margin-top: 40px; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.timeline-item:first-child { border-top: none; }
.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
}
.timeline-item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--white); }
.timeline-item p { margin: 0; color: var(--mid); font-size: 0.9rem; }

/* ── Contact form ── */
.contact-form { margin-top: 4px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--mid);
  margin-bottom: 22px;
  line-height: 1.5;
}
.form-consent input { margin-top: 3px; flex-shrink: 0; }
.form-consent a { color: var(--gold); }
.form-message {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  border: 1px solid var(--border);
}
.form-message.success { background: rgba(212,160,23,0.1); border-color: var(--gold-dim); color: var(--gold); }
.form-message.error { background: rgba(212,0,0,0.1); border-color: rgba(212,0,0,0.4); color: #ff6b6b; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ── Legal / prose content (Privacy, Cookies) ── */
.legal-content { max-width: 760px; color: var(--mid); }
.legal-content h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--white);
  text-transform: none;
  margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 16px; line-height: 1.7; }
.legal-content ul { margin: 0 0 16px; padding-left: 20px; }
.legal-content li { margin-bottom: 8px; line-height: 1.6; }
.legal-content strong { color: var(--white); }
.legal-updated { color: var(--mid); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 32px; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card2);
  padding: 64px 40px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--mid);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-brand p { color: var(--mid); font-size: 0.88rem; line-height: 1.65; max-width: 300px; margin: 16px 0 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p, .footer-bottom a { font-size: 0.75rem; color: var(--mid); text-decoration: none; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  nav { padding: 16px 20px; }
  nav ul { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero, section { padding: 52px 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
  .site-footer { padding: 48px 20px 0; }
  .form-two { grid-template-columns: 1fr; }
}

/*  Custom: nav logo, hero logo, Home page header background photo  */
.nav-logo-img {
	height: 40px;
	width: auto;
	border-radius: 4px;
	display: block;
}
.hero-logo {
	background: transparent;
	border: none;
}
.hero-logo img {
	max-width: 80%;
	max-height: 320px;
	object-fit: contain;
}
body.page-template-template-home-php nav {
	background: linear-gradient(rgba(14,14,14,0.75), rgba(14,14,14,0.75)), url('https://lawboxingclub.co.uk/wp-content/uploads/2026/09/Law-Boxing-1.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
}
}
}
}