/* ============================================
   Kennedy's Auto Repair — Wicked Fast Web
   Palette: charcoal + steel blue + safety amber
   Type: Oswald (headings) / Inter (body)
============================================ */

:root {
  --charcoal: #14171b;
  --charcoal-2: #1c2025;
  --charcoal-3: #23282f;
  --steel: #3b6e94;
  --steel-light: #5f93b8;
  --amber: #f2911d;
  --amber-dark: #d97b0f;
  --light-bg: #f4f5f7;
  --white: #ffffff;
  --text-dark: #20242b;
  --text-muted: #666d76;
  --border-soft: #e4e6ea;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
}

a { text-decoration: none; }

.section { padding: 6rem 0; }

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}
.eyebrow.light { color: var(--amber); }

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-heading h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.section-heading h2.light { color: var(--white); }
.section-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Navbar ---------- */
#mainNav {
  padding: 0.9rem 0;
  background: linear-gradient(to bottom, rgba(20,23,27,0.85), rgba(20,23,27,0));
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#mainNav.scrolled {
  background: var(--charcoal);
  padding: 0.5rem 0;
  box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.navbar-brand img { display: block; }
.brand-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.05rem;
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.9);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}
#mainNav .nav-link:hover { color: var(--amber); }
#mainNav .social-link { font-size: 1.1rem; padding: 0.5rem 0.6rem; }

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Buttons ---------- */
.btn-cta {
  background: var(--amber);
  border: 1px solid var(--amber);
  color: var(--charcoal);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.btn-cta:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-cta {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.85);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.btn-outline-cta:hover {
  background: var(--white);
  color: var(--charcoal);
}
.contact-section .btn-outline-cta {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.contact-section .btn-outline-cta:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.webp') center 25%/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 3rem 2.5rem;
  margin: 0 1.5rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}
.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 3.6rem;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Services ---------- */
.services-section { background: var(--light-bg); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20,23,27,0.1);
}
.service-card-accent {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.service-card-accent h3, .service-card-accent p { color: var(--white); }
.service-card-accent .service-icon { color: var(--amber); }

.service-icon {
  font-size: 2.1rem;
  color: var(--steel);
  margin-bottom: 1.1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- About ---------- */
.about-img {
  border-radius: 6px;
  width: 100%;
  box-shadow: 0 18px 40px rgba(20,23,27,0.16);
}
.lead-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
.feature-list li {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.feature-list i {
  color: var(--amber-dark);
  margin-right: 0.5rem;
}

.testimonials-heading { margin-top: 5.5rem; }

.testimonial-card {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
}
.testimonial-card i.bi-quote {
  font-size: 1.6rem;
  color: var(--steel-light);
  margin-bottom: 0.5rem;
  display: block;
}
.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.testimonial-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--amber-dark);
}

/* ---------- Promotions ---------- */
.promotions-section {
  background: var(--charcoal);
  background-image: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 55%, var(--steel) 220%);
}

.promo-card {
  background: var(--charcoal-3);
  border: 1px solid rgba(242,145,29,0.3);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  text-align: center;
}
.promo-price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.promo-price span {
  display: block;
  font-size: 3.5rem;
  line-height: 1;
}
.promo-price small {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0.5rem;
  font-weight: 500;
}
.promo-terms {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

/* ---------- Contact ---------- */
.contact-info-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
}
.contact-row {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.contact-row:last-of-type { margin-bottom: 1.5rem; }
.contact-row i {
  font-size: 1.4rem;
  color: var(--steel);
  margin-top: 0.15rem;
}
.contact-row h6 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
}
.contact-row p {
  margin-bottom: 0;
  font-weight: 500;
}
.contact-row p a { color: var(--text-dark); }
.contact-row p a:hover { color: var(--amber-dark); }
.text-accent { color: var(--amber-dark); font-weight: 600; }

.map-wrap {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20,23,27,0.12);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 4.5rem 0 2rem;
}
.footer-heading {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.footer-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.footer-copy-text {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--amber); }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}
.social-icon:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--charcoal);
}

.footer-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 2.5rem 0 1.5rem;
}

.powered-by {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.powered-by strong { color: var(--amber); }
.powered-by:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  #mainNav { background: var(--charcoal); }
  .navbar-collapse {
    background: var(--charcoal);
    margin-top: 0.75rem;
    padding: 1rem 0.5rem;
    border-radius: 6px;
  }
  #mainNav .nav-link { padding: 0.65rem 0.5rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .section { padding: 4.5rem 0; }
  .testimonials-heading { margin-top: 4rem; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 2.25rem 1.5rem; }
  .hero-title { font-size: 2.1rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .promo-price span { font-size: 2.6rem; }
}
