/* =====================================================
   NEXT LEVEL EXTERIORS — Clean Rebuild v3
   Accent: #00b3e6 | Dark: #1a1e2e | Body bg: #e8edf2
   Fonts: Montserrat (headings), Poppins (body), Oswald (nav)
   ===================================================== */

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

:root {
  --blue:      #00b3e6;
  --blue-dark: #0090b8;
  --blue-hover:#00c8ff;
  --dark:      #1a1e2e;
  --dark-text: #1a2c3d;
  --gray:      #444;
  --banner-bg: #dde3ea;
  --light-bg:  #f5f7fa;
  --white:     #fff;
  --max-w:     1140px;
  --radius:    10px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Poppins', sans-serif; color: var(--dark-text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 30px; }

/* --- Scroll-reveal --- */
.reveal { opacity: 0; transform: translateX(60px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-up { opacity: 0; transform: translateY(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up.visible { opacity: 1; transform: none; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 16px 38px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.4;
}
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }
.btn-lg { font-size: 1.375rem; padding: 19px 44px; }
.btn-upper { text-transform: uppercase; letter-spacing: 1px; }

/* =============================
   HEADER / NAV
   ============================= */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 30px; height: 96px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 68px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 8px; }
.nav-list a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dark-text);
  padding: 8px 18px;
  border-radius: 6px;
  transition: color 0.2s;
}
.nav-list a:hover, .nav-list a.active { color: var(--blue); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--dark-text); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--white); border-top: 1px solid #eee; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--dark-text); padding: 13px 30px; transition: color 0.2s, background 0.2s; }
.mobile-nav a:hover { color: var(--blue); background: var(--light-bg); }

/* =============================
   HOME HERO — full-viewport, parallax bg
   ============================= */
.home-hero {
  position: relative;
  overflow: hidden;
  height: 75vh;
  min-height: 480px;
  max-height: 800px;
  display: flex;
  align-items: center;
}
.home-hero-bg {
  position: absolute;
  /* Extend slightly beyond the container so parallax has room to move */
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
  background-image: linear-gradient(0deg, rgba(0,40,70,0.3), rgba(0,40,70,0.3)), url('../images/brick-wall-pressure-washing-2.jpg');
  background-size: cover;
  background-position: center center;
  will-change: transform;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}
.home-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  max-width: 700px;
  line-height: 1.1;
}
.home-hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-top: 30px;
  max-width: 640px;
}
/* Hero button — blue fill + white border stroke */
.home-hero .btn {
  margin-top: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.25rem;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--white);
}
.home-hero .btn:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/* =============================
   PAGE BANNER (inner pages)
   Light gray bg, big blue title left, body text right
   ============================= */
.page-banner {
  position: relative;
  background-color: var(--banner-bg);
  overflow: hidden;
}
/* Watermark: the logo mark SVG/PNG tiled large behind */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/NextLexelLogomarkwhite20opacity.png');
  background-size: auto 110%;
  background-repeat: no-repeat;
  background-position: 18% center;
  opacity: 0.65;
  pointer-events: none;
}
.page-banner-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 30px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 300px;
}
.page-banner-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 4.5rem;
  color: var(--blue);
  padding-right: 40px;
}
.page-banner-body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark-text);
}

/* Portfolio page — title only, no body text, shorter banner */
.page-banner-portfolio .page-banner-inner { min-height: 200px; padding: 50px 30px; }
.page-banner-portfolio .page-banner-title { font-size: 5rem; }

/* =============================
   HOME FEATURE SECTION
   ============================= */
.feature-section { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 59px 0 54px;
}
.feature-img { padding: 30px; }
.feature-img img { border-radius: var(--radius); width: 100%; height: 495px; object-fit: cover; }
.feature-text { padding: 30px; }
.feature-text h3 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.4; margin: 55px 87px 0 30px; color: var(--dark-text); }
.feature-text p { font-size: 1.125rem; color: var(--gray); margin: 30px 0 0 30px; }
.feature-text .btn { margin: 40px 0 0 30px; font-size: 1.25rem; }

/* =============================
   CTA PARALLAX BANNER
   ============================= */
.cta-parallax {
  position: relative;
  overflow: hidden;
  min-height: 666px;
  display: flex;
  align-items: center;
  padding: 60px 30px;
}
.cta-parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  bottom: -15%;
  background-image: url('../images/men-washing-his-backyard-garden-concrete-path-and-stairs_24531756-3.jpg');
  background-size: cover;
  background-position: center bottom; /* start showing the bottom of the image */
  will-change: transform;
}
.cta-parallax-inner { position: relative; z-index: 1; max-width: var(--max-w); width: 100%; margin: 0 auto; display: flex; justify-content: flex-end; }
.cta-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 60px 50px;
  width: 520px;
  text-align: center;
  /* slide-up reveal — starts hidden, JS adds .cta-visible */
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cta-card.cta-visible {
  opacity: 1;
  transform: translateY(0);
}
.cta-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.25;
  margin: 0 0 20px;
}
.cta-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  color: var(--gray);
  margin: 0 0 28px;
  line-height: 1.6;
}
.cta-card .btn { margin: 0 auto; font-size: 1.125rem; display: inline-block; }

/* =============================
   IMAGE CTA BANNERS
   ============================= */
.img-cta { background-size: cover; background-position: center; text-align: center; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 60px 30px; }
.img-cta-services { background-image: linear-gradient(0deg,rgba(0,0,0,0.05),rgba(0,0,0,0.05)),url('../images/Housewashing3.jpg'); min-height: 597px; }
.img-cta-about    { background-image: linear-gradient(0deg,rgba(0,0,0,0.05),rgba(0,0,0,0.05)),url('../images/CleanRoof.png'); min-height: 514px; }
.img-cta-pastjobs { background-image: linear-gradient(0deg,rgba(0,0,0,0.05),rgba(0,0,0,0.05)),url('../images/residential-concrete-driveway-pressure-washing_44649497.png'); min-height: 385px; }
.img-cta h1 { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 500; color: var(--white); text-shadow: 2px 2px 5px rgba(0,0,0,1); max-width: 763px; margin: 0 auto 25px; }
.img-cta .btn { text-transform: uppercase; letter-spacing: 1px; font-size: 1.5rem; }

/* =============================
   SERVICES CARDS
   ============================= */
.services-section { padding: 16px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: var(--max-w); margin: 0 auto; }
.service-card { padding: 30px; }
.service-card img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.875rem; color: var(--blue); margin: 30px 0 0; }
.service-card p { font-family: 'Poppins', sans-serif; font-size: 1.25rem; color: var(--gray); line-height: 1.1; margin: 15px 0 0; }

/* =============================
   PORTFOLIO — carousel + lightbox
   ============================= */
.gallery-section { background: var(--white); padding-bottom: 0; }
.gallery-intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 50px 30px 20px;
}
.gallery-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--dark-text);
}

/* Carousel track */
.carousel-wrap { position: relative; overflow: hidden; max-width: 100%; margin: 0 0 0 0; }
.carousel-track {
  display: flex;
  gap: 15px;
  padding: 60px 30px 60px;
  transition: transform 0.45s ease;
  cursor: grab;
  user-select: none;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }
.carousel-item {
  flex: 0 0 calc(33.333% - 10px);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.carousel-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #f0f0f0;
  transition: transform 0.35s ease;
  display: block;
  pointer-events: none;
}
.carousel-item:hover img { transform: scale(1.06); }
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-item:hover .carousel-overlay { opacity: 1; }
.carousel-zoom-icon { color: #fff; font-size: 2.5rem; line-height: 1; }

/* Nav arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 30px));
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  font-size: 1.1rem;
}
.carousel-nav:hover { background: var(--blue); }
.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; display: block; }
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--blue); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--blue); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* =============================
   CONTACT PAGE
   ============================= */
.contact-section { background: var(--banner-bg); padding: 61px 0 59px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
  align-items: start;
}
.contact-info { padding: 30px 30px 12px; }
.contact-info h1 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 3rem; color: var(--blue); margin-bottom: 20px; }
.contact-info p { font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 1.125rem; color: var(--dark-text); margin-bottom: 12px; line-height: 1.6; }
.contact-info a { color: var(--blue); font-size: 1.125rem; display: block; margin-bottom: 8px; }
.contact-info a:hover { color: var(--blue-dark); }

.contact-form-wrap { padding: 20px 30px; }
.form-group { margin-bottom: 15px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #c8d4e0;
  border-radius: 5px;
  font-family: 'Barlow Condensed', 'Poppins', sans-serif;
  font-size: 1.125rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,179,230,0.15); }
.form-group textarea { min-height: 200px; resize: vertical; }
.form-submit-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 14px 44px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.form-submit-btn:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* =============================
   THANK YOU
   ============================= */
.thankyou-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 30px; background: var(--light-bg); }
.thankyou-card { background: var(--white); border-top: 4px solid var(--blue); border-radius: var(--radius); box-shadow: 0 6px 32px rgba(0,0,0,0.1); padding: 56px 48px; max-width: 520px; width: 100%; text-align: center; }
.thankyou-check { width: 72px; height: 72px; background: #e0f6fd; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.thankyou-check svg { width: 36px; height: 36px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thankyou-card h1 { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800; text-transform: uppercase; color: var(--dark-text); margin-bottom: 14px; }
.thankyou-card p { color: var(--gray); margin-bottom: 32px; font-size: 1.05rem; }

/* =============================
   FOOTER
   ============================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 30px 0;
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 40px;
  align-items: start;
}
/* Col 1: logo + tagline */
.footer-brand {}
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 240px; }

/* Col 2 & 3: location, contact */
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  display: block;
}
.footer-col a { color: var(--blue); }
.footer-col a:hover { color: var(--blue-hover); }
.footer-col a.footer-phone { color: rgba(255,255,255,0.6); }
.footer-col a.footer-phone:hover { color: var(--blue); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 30px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 40px;
  text-align: center;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1199px) {
  .home-hero h1, .home-hero p { max-width: 100%; }
  .page-banner-title { font-size: 3.75rem; }
  .cta-card { width: 470px; }
  .footer-inner { grid-template-columns: 220px 1fr 1fr; }
}
@media (max-width: 991px) {
  .home-hero h1 { font-size: 3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-img img { height: 360px; }
  .feature-text h3 { margin: 20px 0 0; }
  .feature-text p, .feature-text .btn { margin-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner-inner { grid-template-columns: 1fr; min-height: auto; }
  .page-banner-title { font-size: 3rem; padding-right: 0; margin-bottom: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-parallax-inner { justify-content: center; }
  .cta-card { width: 100%; max-width: 480px; }
  .carousel-item { flex: 0 0 calc(50% - 8px); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-heading { font-size: 1.875rem; }
}
@media (max-width: 767px) {
  .home-hero h1 { font-size: 2.75rem; }
  .home-hero p { font-size: 1.25rem; }
  .img-cta h1 { font-size: 2.25rem; }
  .cta-card h2 { font-size: 1.875rem; }
  .lightbox-prev { left: -40px; }
  .lightbox-next { right: -40px; }
}
@media (max-width: 680px) {
  .hamburger { display: flex; }
  .nav-list { display: none; }
  .home-hero h1 { font-size: 2.25rem; }
  .home-hero p { font-size: 1.125rem; }
  .services-grid { grid-template-columns: 1fr; }
  .carousel-item { flex: 0 0 calc(100% - 0px); }
  .cta-card { padding: 30px 20px; }
  .page-banner-title { font-size: 2.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox-prev { left: 4px; top: auto; bottom: -50px; transform: none; }
  .lightbox-next { right: 4px; top: auto; bottom: -50px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .reveal, .reveal-up { opacity: 1 !important; transform: none !important; }
}
