:root {
  --black: #111111;
  --red: #d62b1f;
  --cream: #f2e9c9;
  --grey: #f4f4f4;
  --darkgrey: #444;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.6;
}

/* Header / Nav */
header {
  background: var(--black);
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
  gap: 10px;
}
header img { height: 90px; }
header a.logo-link { display: flex; align-items: center; }
header nav { display: flex; align-items: center; flex-wrap: wrap; }
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  font-size: 15px;
}
header nav a:hover, header nav a.active { color: var(--cream); }
header nav a.nav-btn {
  background: var(--red);
  padding: 10px 20px;
  border-radius: 6px;
  margin-left: 24px;
}
header nav a.nav-btn:hover { background: #a81f16; color: #fff; }

/* Hero (home) */
.hero {
  background: linear-gradient(rgba(10,10,10,0.75), rgba(10,10,10,0.85)), url('assets/rjm-autocare.jpg') center/cover;
  color: #fff;
  padding: 100px 5% 90px;
  text-align: center;
}
.hero h1 {
  font-size: 2.6em;
  max-width: 800px;
  margin: 0 auto 18px;
  line-height: 1.2;
}
.hero p.sub {
  font-size: 1.2em;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 30px;
}
.badge-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9em;
}

/* Small page banner (sub-pages) */
.page-hero {
  background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.88)), url('assets/rjm-autocare.jpg') center/cover;
  color: #fff;
  padding: 64px 5%;
  text-align: center;
}
.page-hero h1 { font-size: 2.1em; margin-bottom: 10px; }
.page-hero p { color: var(--cream); max-width: 600px; margin: 0 auto; font-size: 1.05em; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 16px 38px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #a81f16; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0em;
}
.btn-secondary:hover { background: var(--black); color: #fff; }

section { padding: 70px 5%; max-width: 1100px; margin: 0 auto; }
h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 12px;
}
h3.section-heading { font-size: 1.4em; margin: 30px 0 14px; }
.lead {
  text-align: center;
  color: var(--darkgrey);
  max-width: 650px;
  margin: 0 auto 46px;
  font-size: 1.05em;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--grey);
  border-radius: 10px;
  padding: 30px 26px;
  border-top: 4px solid var(--red);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.2em; }
.service-card p { color: var(--darkgrey); font-size: 0.95em; }

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  text-align: center;
}
.step .step-num {
  counter-increment: step;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  margin: 0 auto 12px;
}
.step .step-num::before { content: counter(step); }
.step p { color: var(--darkgrey); font-size: 0.95em; }

/* Portfolio grid */
.portfolio { background: var(--grey); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.grid img { width: 100%; height: 220px; object-fit: cover; display: block; }
.grid figcaption {
  padding: 12px 14px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--darkgrey);
}
.center-cta { text-align: center; margin-top: 46px; }

/* Why us stats */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.why .num { font-size: 2.4em; font-weight: 800; color: var(--red); }
.why .label { font-weight: 600; margin-top: 6px; }

/* About page */
.about-story p { margin-bottom: 18px; max-width: 760px; margin-left: auto; margin-right: auto; }
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 10px;
}
.value-card {
  background: var(--grey);
  border-radius: 10px;
  padding: 26px 22px;
}
.value-card h3 { font-size: 1.05em; margin-bottom: 8px; }
.value-card p { color: var(--darkgrey); font-size: 0.92em; }

/* Quote / contact form */
.quote-section { background: var(--black); color: #fff; }
.quote-section h2, .quote-section .lead { color: #fff; }
form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
form.order-form { max-width: 780px; }
form input, form textarea, form select {
  padding: 13px 14px;
  border-radius: 6px;
  border: none;
  font-size: 1em;
  font-family: inherit;
  width: 100%;
}
form textarea { min-height: 100px; resize: vertical; }
form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05em;
  cursor: pointer;
}
form button:hover { background: #a81f16; }

/* Order builder */
.form-section {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 22px 20px;
  display: grid;
  gap: 14px;
}
.form-section h3 {
  font-size: 1.05em;
  color: #fff;
  margin-bottom: 4px;
}
.form-section .hint {
  color: var(--cream);
  font-size: 0.88em;
  margin-top: -8px;
}
.item-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 0.8fr;
  gap: 10px;
}
.item-row .row-label {
  grid-column: 1 / -1;
  color: var(--cream);
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
}
.radio-group {
  display: grid;
  gap: 10px;
}
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.radio-option input { width: auto; margin-top: 3px; }
.radio-option span { color: #fff; font-size: 0.95em; }
.file-field {
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
}
.file-field input { background: transparent; padding: 0; }
.collection-note {
  background: rgba(200,240,0,0.1);
  border-left: 4px solid #c8f000;
  padding: 14px 16px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.92em;
}
@media (max-width: 640px) {
  .item-row { grid-template-columns: 1fr 1fr; }
}
.contact-strip {
  text-align: center;
  margin-top: 24px;
  color: var(--cream);
  font-size: 0.95em;
}
.contact-strip a { color: #fff; }

/* Generic dark CTA band (used on sub-pages, kept visually separate from the Rogue Tap ad) */
.dark-cta {
  background: var(--black);
  color: #fff;
  text-align: center;
}
.dark-cta h2, .dark-cta .lead { color: #fff; }

/* Rogue Tap ad */
.roguetap {
  background: #000;
  color: #fff;
  text-align: center;
  border-top: 3px dashed #444;
  border-bottom: 3px dashed #444;
}
.roguetap .tag {
  display: inline-block;
  color: #000;
  background: #c8f000;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.75em;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.roguetap .btn { background: #c8f000; color: #000; margin-top: 20px; }
.roguetap .btn:hover { background: #a9cc00; }

/* Footer */
footer {
  background: var(--black);
  color: #aaa;
  text-align: center;
  padding: 30px 5%;
  font-size: 0.9em;
}
footer a { color: #fff; }
footer .footer-nav { margin-bottom: 14px; }
footer .footer-nav a { margin: 0 10px; font-weight: 600; }

@media (max-width: 600px) {
  header nav a { margin-left: 12px; font-size: 13px; }
  header nav a.nav-btn { margin-left: 12px; padding: 8px 14px; }
  .hero h1 { font-size: 1.8em; }
  .page-hero h1 { font-size: 1.6em; }
}
