/*
Theme Name: Shake's Mobile Detailing - Restored
Theme URI: https://shakesdetailing.com/
Author: Shake's Mobile Detailing
Description: Custom WordPress theme for Shake's Mobile Detailing in Irving, Texas.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: shakes-mobile-detailing
*/

:root {
  --black: #0a0a0a;
  --navy: #1a1a2e;
  --panel: #11121a;
  --panel-soft: #171925;
  --blue: #1e90ff;
  --blue-dark: #0868ca;
  --white: #ffffff;
  --muted: #c6c9d4;
  --line: rgba(255, 255, 255, 0.12);
  --red: #ff4c4c;
  --gold: #ffd166;
  --green: #15803d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: 3rem;
  max-width: 980px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 2rem));
  min-height: 82px;
  margin: 0 auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-logo img,
.footer-logo img {
  display: block;
  object-fit: contain;
}

.brand-logo img {
  width: auto;
  height: 64px;
  max-width: 96px;
}

.footer-logo {
  margin-bottom: 0.8rem;
}

.footer-logo img {
  width: 145px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"],
.text-link,
.site-footer a:hover,
.booking-note a,
.final-cta a:not(.btn),
.faq-answer a,
.add-ons a {
  color: var(--blue);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 3px 0;
  background: var(--white);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 0 28px rgba(30, 144, 255, 0.38);
  transform: translateY(-1px);
}

.btn-small {
  min-height: 40px;
  padding: 0.7rem 0.95rem;
  font-size: 0.78rem;
}

.btn-large {
  min-height: 56px;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blue);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #111111;
}

.btn-gold:hover {
  background: #e8b942;
  border-color: #e8b942;
}

.full-width {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--black);
}

.hero-foam::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-lamborghini-wide.jpg");
  background-position: center bottom;
  background-size: cover;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0), var(--black));
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(820px, calc(100% - 2rem));
}

.section-inner.wide {
  width: min(1280px, calc(100% - 2rem));
}

.hero-grid {
  display: flex;
  align-items: center;
  min-height: 720px;
}

.hero-copy {
  max-width: 900px;
  padding: 7rem 0 5rem;
}

.eyebrow {
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-sub {
  max-width: 760px;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.75rem 0 1.5rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
}

.section {
  padding: 5rem 0;
  background: var(--black);
}

.section-alt {
  background: var(--navy);
}

.section-heading {
  max-width: 830px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  padding: 6rem 0 4rem;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.compact-hero {
  padding-bottom: 3rem;
}

.feature-grid,
.service-grid,
.pricing-grid,
.testimonial-grid,
.comparison-grid,
.stat-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid.three,
.testimonial-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comparison-grid.two,
.gallery-comparisons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.pricing-card,
.testimonial-card,
.comparison-card,
.stat-card {
  position: relative;
  background: rgba(17, 18, 26, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.comparison-card:hover {
  border-color: rgba(30, 144, 255, 0.72);
  box-shadow: 0 0 32px rgba(30, 144, 255, 0.18);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  background: rgba(30, 144, 255, 0.14);
  border: 1px solid rgba(30, 144, 255, 0.35);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
}

.price,
.starting strong {
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.service-card.highlighted,
.pricing-card.featured {
  border-color: rgba(30, 144, 255, 0.85);
  box-shadow: 0 0 36px rgba(30, 144, 255, 0.18);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.55rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.red {
  background: var(--red);
}

.text-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 800;
}

.maintenance-jump {
  max-width: 620px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.32);
  border-radius: 8px;
  text-align: center;
}

.maintenance-jump a {
  color: var(--blue);
  font-weight: 800;
}

.ba-slider {
  --position: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  overflow: hidden;
  background: #0d0f16;
  border-radius: 8px;
  isolation: isolate;
}

.ba-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.ba-before {
  position: absolute;
  inset: 0;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--position));
}

.ba-after {
  position: absolute;
  inset: 0;
}

.ba-label {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ba-label-before {
  left: 1rem;
  background: var(--red);
}

.ba-label-after {
  right: 1rem;
  background: var(--blue);
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 5;
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--blue);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 22px rgba(30, 144, 255, 0.45);
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.center-cta {
  margin-top: 2rem;
  text-align: center;
}

.center-cta .btn {
  margin: 0.25rem;
}

.stars {
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

blockquote {
  margin: 0 0 1rem;
  color: var(--white);
}

.reviewer {
  color: var(--white);
  font-weight: 800;
}

.review-section {
  padding-top: 0;
}

.review-cta {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 8px;
  text-align: center;
}

.gold-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: 8px;
  color: var(--gold);
  font-size: 1.35rem;
}

.review-cta small,
.plan-panel small {
  display: block;
  color: var(--muted);
  margin-top: 0.8rem;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-pills span {
  padding: 0.55rem 0.8rem;
  background: rgba(30, 144, 255, 0.12);
  border: 1px solid rgba(30, 144, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
}

.booking-section {
  border-top: 1px solid var(--line);
}

.calendly-shell {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-note {
  margin-top: 1.5rem;
  text-align: center;
}

.split-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
}

.photo-frame {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

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

.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0.48rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.16);
  border-radius: 50%;
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 900;
}

.check-list.compact li {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.25rem;
}

.stat-card span {
  color: var(--muted);
}

.final-cta {
  background: var(--black);
}

.intro-copy {
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pricing-card .btn {
  margin-top: auto;
}

.starting {
  color: var(--muted);
}

.starting strong {
  display: block;
}

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

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-list strong {
  color: var(--white);
}

.add-ons {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(30, 144, 255, 0.45);
  border-radius: 8px;
}

.add-ons p {
  margin-bottom: 0.55rem;
}

.vehicle-icon {
  display: block;
  width: 90px;
  height: 34px;
  margin-bottom: 1rem;
  border: 3px solid var(--blue);
  border-top-left-radius: 28px;
  border-top-right-radius: 44px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  position: relative;
}

.vehicle-icon::before,
.vehicle-icon::after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 18px;
  height: 18px;
  background: var(--panel);
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.vehicle-icon::before {
  left: 10px;
}

.vehicle-icon::after {
  right: 10px;
}

.vehicle-icon.suv {
  width: 100px;
  height: 42px;
  border-top-left-radius: 16px;
  border-top-right-radius: 22px;
}

.vehicle-icon.truck {
  width: 112px;
  height: 38px;
  border-top-left-radius: 10px;
  border-top-right-radius: 8px;
}

.maintenance-section {
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.perk-callout {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
}

.perk-callout span,
.perk-callout a {
  color: var(--white);
}

.plan-tabs,
.comparison-table {
  margin-top: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}

.tab-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-button,
.faq-question {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.tab-button {
  text-align: center;
}

.tab-button.active {
  background: var(--blue);
  border-color: var(--blue);
}

.plan-panel {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.plan-panel-header {
  max-width: 760px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

th {
  background: rgba(30, 144, 255, 0.14);
  color: var(--white);
}

tr:last-child td {
  border-bottom: 0;
}

.comparison-note {
  color: var(--white);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-question {
  position: relative;
  padding: 0.9rem 3rem 0.9rem 1rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--blue);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.gallery-comparisons {
  gap: 1.25rem;
}

.caption,
.photo-grid figcaption {
  min-height: 1.2rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.photo-grid figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-grid img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.site-footer {
  background: #080808;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.site-footer h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

.footer-links li {
  margin-bottom: 0.45rem;
}

.site-footer a,
.site-footer p,
.site-footer address {
  color: var(--muted);
  font-style: normal;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-bottom {
  padding: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.45rem;
  }

  .feature-grid.four,
  .service-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 72px;
  }

  .nav-actions {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a:not(.btn),
  .nav-menu .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.9rem;
  }

  .nav-menu .btn {
    margin-top: 0.35rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero,
  .hero-grid {
    min-height: 620px;
  }

  .hero-copy {
    padding: 5rem 0 4rem;
  }

  .feature-grid.four,
  .feature-grid.three,
  .testimonial-grid,
  .stat-grid,
  .comparison-grid.two,
  .gallery-comparisons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .brand {
    max-width: 150px;
    line-height: 1.15;
  }

  .brand-logo img {
    height: 52px;
    max-width: 78px;
  }

  .nav-book-mobile {
    min-height: 38px;
    padding: 0.65rem 0.75rem;
    font-size: 0.7rem;
  }

  .hero-actions,
  .trust-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-foam::before {
    background-image: url("assets/hero-lamborghini-mobile.jpg");
    background-position: center bottom;
  }

  .btn {
    width: 100%;
  }

  .section,
  .page-hero {
    padding: 3.5rem 0;
  }

  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .ba-slider,
  .ba-img {
    min-height: 260px;
  }

  .tab-controls {
    grid-template-columns: 1fr;
  }

  .plan-panel {
    padding: 0.8rem;
  }

  .review-cta {
    padding: 1.25rem;
  }
}
