/*
Theme Name: All Out Crew
Theme URI: https://alloutcrew.co.uk/
Author: All Out Companies
Author URI: https://alloutcompanies.co.uk/
Description: Custom WordPress theme for All Out Crew — reliable porters, event staff and drivers for removals, events, venues, catering, logistics and film. Based in Slough, covering Berkshire, Buckinghamshire and surrounding areas.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allout-crew

All Out Crew brand colours (All Out Companies Brand Guidelines 2026):
Navy   #002e61
Blue   #004e8b / #0067ad / #006ab2
Bright #006fb9
*/

/* =========================================================
   All Out Crew — theme stylesheet
   Brand colours from All Out Companies Brand Guidelines 2026
   ========================================================= */

:root {
  --navy: #002e61;
  --blue-deep: #004e8b;
  --blue: #0067ad;
  --blue-mid: #006ab2;
  --blue-bright: #006fb9;
  --ink: #0b1c2e;
  --bg-light: #f5f7f9;
  --bg-white: #ffffff;
  --border: #e1e6ea;
  --muted: #5b6b7a;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0, 46, 97, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 46, 97, 0.12);
  --container: 1180px;
  --gradient-hero: linear-gradient(135deg, #001c3d 0%, #002e61 38%, #0067ad 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--gradient-hero); color: #fff; }
.section--navy h2, .section--navy .eyebrow { color: #fff; }
.section--navy .eyebrow { color: #7fc2f0; }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section--navy .section-head p { color: rgba(255,255,255,0.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-bright); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-mid); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 52px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--bg-light); color: var(--blue-bright); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue-bright); }
.main-nav .nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero.has-hero-image {
  background-size: cover;
  background-position: center;
}
.hero.has-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 20, 45, 0.92) 0%, rgba(0, 46, 97, 0.85) 45%, rgba(0, 103, 173, 0.72) 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0,111,185,0.35) 0%, rgba(0,111,185,0) 70%);
  pointer-events: none;
}
.hero.has-hero-image::after { display: none; }
.hero__inner { max-width: 720px; position: relative; z-index: 1; }
.hero .eyebrow { color: #8fd0ff; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 58px); }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.hero-badge svg { width: 16px; height: 16px; color: #8fd0ff; }

/* ---------- Who we supply grid ---------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sector-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.sector-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-bright), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.sector-card__icon svg { width: 28px; height: 28px; color: #fff; }
.sector-card h3 { font-size: 19px; margin-bottom: 10px; }
.sector-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; flex-grow: 1; }
.sector-card__link { font-weight: 700; font-size: 14px; color: var(--blue-bright); display: inline-flex; align-items: center; gap: 6px; }
.sector-card__link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.sector-card:hover .sector-card__link svg { transform: translateX(3px); }

/* ---------- Stats / feature chips ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.feature-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.feature-chip svg { width: 22px; height: 22px; color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.feature-chip strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.feature-chip span { font-size: 14px; color: var(--muted); }

/* ---------- Two column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}
.about-visual {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue-bright));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.about-visual img { max-width: 240px; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.step { position: relative; padding-left: 4px; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
  color: #fff;
}
.step h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin: 0; }

/* ---------- Coverage / towns ---------- */
.town-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.town-chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-hero);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(0, 111, 185, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-notice {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14.5px;
}
.form-notice--success { background: #e7f6ec; color: #1e6b3c; }
.form-notice--error { background: #fdeceb; color: #a3271a; }

/* ---------- Contact info list ---------- */
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item__icon svg { width: 22px; height: 22px; color: var(--blue-bright); }
.info-item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.info-item a, .info-item span { color: var(--muted); font-size: 15px; }
.info-item a:hover { color: var(--blue-bright); }

.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-row a:hover { background: var(--blue-bright); color: #fff; }
.social-row svg { width: 18px; height: 18px; }

/* ---------- Roles / values grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card { padding: 8px 0; }
.value-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-card__icon svg { width: 24px; height: 24px; color: var(--blue-bright); }
.value-card h3 { font-size: 17px; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 72px 0 60px;
}
.page-hero .eyebrow { color: #8fd0ff; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 600px; font-size: 17px; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sector single ---------- */
.sector-single-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
}
@media (max-width: 900px) { .sector-single-grid { grid-template-columns: 1fr; } }
.sector-body { font-size: 16.5px; color: var(--ink); }
.sector-body p { color: #33465c; }
.sidebar-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.sidebar-card h3 { font-size: 18px; margin-bottom: 10px; }
.sidebar-card p { color: var(--muted); font-size: 14.5px; }
.related-sectors { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.related-sectors a {
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
}
.related-sectors a:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14.5px; color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 22%;
    background: #fff;
    padding: 100px 28px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav a { width: 100%; padding: 14px 16px; }
  .nav-toggle { display: block; }
  .header-phone,
  .header-actions .btn-primary { display: none; }
  .main-nav .nav-cta { display: flex !important; width: 100%; justify-content: center; margin-top: 18px; }
  .cta-band { padding: 36px; }
}

/* generic content (single posts / pages using the_content) */
.entry-content h2 { margin-top: 1.4em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.entry-content ul li { margin-bottom: 0.4em; }
.entry-content a { color: var(--blue-bright); text-decoration: underline; }
