/*
Theme Name: S.A. Detailing Force Home
Theme URI: https://example.com
Author: S.A. Detailing
Description: Custom WordPress theme for a mobile auto detailing business.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.5
Text Domain: sa-detailing
*/

:root {
  --black: #050505;
  --charcoal: #151515;
  --gray: #2a2a2a;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --gold: #f6b81a;
  --gold-light: #ffd05a;
  --muted: #777;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}

a { color: inherit; }

.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  text-decoration: none;
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.03em;
}

.logo span {
  display: block;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  opacity: .92;
}

.nav a:hover { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  border: 2px solid transparent;
}

.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline.dark { border-color: var(--black); color: var(--black); }

.hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.45)),
    url('assets/images/hero-placeholder.svg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px 92px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: .9;
  margin: 0 0 10px;
  text-transform: uppercase;
  max-width: 720px;
}

.hero .script {
  color: var(--gold);
  font-style: italic;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 22px;
}

.hero p {
  max-width: 520px;
  font-size: 18px;
  margin-bottom: 26px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-bar {
  background: var(--charcoal);
  color: var(--white);
}

.trust-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-item h3 {
  color: var(--gold);
  margin: 0 0 4px;
  text-transform: uppercase;
  font-size: 16px;
}

.trust-item p { margin: 0; font-size: 14px; color: #ddd; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-tight { padding: 42px 24px; }

.section-title {
  text-align: center;
  margin: 0 0 34px;
}

.section-title h2 {
  font-size: 36px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.section-title p {
  color: var(--muted);
  margin: 0;
}

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

.card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.card-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: rgba(255,255,255,.1);
}

.card-image {
  height: 190px;
  background: var(--gray);
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 24px;
}

.price {
  color: var(--gold);
  font-weight: 900;
  font-size: 28px;
  margin: 8px 0 14px;
}

.list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.list li {
  padding: 5px 0 5px 24px;
  position: relative;
}

.list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  position: absolute;
  left: 0;
}

.dark-band {
  background: var(--black);
  color: var(--white);
}

.cta-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cta-band h2 {
  margin: 0;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 18px;
  text-align: left;
}

.pricing-table th {
  background: var(--light-gray);
  text-transform: uppercase;
  font-size: 13px;
}

.pricing-table td:not(:first-child),
.pricing-table th:not(:first-child) {
  text-align: center;
  font-weight: 800;
}

.note {
  background: var(--light-gray);
  border-left: 5px solid var(--gold);
  padding: 18px;
  margin: 24px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: start;
}

.service-row {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 22px;
  background: var(--white);
}

.service-row .image-box {
  min-height: 230px;
  border-radius: 6px;
  background: var(--gray);
  background-size: cover;
  background-position: center;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
}

.membership-card {
  position: relative;
  padding-top: 10px;
}

.membership-card.featured {
  border: 2px solid var(--gold);
  transform: translateY(-6px);
}

.form-box {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
}

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

.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font: inherit;
}

textarea { min-height: 110px; }

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner a { color: var(--gold); text-decoration: none; }

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 58px 24px;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 48px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

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

.addon {
  border: 1px solid #ddd;
  padding: 18px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .trust-inner,
  .cards-3,
  .grid-2,
  .service-row,
  .form-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}