/* ===== Lakeland Tires & Auto — brand palette =====
   Charcoal:  #1c1c1c  (headers, nav, footer)
   Racing Red:#c8102e  (accent, CTAs)
   Steel Gray:#4a4a4a  (body text, secondary)
   Amber:     #f2a900  (highlights, hours badge)
   Off-white: #f7f7f5  (section backgrounds)
   White:     #ffffff
   ================================================= */

:root {
  --charcoal: #1c1c1c;
  --red: #c8102e;
  --red-dark: #a10d24;
  --steel: #4a4a4a;
  --amber: #f2a900;
  --off-white: #f7f7f5;
  --white: #ffffff;
  --border: #e4e2de;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--steel);
  background: var(--white);
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--charcoal);
  color: #d8d8d8;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #f2a900; }
.topbar span + span { margin-left: 20px; }

/* ===== Header / Nav ===== */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--charcoal);
}
.brand img { height: 48px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
}
nav.main-nav a:hover { color: var(--red); }
nav.main-nav a.active { color: var(--red); }

.nav-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #313131 100%);
  color: var(--white);
  padding: 72px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #d8d8d8;
  margin-bottom: 28px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); text-decoration: none; }

.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-badge .amber { color: var(--amber); font-weight: 800; }
.hero-badge ul { margin: 12px 0 0; padding-left: 20px; }
.hero-badge li { margin-bottom: 6px; }

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-alt { background: var(--off-white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { margin-bottom: 8px; }

/* ===== Service cards ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card ul { padding-left: 20px; margin: 12px 0 0; }
.card ul li { margin-bottom: 4px; }

/* ===== Why us / features ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature { text-align: center; }
.feature .icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--red);
}

/* ===== Info split (hours / map / contact) ===== */
.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-box h3 { display: flex; align-items: center; gap: 10px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--charcoal); }
.hours-table tr:last-child td { border-bottom: none; }

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== Testimonials ===== */
.quote {
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--charcoal); }
.quote .who { font-style: normal; font-weight: 700; color: var(--red); margin-top: 10px; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-outline { border-color: var(--white); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--red); }

/* ===== Contact form ===== */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; color: var(--charcoal); font-size: 0.9rem; }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--steel); }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--charcoal);
  color: #cfcfcf;
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid h4 { color: var(--white); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #cfcfcf; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Page header (non-home pages) ===== */
.page-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: #d8d8d8; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .info-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-wrap { position: relative; flex-wrap: wrap; }
  .nav-cta { order: 3; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .topbar span + span { margin-left: 0; display: block; }
}
