
/* =========================================================
   SMART DRIVE CAR HIRE SERVICES
   Main stylesheet — black, gold, silver and white
   ========================================================= */

:root {
  --black: #080808;
  --black-soft: #111111;
  --panel: #171717;
  --panel-light: #202020;
  --gold: #d6ad55;
  --gold-light: #f0cf7a;
  --white: #f8f8f8;
  --silver: #c2c2c2;
  --muted: #919191;
  --border: rgba(214, 173, 85, 0.25);
  --success: #76d69a;
  --danger: #ff8c8c;
  --radius: 16px;
  --container: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--black-soft);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--silver);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gold-text {
  color: var(--gold-light);
}

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

/* Buttons */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.91rem;
  font-weight: 800;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  background: var(--gold);
  color: #101010;
}

.btn-dark {
  background: #242424;
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Header and navigation */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.brand-fallback {
  display: none;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
}

.brand-name {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.3;
}

.brand-tagline {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-contact {
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 800;
}

.menu-toggle {
  display: flex;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 5px;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.primary-navigation {
  position: absolute;
  top: calc(100% + 1px);
  right: 20px;
  display: none;
  width: min(340px, calc(100vw - 40px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  background: #111;
  box-shadow: var(--shadow);
}

.primary-navigation.is-open {
  display: block;
}

.primary-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--silver);
  font-size: 0.92rem;
}

.primary-navigation a:hover {
  background: rgba(214, 173, 85, 0.1);
  color: var(--gold-light);
}

/* Hero slideshow */

.hero {
  position: relative;
  min-height: 610px;
  min-height: min(760px, calc(100svh - 78px));
  overflow: hidden;
  background: #101010;
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1.2s ease,
    transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide:nth-child(1) {
  background-image: url("images/hero-car-1.jpg");
}

.hero-slide:nth-child(2) {
  background-image: url("images/hero-car-2.jpg");
}

.hero-slide:nth-child(3) {
  background-image: url("images/hero-car-3.jpg");
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 90px;
}

.hero-content > * {
  max-width: 700px;
}

.hero-content h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  max-width: 590px;
  margin: 0 0 28px;
  color: #e0e0e0;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-indicators {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-indicator {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-indicator.is-active {
  width: 44px;
  background: var(--gold);
}

/* Trust strip */

.trust-strip {
  border-bottom: 1px solid var(--border);
  background: #101010;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--silver);
  font-size: 0.85rem;
  text-align: center;
}

.trust-icon {
  color: var(--gold);
  font-size: 1.2rem;
}

/* Category cards */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #202020;
  background-position: center;
  background-size: cover;
  text-align: left;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.category-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.04) 100%);
  content: "";
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.category-card p {
  margin: 0;
  color: #d4d4d4;
  font-size: 0.87rem;
}

.category-card .category-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.category-image-small {
  background-image: url("images/category-small.jpg");
}

.category-image-medium {
  background-image: url("images/category-medium.jpg");
}

.category-image-midsize {
  background-image: url("images/category-midsize-suv.jpg");
}

.category-image-suv {
  background-image: url("images/category-suv.jpg");
}

.category-image-family {
  background-image: url("images/category-family.jpg");
}

.category-image-van {
  background-image: url("images/category-van.jpg");
}

/* Category image sizing and display */
.category-image {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fleet and filters */

.fleet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.vehicle-search {
  width: min(100%, 360px);
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  background: #151515;
  color: var(--white);
}

.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #363636;
  border-radius: 30px;
  background: transparent;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.fleet-result-count {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.85rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vehicle-card {
  overflow: hidden;
  border: 1px solid #2d2d2d;
  border-radius: var(--radius);
  background: var(--panel);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}

.vehicle-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #252525;
}

.vehicle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vehicle-card:hover .vehicle-image {
  transform: scale(1.035);
}

.vehicle-category-label {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 5px 10px;
  border: 1px solid rgba(214, 173, 85, 0.4);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
}

.vehicle-card-body {
  padding: 19px;
}

.vehicle-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.vehicle-description {
  min-height: 42px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.vehicle-price {
  margin: 0 0 17px;
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 900;
}

.vehicle-price small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.vehicle-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.similar-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold-light);
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fleet-empty-message {
  padding: 35px 20px;
  border: 1px dashed #454545;
  border-radius: 12px;
  color: var(--silver);
  text-align: center;
}

.similar-section {
  margin-top: 50px;
}

.similar-section[hidden] {
  display: none;
}

/* Booking form */

.booking-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 36px;
}

.booking-copy {
  position: sticky;
  top: 110px;
}

.booking-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.booking-copy p {
  color: var(--silver);
}

.booking-points {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.booking-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--silver);
}

.booking-points li::before {
  color: var(--gold);
  content: "✓";
  font-weight: 900;
}

.booking-form {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.booking-form h3 {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #e4e4e4;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #3b3b3b;
  border-radius: 8px;
  background: #101010;
  color: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #777;
}

.form-field select {
  color-scheme: dark;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-hint {
  color: var(--muted);
  font-size: 0.76rem;
}

.quantity-control {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid #3b3b3b;
  border-radius: 8px;
}

.quantity-control button {
  width: 46px;
  height: 46px;
  border: 0;
  background: #252525;
  color: var(--gold-light);
  font-size: 1.25rem;
}

.quantity-control button:hover {
  background: #343434;
}

.quantity-control input {
  width: 58px;
  min-height: 46px;
  padding: 5px;
  border: 0;
  border-right: 1px solid #3b3b3b;
  border-left: 1px solid #3b3b3b;
  border-radius: 0;
  background: #101010;
  text-align: center;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--silver);
  font-size: 0.87rem;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 4px;
  accent-color: var(--gold);
}

.booking-status {
  margin: 14px 0 0;
  color: var(--success);
  font-size: 0.88rem;
}

.booking-status:empty {
  display: none;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 25px 22px;
  border: 1px solid #303030;
  border-radius: 13px;
  background: var(--panel);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--gold);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 0 0 9px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--silver);
  font-size: 0.86rem;
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  padding: 24px;
  border: 1px solid #303030;
  border-radius: 13px;
  background: var(--panel);
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.review-card blockquote {
  margin: 14px 0;
  color: #e2e2e2;
}

.review-author {
  color: var(--gold-light);
  font-size: 0.87rem;
  font-weight: 800;
}

/* Contact and footer */

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at top right, rgba(214, 173, 85, 0.1), transparent 55%),
    var(--panel);
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.contact-panel p {
  color: var(--silver);
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #353535;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
  overflow-wrap: anywhere;
}

.contact-link:hover {
  border-color: var(--gold);
}

.contact-link strong {
  color: var(--gold-light);
}

.site-footer {
  padding: 35px 0 24px;
  border-top: 1px solid #292929;
  background: #050505;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 25px;
}

.footer-copy {
  max-width: 470px;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #252525;
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #1fa855;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.07);
}

/* Utility classes */

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

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

/* Tablet */

@media (max-width: 900px) {
  .section {
    padding: 70px 0;
  }

  .category-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .booking-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .booking-copy {
    position: static;
  }

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

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

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding: 55px 0;
  }

  .section-heading {
    margin-bottom: 27px;
    text-align: left;
  }

  .header-inner {
    min-height: 70px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo,
  .brand-fallback {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    max-width: 190px;
    font-size: 0.76rem;
  }

  .brand-tagline {
    max-width: 190px;
    font-size: 0.52rem;
    letter-spacing: 0.035em;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .primary-navigation {
    right: 15px;
    width: calc(100vw - 30px);
  }

  .hero {
    min-height: 590px;
    min-height: min(700px, calc(100svh - 70px));
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 70%);
  }

  .hero-content {
    padding-top: 45px;
    padding-bottom: 75px;
  }

  .hero-content h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-content p {
    font-size: 0.98rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    flex: 1 1 100%;
  }

  .trust-grid {
    gap: 18px 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .trust-item {
    justify-content: flex-start;
    font-size: 0.76rem;
    text-align: left;
  }

  .category-grid,
  .fleet-grid,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 190px;
  }

  .fleet-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .vehicle-search {
    width: 100%;
  }
  .fleet-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .vehicle-description {
    min-height: 0;
  }

  .booking-form {
    padding: 20px 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .contact-panel {
    gap: 20px;
    padding: 24px 18px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* Desktop vehicle gallery sizing */
@media (min-width: 901px) {
  .fleet-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .vehicle-image-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 190px;
  }

  .vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .vehicle-card-body {
    padding: 15px;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   SMART DRIVE — HTML COMPATIBILITY AND HEADER UPDATE
   Keeps existing styles and matches the current index.html
   ========================================================= */

/* HEADER: LOGO LEFT, LINKS CENTRE, HAMBURGER RIGHT */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .header-inner {
  width: calc(100% - 40px);
  max-width: 1400px;
  margin-inline: auto;
}

.site-header .brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.site-header .site-nav {
  position: static;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 22px);
  width: auto;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--silver);
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-header .site-nav a:hover {
  background: transparent;
  color: var(--gold-light);
}

.site-header .site-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #101010;
  font-weight: 800;
}

.site-header .site-nav .nav-cta:hover {
  background: var(--gold-light);
  color: #101010;
}

.site-header .menu-toggle {
  display: flex;
  flex: 0 0 46px;
  margin-left: 0;
  position: relative;
  z-index: 1010;
}

/* BUTTON CLASS NAMES USED BY index.html */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.91rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: #101010;
}

.button-gold:hover {
  background: var(--gold-light);
}

.button-outline {
  border-color: var(--gold);
  background: transparent;
  color: var(--white);
}

.button-outline:hover {
  background: var(--gold);
  color: #101010;
}

.button-full {
  width: 100%;
}

/* HERO CONTENT AND ACTIONS */

.hero-content {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-description {
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-actions .button {
  min-width: 155px;
}

.hero-content .hero-tagline {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* HERO SLIDESHOW CONTROLS */

.hero-indicators button {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-indicators button.is-active {
  width: 44px;
  background: var(--gold);
}

/* TRUST STRIP */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 24px max(20px, calc((100% - 1200px) / 2));
}

.trust-strip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.trust-strip strong {
  color: var(--gold-light);
  font-size: 1rem;
}

.trust-strip span {
  color: var(--silver);
  font-size: 0.82rem;
}

/* CATEGORY CARDS AND CATEGORY PHOTOS */

.category-card {
  padding: 0;
  justify-content: flex-start;
}

.category-image {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 180px;
  flex: 0 0 180px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.category-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  padding: 18px 20px 22px;
  background: var(--panel);
}

.category-card-content h3 {
  color: var(--white);
}

.category-card-content p {
  margin: 0 0 12px;
  color: var(--silver);
}

.category-card-content > span {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 800;
}

.category-card::before {
  display: none;
}

/* FLEET ELEMENTS USED BY index.html */

.fleet-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.search-label {
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 700;
}

#vehicle-search {
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  background: #151515;
  color: var(--white);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.results-count {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 0.85rem;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vehicle-grid .vehicle-card {
  min-width: 0;
}

.empty-message {
  padding: 35px 20px;
  border: 1px dashed #454545;
  border-radius: 12px;
  color: var(--silver);
  text-align: center;
}

/* BOOKING FORM ELEMENTS USED BY index.html */

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 36px;
}

.booking-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.booking-intro p {
  color: var(--silver);
}

.booking-benefits {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.booking-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--silver);
}

.booking-benefits li::before {
  color: var(--gold);
  content: "✓";
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 17px;
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.booking-form .form-field {
  min-width: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  margin: 0;
  color: var(--success);
  font-size: 0.88rem;
}

.form-status:empty {
  display: none;
}

/* SERVICES, REVIEWS AND CONTACT */

.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reviews-section .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-placeholder {
  margin: 0;
  color: var(--silver);
}

.contact-banner {
  padding: 70px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at top right, rgba(214, 173, 85, 0.12), transparent 55%),
    var(--panel);
}

.contact-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.contact-banner > p:not(.eyebrow) {
  margin: 0 auto 24px;
  color: var(--silver);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 35px;
  padding-bottom: 30px;
}

.footer-brand .footer-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.footer-brand h2 {
  font-size: 1rem;
}

.footer-brand p,
.footer-grid > div > p {
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-grid > div > a {
  display: block;
  margin: 7px 0;
  color: var(--silver);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.footer-grid > div > a:hover,
.footer-bottom a:hover {
  color: var(--gold-light);
}

/* DESKTOP VEHICLE CARD SIZE */

@media (min-width: 901px) {
  .vehicle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .vehicle-image-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 190px;
  }

  .vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .vehicle-card-body {
    padding: 15px;
  }
}

/* TABLET AND MOBILE NAVIGATION */

@media (max-width: 1100px) {
  .site-header .site-nav {
    gap: 10px;
  }

  .site-header .site-nav a {
    font-size: 0.78rem;
  }

  .site-header .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 900px) {
  .site-header .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .site-header .site-nav {
    position: absolute;
    top: 100%;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(340px, calc(100vw - 30px));
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    background: #111;
    box-shadow: var(--shadow);
  }

  .site-header .site-nav.is-open {
    display: flex;
  }

  .site-header .site-nav a {
    display: flex;
    justify-content: flex-start;
    padding: 13px 12px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .site-header .site-nav .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .site-header .menu-toggle {
    flex-basis: 46px;
    margin-left: auto;
  }

  .booking-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .trust-strip {
    padding-inline: 20px;
  }

  .services-section .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-section .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* SMALL MOBILE SCREENS */

@media (max-width: 600px) {
  .site-header .header-inner {
    width: calc(100% - 30px);
    min-height: 70px;
    gap: 10px;
  }

  .site-header .brand {
    gap: 8px;
    min-width: 0;
  }

  .site-header .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .site-header .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-content {
    width: calc(100% - 30px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
    padding: 20px 15px;
  }

  .category-grid,
  .vehicle-grid,
  .services-section .services-grid,
  .reviews-section .reviews-grid {
    grid-template-columns: 1fr;
  }

  .category-image {
    height: 180px;
    min-height: 180px;
    flex-basis: 180px;
  }

  .filter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .booking-form {
    padding: 20px 15px;
  }

  .booking-form .form-row {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .contact-banner {
    padding: 50px 18px;
  }

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

/* MOBILE HEADER ALIGNMENT FIX */
@media (max-width: 768px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
    gap: 12px;
  }

  .site-header .brand {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
  }

  .site-header .brand-logo {
    display: block;
    margin: 0;
  }

  .site-header .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    align-self: center;
  }

  .site-header .site-nav {
    top: 100%;
    right: 16px;
    left: 16px;
  }
}

/* DESKTOP HEADER ALIGNMENT FIX */
@media (min-width: 769px) {
  .site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 24px;
    padding: 10px 24px;
    box-sizing: border-box;
  }

  .site-header .brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
  }

  .site-header .menu-toggle {
    display: none;
  }

  .site-header .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0;
  }
}

/* FINAL DESKTOP HEADER POSITION FIX */
@media (min-width: 769px) {
  .site-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    min-height: 78px;
    padding: 10px 24px;
    gap: 24px;
  }

  .site-header .brand {
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header .site-nav {
    position: static !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px;
  }
}


/* VEHICLE PHOTOS — FILL FRAMES LIKE CATEGORY PHOTOS */
.vehicle-card {
  overflow: hidden;
  min-width: 0;
}

.vehicle-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #252525;
}

.vehicle-image-wrap .vehicle-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* CONSISTENT VEHICLE PHOTO FRAMES ON MOBILE */
@media (max-width: 600px) {
  .vehicle-image-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* RESPONSIVE IMAGE HEIGHT ON PHONES */
@media (max-width: 600px) {
  .vehicle-card img {
    height: 200px;
  }
}

/* FIX: KEEP WHATSAPP BUTTON WITHIN THE PHONE SCREEN */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 20px;
  left: auto;
  z-index: 1000;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  box-sizing: border-box;
}

.whatsapp-float span {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 12px;
    bottom: 16px;
  }
}

/* HERO SLIDER LAYERS */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
}

.hero-section .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080808;
}

.hero-section .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-section .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-section .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 52%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
}

.hero-section .hero-indicators {
  z-index: 3;
}

/* CENTRE ALL THREE PHOTOS ON MOBILE */
@media (max-width: 600px) {
  .hero-section .hero-slide img {
    object-position: center center;
  }
}

/* VEHICLE PHOTO FRAME — ALL SCREEN SIZES */
.vehicle-grid .vehicle-image-button {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #252525;
  box-sizing: border-box;
}

.vehicle-grid .vehicle-image-button img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* TWO VEHICLES PER ROW ON MOBILE */
@media (max-width: 600px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vehicle-grid .vehicle-image-button {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
}
