/* ------------------------- */
/* Global Reset & Base Styles */
/* ------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 50px;
  font-family: 'Poppins', sans-serif;
  background: #f4f6fb;
  color: #333;
}

/* ------------------------- */
/* Navigation Bar */
/* ------------------------- */
.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  background-color: darkblue;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-links {
  display: flex;
}

.nav-links a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  display: inline-block;
  transition: 0.3s ease;
}

.topnav a.active {
  color: white;
  border-bottom: 3px solid white;
  padding-bottom: 4px;
  font-weight: bold;
  transition: 0.3s ease;
}

.topnav a:hover {
  background-color: #e0e0e0;
  color: #000;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 70px;
  margin-right: 10px;
}

/* ------------------------- */
/* Banner Section */
/* ------------------------- */
.banner {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ------------------------- */
/* Welcome Section */
/* ------------------------- */
.welcome-section {
  max-width: 850px;
  margin: 60px auto;
  text-align: center;
  line-height: 1.8;
  color: #333;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.welcome-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #002366;
}

.welcome-section p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 20px;
}

.welcome-section p strong {
  color: #002366;
}

/* ------------------------- */
/* Services Section */
/* ------------------------- */
.services-section {
  text-align: center;
  padding: 50px 20px;
}

.services-section h1 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #e6f0ff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* ------------------------- */
/* Deal Section */
/* ------------------------- */
.deal-section {
  background: #f4f6fb;
  padding: 60px 20px;
}

.deal-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.deal-coupon {
  flex: 1 1 25%; /* make it narrower */
  text-align: center;
  background: white;
  border: 2px dashed #ffd700; /* slightly thinner border */
  border-radius: 10px;
  padding: 25px 15px; /* reduce padding */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #002366;
  max-width: 320px; /* prevents it from stretching too wide */
  margin: 0 auto; /* keeps it centered */
}

.deal-coupon h1 {
  font-size: 2.2rem; /* smaller */
  font-weight: 700;
  margin: 0;
  color: #002366;
}

.deal-coupon h2 {
  font-size: 1.3rem; /* smaller */
  font-weight: 600;
  margin: 8px 0 15px;
}

.deal-coupon .station {
  font-size: 1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: bold;
}

.deal-coupon p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.deal-coupon .hours {
  margin-top: 15px;
  font-size: 1rem;
  color: #444;
}

/* ------------------------- */
/* Contact Page */
/* ------------------------- */
.contact-page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

.contact-page h1 {
  font-size: 2.5rem;
  color: #002366;
  margin-bottom: 10px;
}

.contact-page .intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 45%;
  text-align: left;
}

.contact-info h2 {
  color: #002366;
  margin-bottom: 8px;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-info a {
  color: #002366;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-container {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.contact-form {
  flex: 1 1 45%;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.contact-form h2 {
  color: #002366;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #002366;
  box-shadow: 0 0 6px rgba(0,35,102,0.2);
}

.contact-form button {
  margin-top: 20px;
  background: #002366;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #ffd700;
  color: #000;
}

/* ------------------------- */
/* Footer */
/* ------------------------- */
.site-footer {
  background: #002366;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 60px;
}
.home-footer {
  margin-top: 0;   /* removes the gap ONLY on the homepage */
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 10px 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons a {
  margin-right: 10px;
  display: inline-block;
}

.social-icons img {
  height: 30px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}



/* ------------------------- */
/* Responsive */
/* ------------------------- */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
  .deal-container {
    flex-direction: column;
    text-align: center;
  }
  .deal-info,
  .deal-coupon {
    flex: 1 1 100%;
  }
}

.about-section {
  background-color: #f9f9f9;   /* subtle contrast */
  padding: 60px 20px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;   /* makes it responsive */
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.about-info {
  flex: 1;
  min-width: 300px;
}

.about-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.about-info p {
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #555;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}
.hours-section {
  background-color: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 0;
}

.hours-container {
  max-width: 800px;
  margin: 0 auto;
}

.hours-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.hours-list li {
  margin: 8px 0;
}

.note {
  font-size: 0.95rem;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}
.reviews-section {
  background: linear-gradient(135deg, #004aad, #0073e6); /* Auto blue gradient */
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.reviews-container {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-container h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.reviews-container p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.reviews-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: white;
  color: #004aad;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.reviews-button:hover {
  background-color: #f1f1f1;
  transform: scale(1.05);
}
.smog-info {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.smog-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.smog-container h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}

.smog-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.smog-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.point h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #004aad;
}

.point p {
  font-size: 1rem;
  color: #444;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.certifications img {
  max-width: 150px;
  height: auto;
  background: white;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}
.rv-center {
  grid-column: 1 / -1;  /* pushes to its own row */
  text-align: center;
  justify-self: center; /* centers the block itself */
  max-width: 600px;     /* optional: keeps it from stretching too wide */
}
/* ------------------------- */
/* Clean Truck Check Section */
/* ------------------------- */
.truck-info {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.truck-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.truck-container h1 {
  font-size: 2.4rem;
  color: #002366;
  margin-bottom: 20px;
}

.truck-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 40px;
}

.truck-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.point {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.point h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #004aad;
}

.point p {
  font-size: 1rem;
  color: #555;
}

.certifications {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.certifications img {
  max-width: 300px;   /* bigger than before */
  height: auto;
  background: white;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Combined box spacing */
.point.combined h3 {
  margin-top: 20px;
}

.point.combined {
  position: relative;   /* anchors the logo inside */
}

.logo-bottom {
  position: absolute;
  bottom: 15px;
  right: 20px;
}

.logo-bottom img {
  max-width: 140px;
  height: auto;
  display: block;
  pointer-events: none;   /* prevents hover glitches */
}
.smog-pricing ul {
  margin: 0;              /* removes top/bottom extra spacing */
  padding-left: 20px;     /* adjust indentation */
  list-style-type: disc;  /* keep normal bullets */
}

.smog-pricing li {
  margin: 4px 0;          /* tighter spacing between items */
}
.smog-pricing p {
  margin: 0 0 5px;   /* no top margin, only a tiny 5px bottom gap */
}
.rating-image {
  margin: 20px 0;
}

.rating-image img {
  max-width: 220px; /* or smaller if needed */
  height: auto;
  display: block;
  margin: 0 auto;
}