:root {
  --max-width: 1100px;
  --gap: 1rem;
  --color-bg: #ffffff;
  --color-text: #1b1b1b;
  --color-accent: #003d66; /* chosen accent—adjust to brand */
  --radius: 8px;
  --container-pad: 1rem;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}

/* Reset-ish */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem;
  background: #000;
  color: #fff;
  z-index: 9999;
}

/* Header */
.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  gap: var(--gap);
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand img {
  display: block;
  height: auto;
}

/* nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  background: none;
  border: 0;
  padding: 0.25rem 0;
}

.nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-list.open {
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 0.5rem;
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 500;
}

.nav-list li a:hover {
  background-color: #ff6600;
  color: #fff;
  border-radius: 6px;
}

/* CTA */
.call-btn {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--color-accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f7fbff, white);
}

.hero-inner {
  text-align: center;
  padding: 1rem 0;
}

.hero h1 {
  font-size: 1.5rem;
  margin: 0.25rem 0;
}

.lead {
  color: #555;
  margin-bottom: 1rem;
}

.hero-ctas {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--color-accent);
  color: #fff;
  align-items: center;
  cursor: pointer;
  transition: color 0.4s;
}

.btn.primary:hover {
  background-color: #3eaeca;
}

.btn.ghost {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Reviews */
.reviews {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 60rem;
  width: 100%;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 1.5rem;
  background: #f5f5f5;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn.prev {
  left: -10px;
}

.carousel-btn.next {
  right: -10px;
}

.carousel-btn:hover {
  background: #000000e6;
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background: var(--color-accent);
}

/* Inventory */
.inventory {
  display: grid;
  padding: 1rem 0;
  justify-content: center;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 0.75rem;
}

.card-title {
  margin: 0.25rem 0;
  font-size: 1.05rem;
}

.meta {
  color: #666;
  font-size: 0.95rem;
}

.price {
  margin-top: 0.5rem;
  font-size: 1.2rem; /* bigger than meta */
  font-weight: bold;
}

.price .was {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
}

.price .now {
  color: #228b22; /* red for emphasis */
  font-size: 1.3rem;
}

/* Google Maps Embed*/
iframe {
  width: 300px;
  height: 300px;
}

/* Contact */
.contact {
  display: grid;
  padding: 1.5rem 0;
  justify-content: center;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* About Team*/
.team {
  padding: 2rem 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.team .lead {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}

.team-member {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-member-info {
  text-align: center;
}

.team-member-info h3 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.team-member-info .role {
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.team-member-photo img {
  width: 100%;
  max-width: 250px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  padding: 1rem 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

/* Vehicle Detail page */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-main img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.gallery-thumbs img {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-thumbs img:hover {
  transform: scale(1.1);
}

.specs {
  margin: 1.5rem 0;
  border-collapse: collapse;
  width: 100%;
}

.specs td {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.specs td:first-child {
  font-weight: 600;
  width: 35%;
}

.features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem;
}

.features li::before {
  content: "✔ ";
  color: green;
}

.vehicle-ctas {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.bbb-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bbb-seal a {
  text-decoration: none;
}

.bbb-seal img {
  height: 10rem; /* fixed height */
  width: auto;
}

.bbb-seal span {
  display: block;
  color: #015a75;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

/* Tablet adjustments */
@media screen and (min-width: 600px) and (max-width: 900px) {
  /* Hero section */
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-ctas {
    flex-direction: row;
    gap: 0.75rem;
  }

  /* Inventory cards grid */
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-body {
    padding: 0.75rem;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  iframe {
    width: 100%;
    height: 300px;
  }

  /* Navigation tweaks */
  .nav-list {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .nav-list li {
    margin-left: 0.5rem;
  }

  .nav-list li a {
    padding: 0.4rem 0.8rem;
  }
}

/* Larger screens */
@media screen and (min-width: 901px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 2rem;
  }

  .nav-list li {
    margin-left: 1.5rem;
  }

  .nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
  }

  .nav-list li a:hover {
    background-color: #ff6600; /* fire-orange accent */
  }

  .inventory {
    justify-content: left;
  }

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

  iframe {
    width: 30rem;
    height: 30rem;
  }

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

  .team-member {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }

  .team-member-info {
    flex: 1;
  }

  .team-member-photo img {
    max-width: 200px;
  }
}
