/* ============================================
   Site Additions — new sections & SEO cleanup
   Loaded after style.css / bootstrap so rules here win.
   ============================================ */

/* Real hero photo instead of generic stock banner */
.quick-clean-outer {
  background-image: url(../images/quick-clean-car-wash-header.jpg) !important;
  background-position: center !important;
}
.quick-clean-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 29, 74, 0.8) 0%, rgba(2, 29, 74, 0.55) 100%);
  z-index: 0;
}
.quick-clean-outer .container {
  position: relative;
  z-index: 1;
}

/* Hours badge in header */
.header-top-center {
  text-align: center;
}
.hours-badge {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 13px;
}
.hours-badge i {
  margin-right: 6px;
  color: #00a3e0;
}
/* Mobile menu: "Open 24 Hours" gets its own row, matching the phone/email rows above it */
header .nav-item .menu-content ul.navbar-nav .mobile-extra ul li.hours-link {
  margin: 20px 0 0;
}
header .nav-item .menu-content ul.navbar-nav .mobile-extra ul li.hours-link .hours-badge {
  display: flex;
  padding: 0 20px;
}

/* ---------- Real photo gallery ---------- */
.gallery-outer {
  padding: 80px 0;
  background: #f7f9fc;
}
.gallery-outer .heading {
  text-align: center;
  margin-bottom: 40px;
}
.gallery-outer .heading h2 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #023da5;
}
.gallery-outer .heading p {
  font-family: Inter, sans-serif;
  color: #555;
  max-width: 640px;
  margin: 10px auto 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #e3e8f0;
  cursor: pointer;
}
.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}
.gallery-grid figure:hover img {
  transform: scale(1.06);
}
.gallery-grid figure.gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 14, 33, 0.92);
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.gallery-lightbox .lightbox-close,
.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
  position: absolute;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.gallery-lightbox .lightbox-close { top: 24px; right: 24px; }
.gallery-lightbox .lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox .lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover { background: rgba(255,255,255,0.28); }

/* ---------- Service area block (replaces fake "nearby" carousel) ---------- */
.service-area-outer {
  padding: 70px 0;
  background: #023da5;
  color: #fff;
  text-align: center;
}
.service-area-outer h2 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 12px;
}
.service-area-outer p {
  font-family: Inter, sans-serif;
  max-width: 680px;
  margin: 0 auto 30px;
  opacity: 0.9;
}
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-area-list li {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  padding: 10px 22px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.service-area-list li i {
  margin-right: 6px;
  color: #7fd3ff;
}

/* ---------- Redesigned review cards (real reviews, no stock photo) ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 24px rgba(2, 61, 165, 0.08);
  text-align: left;
}
.review-card .stars {
  color: #ffb300;
  margin-bottom: 12px;
  font-size: 14px;
}
.review-card p.review-text {
  font-family: Inter, sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  min-height: 72px;
}
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.review-card .avatar-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #023da5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card .reviewer h5 {
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.review-card .reviewer p {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #888;
  margin: 0;
}
.reviews-cta {
  text-align: center;
  margin-top: 36px;
}
@media (max-width: 991px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---------- Small page hero (Services / About / FAQ) ---------- */
.page-hero {
  background: linear-gradient(180deg, #023da5 0%, #012a72 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero span {
  font-family: Inter, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}
.page-hero h1 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin: 10px 0;
}
.page-hero p {
  font-family: Inter, sans-serif;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ---------- Generic content section used on new pages ---------- */
.content-section {
  padding: 70px 0;
}
.content-section h2 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #023da5;
  margin-bottom: 16px;
}
.content-section p {
  font-family: Inter, sans-serif;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(2, 61, 165, 0.08);
  padding: 30px;
  height: 100%;
}
.service-detail-card h3 {
  font-family: Poppins, sans-serif;
  color: #023da5;
  font-size: 20px;
  margin-bottom: 10px;
}
.service-detail-card p {
  font-family: Inter, sans-serif;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}
.service-detail-card ul {
  margin: 12px 0 0;
  padding: 0;
}
.service-detail-card ul li {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 4px 0;
}
.service-detail-card ul li i {
  color: #00a3e0;
  margin-right: 8px;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e3e8f0;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #023da5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question i {
  transition: transform 0.25s ease;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}
.faq-answer p {
  font-family: Inter, sans-serif;
  color: #444;
  line-height: 1.6;
  padding-bottom: 20px;
}

/* ---------- Pricing tab panels (vanilla JS switcher, no jQuery UI dependency) ---------- */
/* custom.js previously called $("#tabs").tabs() but jquery-ui.js was never loaded on
   this site, so the widget never initialized and tabs 2-4 were unreachable/invisible.
   site-additions.js now drives the same ui-tabs-tab / ui-state-active classes by hand. */
#tabs > div[id^="tabs-"] {
  display: none;
}
#tabs > div#tabs-1 {
  display: block;
}

/* ---------- Embedded Google Map ---------- */
.map-section {
  line-height: 0;
}
.map-section iframe {
  display: block;
  width: 100%;
}

/* ---------- misc fixes ---------- */
.get-direction-btn.btn-outline-light {
  border: 1px solid #fff;
  color: #fff;
}
