/* ============================================
   UNIQUE CARWASH — Styles
   Aesthetic: Clean, premium, light blue
   ============================================ */

:root {
  /* Brand colours — Light Blue Theme */
  --blue: #1a8fb5;
  --blue-deep: #0d5f7a;
  --blue-dark: #0a4a5e;
  --blue-light: #4db8d6;
  --blue-pale: #e8f4f8;
  --blue-glow: rgba(77, 184, 214, 0.15);
  --accent: #1a8fb5;
  --accent-light: #5ecde8;
  --white: #ffffff;
  --off-white: #f6fafb;
  --cream: #f0f7f9;
  --grey-100: #e8f0f2;
  --grey-200: #d1dfe3;
  --grey-400: #8a9fa6;
  --grey-600: #5c7680;
  --grey-800: #2a3d44;
  --text: #1e2d33;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container: min(1200px, 90vw);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}

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

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

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--blue-dark);
  max-width: 600px;
}

.section-title em {
  font-style: italic;
  font-family: Georgia, serif;
  font-weight: 500;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn--primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 143, 181, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--grey-200);
  font-size: 14px;
  padding: 10px 24px;
}

.btn--outline:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.btn--large {
  font-size: 17px;
  padding: 18px 40px;
}

/* ---- Promo Bar ---- */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, #e63946, #ff006e);
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 2px 12px rgba(230, 57, 70, 0.4);
  transition: transform 0.4s var(--ease-smooth);
  /* Safety net — never allow the bar to grow to 2 lines */
  white-space: nowrap;
  overflow: hidden;
}

.promo-bar__text--mobile {
  display: none;
}

.promo-bar__inner {
  width: var(--container);
  margin: 0 auto;
}

.promo-bar__text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-bar__text strong {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-smooth);
}

.nav--scrolled {
  background: rgba(18, 26, 30, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
}

.nav__logo-icon {
  color: var(--blue-light);
  font-size: 18px;
}

.nav__logo-sub {
  font-weight: 400;
  font-size: 18px;
  opacity: 0.7;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  background: var(--blue-light) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease-smooth) !important;
}

.nav__cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 1px;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #111618;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 20, 22, 0.35) 0%,
    rgba(15, 20, 22, 0.55) 50%,
    rgba(15, 20, 22, 0.9) 100%
  );
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  text-align: center;
  padding: 120px 0 80px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}

.hero__title--accent {
  color: var(--blue-light);
  display: block;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.5vw, 21px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollPulse 2s ease infinite;
}


/* ---- Services ---- */

.services {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.services__inner {
  width: var(--container);
  margin: 0 auto;
}

.services__header {
  margin-bottom: 60px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.4s var(--ease-smooth);
}

.service-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 12px 40px rgba(26, 143, 181, 0.08);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--white), var(--blue-glow));
}

.service-card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 0 0 6px 6px;
}

.service-card__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.service-card__tier {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
}

.service-card__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-dark);
}

.service-card__desc {
  font-size: 15px;
  color: var(--grey-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-card__footer {
  padding-top: 20px;
  border-top: 1px solid var(--grey-100);
}

.service-card__time {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services__note {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-600);
  padding: 16px 28px;
  background: var(--blue-glow);
  border-radius: 8px;
  display: inline-block;
  width: 100%;
}

/* ---- Facility Section ---- */

.facility {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.facility__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.facility__photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 74, 94, 0.15);
}

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

.facility__desc {
  font-size: 17px;
  color: var(--grey-600);
  line-height: 1.7;
  margin: 24px 0 32px;
}

/* ---- Reviews Carousel ---- */

.reviews {
  padding: var(--section-pad) 0 60px;
  background: var(--cream);
  overflow: hidden;
}

.reviews__header {
  width: var(--container);
  margin: 0 auto 48px;
}

.reviews__carousel {
  overflow: hidden;
  padding: 10px 0 20px;
}

.reviews__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsScroll 60s linear infinite;
}

.reviews__track:hover {
  animation-play-state: paused;
}

.review-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 28px 28px 24px;
  transition: all 0.3s var(--ease-smooth);
}

.review-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 8px 30px rgba(26, 143, 181, 0.08);
  transform: translateY(-3px);
}

.review-card__stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card__quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-800);
  margin-bottom: 16px;
  font-style: italic;
}

.review-card__author {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
}

@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Car Wash Animation ---- */

.wash-animation {
  padding: 60px 0;
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

.wash-animation__inner {
  width: var(--container);
  margin: 0 auto;
}

.wash-svg {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.wash-animation__caption {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 20px;
}

/* ---- Location with Map ---- */

.location {
  padding: var(--section-pad) 0;
  background: var(--blue-dark);
}

.location__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.location .section-title {
  color: var(--white);
  margin-bottom: 32px;
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.location__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.location__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.location__hours-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-light);
  display: block;
  margin-bottom: 12px;
}

/* Hours Table */
.hours-table {
  border-collapse: collapse;
  font-family: var(--font-display);
  font-size: 15px;
}

.hours-table td {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.75);
}

.hours-table td:first-child {
  padding-right: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hours-table--contact {
  margin-top: 4px;
}

.hours-table--contact td {
  color: var(--grey-600);
}

.hours-table--contact td:first-child {
  color: var(--blue-dark);
}

.location__map {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.location__map iframe {
  display: block;
}

/* ---- CTA Banner ---- */

.cta {
  padding: var(--section-pad) 0;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '◆';
  position: absolute;
  font-size: 400px;
  color: var(--blue);
  opacity: 0.04;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.cta__inner {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.cta__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 19px;
  color: var(--grey-600);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__note {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--grey-400);
}

/* ---- Contact ---- */

.contact {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.contact__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__method-label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  margin-bottom: 4px;
}

.contact__method-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--blue-dark);
}

.contact__cta-box {
  background: var(--blue-dark);
  border-radius: 16px;
  padding: 48px;
  color: var(--white);
}

.contact__cta-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact__cta-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ---- Footer ---- */

.footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 40px;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.footer__brand {
  margin-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}

.footer__tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col a {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom p {
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- Animations ---- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .contact__inner,
  .location__inner,
  .facility__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location__map {
    height: 300px;
  }

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


  .footer__links {
    flex-direction: column;
    gap: 32px;
  }

  .facility__photo img {
    height: 280px;
  }

  .review-card {
    width: 280px;
  }
}

@media (max-width: 700px) {
  /* Promo bar — single line, smaller text */
  .promo-bar {
    padding: 8px 12px;
  }

  .promo-bar__text--desktop {
    display: none;
  }

  .promo-bar__text--mobile {
    display: inline;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .promo-bar__text--mobile strong {
    font-size: 14px;
  }

  /* Nav — sits below promo bar, doesn't overlap */
  .nav {
    top: 36px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 26, 30, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 40px;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__links a {
    font-size: 22px;
    color: var(--white);
  }

  .nav__cta {
    font-size: 18px !important;
    padding: 12px 28px !important;
  }

  .nav__burger {
    display: flex;
    z-index: 101;
  }

  .nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__content {
    padding: 120px 0 60px;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Services grid single column */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* CTA section */
  .cta__subtitle {
    font-size: 16px;
  }

  /* Contact single column */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__cta-box {
    padding: 32px 24px;
  }

  /* Footer */
  .footer__links {
    flex-direction: column;
    gap: 24px;
  }

  /* Section titles smaller on mobile */
  .section-title {
    font-size: clamp(26px, 7vw, 40px);
  }
}
