:root {
  --dark-blue: #13476d;
  --medium-blue: #2d7da8;
  --light-blue: #3a96c0;
  --plain-yellow: #f6b931;
  --light-yellow: #e9e3d7;
}
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--dark-blue);
  font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: var(--dark-blue);
  margin: 0;
}

.page {
  position: relative;
}

.section {
  padding: 10px;
  margin-bottom: 1.5rem;
}

.header__logo {
  width: 80px;
  margin-right: 20px;
  background-color: var(--light-yellow);
}

.header {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: var(--light-yellow);
  z-index: 1;
  font-family: 'Dongle', sans-serif;
}

.nav_mobile {
  display: none;
}

.hero {
  height: 88svh;
  background-image: url('./img/side-of-truck-wide.jpg') , linear-gradient(to top, #13476dee, #2d7da8ee); /* Image and a semi-transparent gradient */;
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__title {
  font-size: 5rem;
  text-align: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  position: relative;
  padding-top: 8rem;
  padding-bottom: 1rem;
  text-shadow: 0px 0px 5px black;
}

.hero__subtitle {
  text-align: center;
  color: white;
  font-size: 1.5rem;
  text-shadow: 0px 0px 5px black;
}

.nav__links {
  display: flex;
  list-style-type: none;
  gap: 2rem;
  font-size: 2rem;
}

.nav_hamburger {
  width: 50px;
}

.hero__cta-buttons {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  background: none;
  border-radius: 5px;
  font-weight: 700;
  border: none;
}

.btn_primary{
  background-color: var(--plain-yellow);
  color: white;
  border: 1px solid white;
}

.btn_secondary {
  background-color: white;
  color: var(--plain-yellow);
  border: 1px solid var(--plain-yellow);
}

.section__title {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
  color: white;
  margin-bottom: 1rem;
}

.why-us__columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style-type: none;
}

.column {
  text-align: center;
  background-color: var(--medium-blue);
  padding: 1rem;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, .4);
  border-radius: 5px;
}

.column__title {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.column__description {
  color: white;
  font-size: 1.15rem;
  line-height: 24px;
}

.why-us__column {
  width: 350px;
}

.services__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  gap: 1rem;
}

.services__service {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--medium-blue);
  color: white;
  border-radius: 5px;
  width: 350px;
  border-radius: 5px;
}

.service__icon {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 350px;
  height: 200px;
  object-fit: cover;
}

.service__button {
  padding: 10px 15px;  
  border: 1px solid var(--light-yellow);
  border-radius: 5px;
  flex-grow: 1;
}

.service__buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  margin-top: auto;
  width: 325px;
  gap: 10px;
}

.service__body {
  padding: 15px;
}

.service__description {
  line-height: 24px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid white;
  box-shadow: 0px 10px 50px #00000050;
}

.gallery__cta {
  padding: 20px 80px;
  border-radius: 5px;
}

.marginTop10__btn{
  margin-top: 10px;
}

.gallery__button-container {
  text-align: center;
  margin: 20px auto;
  margin-top: 10px;
  max-width: 600px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%; /* each slide takes full carousel width */
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev { left: 10px; }
.next { right: 10px; }


.carousel__image {
  width: 350px;
}

.nav__link_active {
  border-bottom: 2px solid var(--dark-blue);
}

.service__text {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer {
  border-top: 1px solid white;
}

/* Contact page */
.contact-hero {
  text-align: center;
  background: linear-gradient( to right, #13476dee, #2d7da8ee );
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
.contact-hero__title {
  color: white;
  font-size: 2.4rem;
  margin: 1rem 0 .25rem;
  font-weight: 700;
}
.contact-hero__subtitle {
  color: var(--light-yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.contact-cards__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--medium-blue);
  color: white;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 28px #00000040;
}
.contact-card__title { font-weight: 700; margin-bottom: .25rem; }
.contact-card__link { color: white; text-decoration: underline; }

.contact-form {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: #ffffff0a;
  border: 1px solid #ffffff33;
  border-radius: 8px;
  padding: 1rem;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.form__field { display: flex; flex-direction: column; }
.form__field label { color: white; font-weight: 600; margin-bottom: .25rem; }
.form__field input,
.form__field textarea,
.form__fieldset input,
.form__fieldset select {
  padding: .75rem .85rem;
  border: 1px solid #ffffff55;
  border-radius: 6px;
  outline: none;
  background: white;
}
.form__field textarea { resize: vertical; }
.form__fieldset { margin: 1rem 0; border: 1px dashed #ffffff55; padding: 1rem; border-radius: 6px; }
.form__fieldset legend { color: white; padding: 0 .5rem; }
.form__checkboxes, .form__radios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem 1rem;
  list-style: none;
  margin: .5rem 0 0;
}
.form__hint { color: var(--light-yellow); margin-top: .25rem; font-size: .95rem; }
.form__actions { display: flex; gap: .75rem; margin: 1rem 0; }
.form__error { color: #ffd2d2; min-height: 1.25rem; font-size: .95rem; }
.form__smallprint { color: #ffffffaa; font-size: .95rem; }
.form__flash { margin-top: .5rem; color: white; font-weight: 600; }

.hp { display: none !important; } /* honeypot */

.form__fieldset {
  color: white;
}
.gallery__link {
  color: white;
  text-decoration: none;
}

@media (max-width: 900px) {
  .contact-cards__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__checkboxes { grid-template-columns: 1fr 1fr; }
}


@media screen and (max-width: 550px) {
 .nav {
  display: none;
 } 
 .nav_mobile {
  display: inline-block;
 }
 .header {
  justify-content: space-between;
 }
 .hero__title {
  font-size: 2.2rem;
 }
 .hero__subtitle {
  font-size: 1rem;
 }

}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background:
    linear-gradient(to right, #13476dee, #2d7da8ee);
  border-top: 1px solid #ffffff66;
  border-bottom: 1px solid #ffffff66;
  padding: 2.5rem 1rem;
  box-shadow: 0 10px 50px #00000033 inset;
}
.cta__title {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: .25rem;
  text-shadow: 0 0 4px #00000066;
}
.cta__subtitle {
  color: var(--light-yellow);
  font-size: 1.1rem;
}
.cta__actions {
  margin-top: 1rem;
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--light-yellow);
  color: var(--dark-blue);
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  padding-top: .5rem;
}
.footer__logo {
  width: 90px;
  background: var(--light-yellow);
  border-radius: 4px;
  display: block;
  box-shadow: 0 1px 4px #0000001f;
  margin-bottom: .5rem;
}
.footer__tagline {
  color: var(--dark-blue);
  font-weight: 600;
}

.footer__heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .25rem;
  color: var(--dark-blue);
}
.footer__links {
  list-style: none;
  display: grid;
  gap: .25rem;
}
.footer__links a {
  color: var(--dark-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer__links a:hover,
.footer__links a:focus {
  border-bottom: 1px solid var(--dark-blue);
}
.footer__text {
  margin: .25rem 0;
}

.footer__bottom {
  border-top: 1px solid #00000022;
  margin-top: 1rem;
  padding-top: .75rem;
  display: grid;
  gap: .25rem;
}
.footer__smallprint {
  color: #1b3350;
  font-size: .95rem;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__logo { width: 80px; }
}

/* ===== About ===== */
.about-hero {
  text-align: center;
  background: linear-gradient(to right, #13476dee, #2d7da8ee);
  border-top: 1px solid #ffffff66;
  border-bottom: 1px solid #ffffff66;
  padding: 2.25rem 1rem 1.5rem;
}
.about-hero__title {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: .25rem;
  text-shadow: 0 0 4px #00000066;
}
.about-hero__subtitle {
  color: var(--light-yellow);
  font-size: 1.05rem;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: start;
}
.about-story__text p {
  color: white;
  line-height: 1.6;
  margin-bottom: .75rem;
}
.about-bullets {
  color: white;
  margin-top: .5rem;
  padding-left: 1rem;
}
.about-bullets li { margin-bottom: .35rem; }

.about-story__media {
  display: grid;
  gap: .75rem;
}
.about-photo {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 36px #00000044;
  border: 1px solid #ffffff30;
  object-fit: cover;
}

.about-values {
  margin-top: .5rem;
}
.about-values__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.about-area__wrap {
  text-align: center;
  background: #ffffff0a;
  border: 1px solid #ffffff22;
  border-radius: 8px;
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.about-area__text {
  color: white;
  margin-top: .35rem;
}
.about-faq .faq {
  background: #ffffff0a;
  border: 1px solid #ffffff33;
  border-radius: 6px;
  padding: .75rem 1rem;
  color: white;
  max-width: 900px;
  margin: .5rem auto;
}
.about-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.about-faq p {
  margin-top: .35rem;
  line-height: 1.6;
  color: white;
}

@media (max-width: 900px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-values__list { grid-template-columns: 1fr; }
}

/* Services hero */
.services-hero {
  text-align: center;
  background: linear-gradient(to right, #13476dee, #2d7da8ee);
  border-top: 1px solid #ffffff66;
  border-bottom: 1px solid #ffffff66;
  padding: 2rem 1rem 1.25rem;
}
.services-hero__title {
  color: white;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: .25rem;
  text-shadow: 0 0 4px #00000066;
}
.services-hero__subtitle { color: var(--light-yellow); }
.services-hero__trust { color: #fff; opacity: .9; margin-top: .35rem; }

.services__service { transition: transform .2s ease, box-shadow .2s ease; }
.services__service:hover { transform: translateY(-2px); box-shadow: 0 12px 36px #00000040; }
.service__button { text-align: center; display: inline-block; }

/* Extra breathing room below services/gallery sections */
.gallery__button-container,
.services .gallery__button-container {
  margin-top: 2rem;   /* space above button */
  margin-bottom: 2rem;
}

.services__list {
  margin-bottom: 1.5rem; /* pushes button away from service cards */
}

.carousel {
  margin-bottom: 1.5rem; /* pushes button away from gallery carousel */
}

/* Side-by-side before/after for Soft Washing card */
.service__image--split {
  display: flex;
  width: 350px;
  height: 200px;
  overflow: hidden;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.service__icon--half {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

/* ===== Gallery (masonry) ===== */
.gallery-page {
  max-width: 1100px;
  margin: 0 auto;
}

.masonry {
  column-count: 3;           /* Masonry columns */
  column-gap: 1rem;
}

.gallery__item {
  break-inside: avoid;       /* Prevent items from breaking between columns */
  -webkit-column-break-inside: avoid;
  margin: 0 0 1rem;          /* Space between items vertically */
  display: inline-block;     /* Required for column layout */
  width: 100%;               /* Item spans column width */
  background: #ffffff0a;
  border: 1px solid #ffffffb9;
  border-radius: 8px;
  box-shadow: 0 10px 32px #00000033;
  overflow: hidden;
}

.gallery__img {
  display: block;
  width: 100%;
  height: auto;              /* Keep natural aspect ratio for mixed sizes */
  object-fit: cover;         /* If you later constrain height, this will crop nicely */
  transition: transform .25s ease;
}

.gallery__item:hover .gallery__img,
.gallery__item:focus-within .gallery__img {
  transform: scale(1.02);
}

.gallery__cap {
  color: white;
  font-size: .95rem;
  padding: .5rem .75rem;
  border-top: 1px solid #ffffff22;
}

/* Responsive columns */
@media (max-width: 1000px) {
  .masonry { column-count: 2; }
}
@media (max-width: 550px) {
  .masonry { column-count: 1; }
}

/* Optional: focus ring for a11y if you later make items clickable */
.gallery__item:focus-within {
  outline: 2px solid var(--plain-yellow);
  outline-offset: 2px;
}

/* Process steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.step { background: #ffffff0a; border: 1px solid #ffffff22; border-radius: 8px; padding: 1rem; }
.step__title { color: white; font-weight: 700; margin-bottom: .25rem; }
.step__text { color: white; line-height: 1.6; }

/* Team cards */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 900px; margin: 0 auto; }
.team-card { background: #ffffff0a; border: 1px solid #ffffff22; border-radius: 8px; padding: 1rem; }
.team-card__name { color: white; font-weight: 700; margin-bottom: .25rem; }
.team-card__text { color: white; line-height: 1.6; }
.about-note { color: #ffffffbb; margin-top: .5rem; text-align: center; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .team  { grid-template-columns: 1fr; }
}

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; display: none; }
.modal[aria-hidden="false"] { display: block; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative;
  top: 10%;
  max-width: 720px; margin: 6vh auto;
  background: var(--light-yellow);
  border-radius: 8px;
  box-shadow: 0 24px 80px #00000080;
  padding: 2.5rem;
}
.modal__close {
  position: absolute; top: .5rem; right: .5rem;
  background: transparent; border: 0; font-size: 1.75rem; line-height: 1;
  cursor: pointer; color: #333;
}
.modal__title { font-size: 1.6rem; margin: 0 2rem .25rem 0; color: #123; }
.modal__lead { color: #234; margin-bottom: .75rem; line-height: 1.55; }

.modal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .75rem 0; }
.modal__h4 { font-weight: 800; margin-bottom: .25rem; color: #123; }
.modal__list { padding-left: 1rem; color: #234; }
.modal__list li { margin: .25rem 0; line-height: 1.45; }

.modal__faq { background: #f7f7fa; border: 1px solid #e9e9f3; border-radius: 6px; padding: .5rem .75rem; }
.modal__faq summary { cursor: pointer; }
.modal__faq p { margin: .35rem 0; color: #234; }

.modal__actions { display: flex; gap: .5rem; margin-top: 1rem; justify-content: flex-end; }
.modal__actions .btn { cursor: pointer; }

/* small screens */
@media (max-width: 600px) {
  .modal__dialog { margin: 4vh 1rem; padding: 1rem; }
  .modal__cols { grid-template-columns: 1fr; }
}

.modal_open {
  background-color: white;
  color: var(--plain-yellow);
  cursor: pointer;
}

/* ===== Mobile Drawer ===== */
.mobile-drawer { 
  position: fixed; inset: 0; z-index: 999; display: none;
}
.mobile-drawer[aria-hidden="false"] { display: block; }
.mobile-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; left: 0;
  background: var(--light-yellow);
  border-bottom: 1px solid #00000022;
  box-shadow: 0 16px 50px #00000040;
  transform: translateY(-100%);
  transition: transform .2s ease;
  padding: .75rem 1rem 1rem;
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer__panel {
  transform: translateY(0);
}
.mobile-drawer__close {
  position: absolute; top: .35rem; right: .5rem;
  background: transparent; border: 0; font-size: 2rem; line-height: 1; cursor: pointer;
  color: var(--dark-blue);
}
.mobile-drawer__links {
  list-style: none; display: grid; gap: .35rem; margin-top: 1.75rem;
}
.mobile-drawer__links a {
  display: block; padding: .75rem .5rem; border-radius: 6px;
  color: var(--dark-blue); text-decoration: none; font-weight: 700;
  border: 1px solid transparent;
}
.mobile-drawer__links a:focus,
.mobile-drawer__links a:hover {
  border-color: var(--dark-blue);
  background: #ffffffaa;
}

/* prevent background scroll when menu open */
.body--lock { overflow: hidden; }

.solar-panel-picture {
  object-position: 0px -350px;
}
