/*
Theme Name: Dealership Theme
Theme URI: http://dealership.local
Author: Simon
Version: 1.0
Description: Custom WordPress theme for a car dealership
*/

:root {
  --bg: #0b1220;
  --bg-soft: #111827;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --text: #111827;
  --text-light: #6b7280;
  --white: #ffffff;
  --primary: #d9232d;
  --primary-dark: #b71c25;
  --border: #e5e7eb;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1200px;
}

/* RESET */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-top: 0;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-home section {
  padding: 72px 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary,
.btn-outline,
.btn-outline-light {
  background: transparent;
}

.btn-secondary,
.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.btn-dark {
  background: var(--bg);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--bg);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header-solid {
  background: linear-gradient(90deg, #ffffff 0%, #f2f2f2 28%, #101010 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.site-header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-header-transparent.is-scrolled {
  position: sticky;
  background: rgba(8, 16, 29, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 24px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  background-color: #ffffff;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.brand-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.site-header-solid .brand-name {
  color: #101010;
}

.site-header-solid .brand-tagline {
  color: #444;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: 0.25s ease;
}

.site-header-solid .nav-link {
  color: #ffffff;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.14);
}

.header-cta {
  padding: 12px 22px;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  background: #d9232d;
  border: none;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 35, 45, 0.35);
  transition: 0.25s ease;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 991px) {
  .site-header .header-inner {
    padding: 0 14px;
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    padding: 6px;
    border-radius: 12px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.05rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .nav-wrap.is-open {
    display: flex;
  }

  .main-nav,
  .nav-list {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }
}

/* SECTION HEADINGS */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-heading.center {
  text-align: center;
  display: block;
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.8);
}

/* HERO */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: #08101d;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 16, 29, 0.84) 0%,
      rgba(8, 16, 29, 0.70) 40%,
      rgba(8, 16, 29, 0.48) 68%,
      rgba(8, 16, 29, 0.65) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.22),
      rgba(0, 0, 0, 0.38)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hero-copy {
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 18px;
  color: #fff;
  max-width: 760px;
}

.hero-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-mini-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 760px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #fff;
}

.mini-card span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}


/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .hero-mini-info {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
}

@media (max-width: 640px) {
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(8, 16, 29, 0.78),
        rgba(8, 16, 29, 0.72)
      );
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }
}
/* STRIP */
.search-strip {
  background: var(--surface-soft);
}

.search-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.search-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* INFO SECTION */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* SERVICES */
.services-section {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card .vehicle-card-body {
  padding: 28px;
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  margin-bottom: 12px;
}

/* WHY US */
.why-us-section {
  background: var(--surface-soft);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* CTA */
.quote-cta-section {
  background: linear-gradient(135deg, #0b1220, #1b2334);
  color: var(--white);
}

.quote-cta-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 24px;
}

.quote-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* TRUST / TESTIMONIAL STYLE */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* CONTACT */
.contact-cta-section {
  background: var(--surface-soft);
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
/* FOOTER */
.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.75);
  padding: 24px 20px;
  text-align: center;
}

/* ARCHIVE VEHICLES */

.vehicles-archive {
  background: #f5f7fb;
}

/* HERO */
.archive-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0b1220;
}

.archive-hero-media,
.archive-hero-bg,
.archive-hero-video,
.archive-hero-overlay {
  position: absolute;
  inset: 0;
}

.archive-hero-bg {
  background:
    linear-gradient(90deg, rgba(8, 14, 27, 0.85) 0%, rgba(8, 14, 27, 0.55) 42%, rgba(8, 14, 27, 0.35) 100%),
    url('/wp-content/themes/dealership-theme/assets/images/archive-hero-car.jpg') center center / cover no-repeat;
  transform: scale(1.04);
}

.archive-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-hero-overlay {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(11, 18, 32, 0.82), rgba(27, 35, 52, 0.58));
}

.archive-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 20px 90px;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.archive-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.archive-hero p {
  margin: 0;
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}

/* LISTING SECTION */
.vehicles-listing {
  position: relative;
  margin-top: -48px;
  padding: 0 0 80px;
}

.vehicles-listing .container {
  position: relative;
  z-index: 3;
}

/* FILTERS */
.vehicles-filters {
  margin-bottom: 34px;
  padding: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-search {
  grid-column: span 2;
}

.filter-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #243041;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d6ddea;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 0.95rem;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.autocomplete-wrap {
  position: relative;
}

.vehicle-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  background: #fff;
  border: 1px solid #d7deea;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.suggestion-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-decoration: none;
  border-bottom: 1px solid #eef2f7;
  color: #0f172a;
  transition: background 0.2s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #f8fafc;
}

.suggestion-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.suggestion-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suggestion-title {
  font-weight: 700;
  font-size: 0.96rem;
}

.suggestion-price {
  font-size: 0.88rem;
  color: #475569;
}

.suggestion-empty {
  padding: 14px 16px;
  color: #475569;
  font-size: 0.92rem;
}

/* VEHICLE GRID */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.vehicle-card {
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.vehicle-thumb-link {
  display: block;
  overflow: hidden;
}

.vehicle-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-thumb {
  transform: scale(1.05);
}

.placeholder-thumb {
  display: grid;
  place-items: center;
  height: 240px;
  background: linear-gradient(135deg, #dbe3f0, #eff3f8);
  color: #425066;
  font-weight: 600;
}

.vehicle-card-body {
  padding: 22px;
}

.vehicle-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.3;
}

.vehicle-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.vehicle-price {
  margin-bottom: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.vehicle-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.vehicle-meta-grid span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
}

.vehicle-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-dark {
  background: #0f172a;
  color: #fff;
}

.btn-dark:hover {
  background: #111827;
  color: #fff;
}

.btn-outline {
  border: 1px solid #d3dae6;
  background: #fff;
  color: #0f172a;
}

.btn-outline:hover {
  border-color: #0f172a;
  color: #0f172a;
}

.empty-state {
  padding: 70px 24px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.archive-pagination {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}
.search-only-grid {
  grid-template-columns: 1fr;
}

.filter-search-full {
  width: 100%;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0 4px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  border: 1px solid #d7deea;
  font-weight: 700;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* SINGLE VEHICLE PAGE */
.single-vehicle-page {
  background: #fff;
}

.single-vehicle-hero {
  background: linear-gradient(135deg, #0b1220, #1b2334);
  color: #fff;
  padding: 56px 0 40px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: #fff;
}

.single-vehicle-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.single-vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.single-vehicle-badges span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.single-vehicle-price-box {
  min-width: 220px;
  text-align: right;
}

.single-vehicle-price-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 6px;
}

.single-vehicle-price {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #fff;
}

.single-vehicle-content {
  padding: 56px 0;
}

.single-vehicle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 380px;
  gap: 32px;
  align-items: start;
}

.single-vehicle-main {
  min-width: 0;
}

.single-vehicle-gallery,
.card-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.single-main-image {
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--surface-soft);
}

.single-main-thumb {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.single-image-placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--text-light);
  background: var(--surface-soft);
}

.single-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
}

.gallery-thumb-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
  min-height: 96px;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.card-block {
  padding: 28px;
  margin-top: 24px;
}

.vehicle-content-text p:last-child {
  margin-bottom: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spec-item {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.spec-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.single-vehicle-sidebar {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 110px;
}

.sidebar-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 18px 0 20px;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-specs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-specs-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.quick-specs-list li:last-child {
  border-bottom: 0;
}

.quick-specs-list span {
  color: var(--text-light);
}

.quote-form-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-form-card label {
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-form-card input,
.quote-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

.quote-form-card input:focus,
.quote-form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 35, 45, 0.12);
}
/* IMAGE LIGHTBOX */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90%;
  max-height: 85%;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: 0.3s ease;
}

.image-lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* MAKE IMAGES CLICKABLE */
.single-main-thumb,
.gallery-thumb-wrap img {
  cursor: zoom-in;
  transition: 0.3s ease;
}

.single-main-thumb:hover,
.gallery-thumb-wrap img:hover {
  transform: scale(1.03);
}



/* SINGLE VEHICLE RESPONSIVE */
@media (max-width: 1100px) {
  .single-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .single-vehicle-top {
    flex-direction: column;
    align-items: start;
  }

  .single-vehicle-price-box {
    min-width: 0;
    text-align: left;
  }

  .single-main-thumb,
  .single-image-placeholder {
    height: 340px;
    min-height: 340px;
  }

  .single-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .single-main-thumb,
  .single-image-placeholder {
    height: 240px;
    min-height: 240px;
  }

  .card-block {
    padding: 20px;
  }
}


/* ANIMATIONS */
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .contact-cta-grid,
  .quote-cta-box,
  .search-strip-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-grid,
  .info-grid,
  .why-us-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-mini-info {
    grid-template-columns: 1fr;
  }

  .header-right {
    gap: 12px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

    .filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-search {
    grid-column: span 3;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .site-header .header-inner {
    padding: 0 16px;
    min-height: 74px;
    position: relative;
  }

  .site-home section {
    padding: 56px 0;
  }

  .service-grid,
  .info-grid,
  .why-us-grid,
  .testimonials-grid,
  .contact-cta-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .hero-actions,
  .vehicle-actions,
  .contact-actions,
  .quote-cta-actions,
  .search-strip-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-car-stage {
    min-height: 420px;
  }

  .hero-ring-one {
    width: 280px;
    height: 280px;
  }

  .hero-ring-two {
    width: 360px;
    height: 360px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.76rem;
  }

 .menu-toggle {
  display: flex !important;
  margin-left: auto;
  flex-shrink: 0;
}

  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 16px 20px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f172a 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  }

  .nav-wrap.is-open {
    display: flex;
  }
  .site-header {
  overflow: visible;
}

.site-header .header-inner {
  overflow: visible;
}

  .main-nav {
    width: 100%;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
  }

  .header-cta {
    display: inline-flex;
    width: 100%;
  }

   .archive-hero {
    min-height: 62vh;
  }

  .archive-hero-content {
    padding: 90px 20px 70px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-search {
    grid-column: span 1;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding-top: 90px;
  }

  .hero-car-card {
    border-radius: 20px;
  }

  .hero-car-image {
    height: 220px;
  }

  .mini-card,
  .info-card,
  .why-card,
  .testimonial-card,
  .contact-card {
    padding: 20px;
  }

  .site-header .header-inner {
    min-height: 70px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 0.9rem;
  }
}

/* SERVICES ARCHIVE HERO */
.page-hero.services-page-hero {
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #0b1220, #1b2334);
  color: #fff;
}

.page-hero.services-page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
}

.page-hero.services-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* SERVICES GRID */
.services-list-section {
  padding: 70px 0;
  background: var(--surface-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.service-card-image-link {
  display: block;
}

.service-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 24px;
}

.service-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 35, 45, 0.08);
  color: #d9232d;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.service-card-title a {
  color: #111827;
  text-decoration: none;
}

.service-card-text {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  color: #1f2937;
  font-size: 0.95rem;
}

.service-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* SINGLE SERVICE */
.premium-service-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.single-service-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(217, 35, 45, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.06), transparent 28%);
  z-index: 0;
}

.single-service-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.single-service-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.single-service-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
}

.service-short-label {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #d9232d;
}

.single-service-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  line-height: 1.02;
  color: #0f172a;
  max-width: 760px;
}

.single-service-summary,
.single-service-copy p {
  color: #475569;
  line-height: 1.85;
  font-size: 1.03rem;
  max-width: 700px;
}

.single-service-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.single-meta-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.highlight-card {
  border-color: rgba(217, 35, 45, 0.18);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.single-meta-card strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 0.96rem;
}

.single-meta-card span {
  color: #475569;
  font-size: 1rem;
}

.single-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.single-service-media {
  position: relative;
}

.single-service-main-image {
  width: 100%;
  min-height: 430px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

/* CONTENT + SIDEBAR */
.single-service-content-section {
  padding: 20px 0 80px;
  background: #fff;
}

.single-service-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.content-panel,
.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.content-panel {
  padding: 32px;
}

.single-service-content {
  color: #334155;
  line-height: 1.9;
  font-size: 1rem;
}

.single-service-content h2,
.single-service-content h3,
.single-service-content h4 {
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 14px;
}

.single-service-content p:last-child {
  margin-bottom: 0;
}

.single-service-sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-card {
  padding: 24px;
}

.booking-card h3,
.service-facts-card h3 {
  margin: 10px 0 12px;
  color: #0f172a;
  font-size: 1.3rem;
}

.booking-card p {
  color: #475569;
  line-height: 1.75;
  margin-bottom: 18px;
}

.booking-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.fact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-row strong {
  color: #0f172a;
}

.fact-row span {
  color: #475569;
  text-align: right;
}

/* GALLERY */
.enhanced-gallery-section {
  padding: 0 0 90px;
  background: #fff;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 22px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* PAGINATION */
.archive-pagination {
  margin-top: 36px;
}

/* EMPTY */
.empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid,
  .service-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-service-hero-grid,
  .single-service-body-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .services-grid,
  .service-gallery-grid,
  .single-service-meta {
    grid-template-columns: 1fr;
  }

  .service-card-image,
  .gallery-item img {
    height: 220px;
  }

  .single-service-main-image {
    min-height: 300px;
  }

  .content-panel,
  .sidebar-card {
    padding: 22px;
  }
}

.booking-page-wrap {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.booking-form-shell {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.booking-form-intro {
  margin-bottom: 28px;
}

.booking-form-intro h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: #0f172a;
}

.booking-form-intro p {
  color: #475569;
  line-height: 1.8;
  max-width: 760px;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  color: #0f172a;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(217, 35, 45, 0.45);
  box-shadow: 0 0 0 4px rgba(217, 35, 45, 0.08);
}

.booking-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.booking-alert {
  max-width: 980px;
  margin: 0 auto 20px;
  border-radius: 22px;
  padding: 22px 24px;
  border: 1px solid transparent;
}

.booking-alert strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.booking-alert p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.booking-alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.booking-alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

@media (max-width: 767px) {
  .booking-form-shell {
    padding: 22px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }
}


.site-page {
  padding: 120px 0 80px;
  background: #fff;
}

.page-content-section {
  min-height: 50vh;
}