/* Proudly Serving: map and dropdown side by side */
.proudly-serving-pair {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: nowrap;
}
.proudly-serving-pair:last-child {
  margin-bottom: 0;
}
.proudly-serving-image iframe {
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 400px;
  height: 300px;
  max-width: 90vw;
  max-height: 67.5vw;
}
.proudly-serving-dropdowns {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 180px;
  max-width: 270px;
}
@media (max-width: 900px) {
  .proudly-serving-pair {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .proudly-serving-image iframe {
    width: 80vw;
    height: 60vw;
    min-width: 120px;
    min-height: 90px;
    max-width: 98vw;
    max-height: 73vw;
  }
  .proudly-serving-dropdowns {
    width: 100%;
    min-width: 0;
    max-width: 400px;
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  .proudly-serving-dropdown {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
/* Proudly Serving: images left, dropdowns right */
.proudly-serving-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}
.proudly-serving-images-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.proudly-serving-dropdowns-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 180px;
  max-width: 270px;
}
@media (max-width: 700px) {
  .proudly-serving-flex {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .proudly-serving-images-col, .proudly-serving-dropdowns-col {
    flex-direction: column;
    align-items: center;
    max-width: 98vw;
    width: 100%;
  }
}
/* Proudly Serving: Pair image and dropdown */
.proudly-serving-pair {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.proudly-serving-pair:last-child {
  margin-bottom: 0;
}
.proudly-serving-image {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 700px) {
  .proudly-serving-pair {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .proudly-serving-image {
    margin-bottom: 0;
    max-width: 98vw;
  }
}
/* Dropdowns for Proudly Serving */
.proudly-serving-dropdowns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 270px;
}
.proudly-serving-dropdown {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(30,144,255,0.07);
  padding: 0 0 0 0;
  border: 1px solid #e0eaf5;
  overflow: hidden;
}
.proudly-serving-dropdown summary {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e90ff;
  padding: 10px 14px;
  cursor: pointer;
  outline: none;
  background: #f4faff;
  border-bottom: 1px solid #e0eaf5;
  transition: background 0.2s;
}
.proudly-serving-dropdown[open] summary {
  background: #e3eef8;
}
.proudly-serving-dropdown ul {
  padding: 10px 18px 10px 22px;
  margin: 0;
}
.proudly-serving-dropdown li {
  font-size: 0.98rem;
  padding: 4px 0 4px 0;
}
@media (max-width: 700px) {
  .proudly-serving-dropdowns {
    max-width: 98vw;
  }
}
/* PROUDLY SERVING SECTION */
.proudly-serving-section {
  background: #e3eef8;
  color: #222;
  padding: 48px 0 40px 0;
}
.proudly-serving-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.proudly-serving-section h2 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -1px;
  color: #1e90ff;
  text-shadow: 0 2px 8px rgba(30,144,255,0.08);
}
.proudly-serving-flex {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.proudly-serving-image {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.proudly-serving-list {
  flex: 1 1 260px;
  list-style: none;
  padding: 0 0 0 0;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proudly-serving-list li {
  padding-left: 1.2em;
  position: relative;
}
.proudly-serving-list li::before {
  content: '\2022';
  color: #1e90ff;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}
@media (max-width: 700px) {
  .proudly-serving-flex {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .proudly-serving-image {
    margin-bottom: 10px;
    flex-basis: 0;
    max-width: 98vw;
  }
  .proudly-serving-image img {
    max-width: 98vw;
    width: 100%;
  }
  .proudly-serving-list {
    font-size: 1rem;
    align-items: center;
  }
}
/* REVIEWS SECTION */
.reviews-section {
  background: #f8fafc;
  color: #222;
  padding: 56px 0 48px 0;
}
.reviews-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.reviews-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -1px;
}
.reviews-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.review-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 28px 24px 20px 24px;
  max-width: 320px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-name {
  font-weight: 700;
  font-size: 1.1rem;
}
.review-stars {
  color: #ffd600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.review-body p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .reviews-grid {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .review-card {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
    padding: 18px 10px 14px 10px;
  }
}
.service-card,
.service-card * {
  text-decoration: none !important;
  color: inherit;
}
.service-card h3 {
  text-decoration: none;
}
/* Card hover overlay and text change */
.service-card {
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.22);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
  border-radius: inherit;
}
.service-card:hover::after {
  opacity: 1;
}
.service-card .service-card-content h3[data-alt] {
  transition: color 0.2s;
}
.service-card:hover .service-card-content h3[data-alt]::after {
  content: attr(data-alt);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 4;
  text-align: center;
  width: 90%;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  display: block;
  padding: 0 6px;
}
.service-card:hover .service-card-content h3[data-alt] {
  color: transparent;
  position: relative;
}
/* SERVICES GRID */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.service-card-long {
  height: 350px;
  border-radius: 22px;
  background: linear-gradient(rgba(0,0,0,0.32),rgba(0,0,0,0.32)), url('/static/images/windows.jpeg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.service-card-row {
  display: flex;
  gap: 24px;
}

@media (max-width: 600px) {
  .service-card-row {
    display: contents;
  }
}
.service-card-small {
  flex: 1;
  height: 250px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.service-card-small.gutters {
    background: linear-gradient(rgba(0,0,0,0.32),rgba(0,0,0,0.32)), url('/static/images/gutters.jpeg') center/cover no-repeat;
}
.service-card-small.fascias {
    background: linear-gradient(rgba(0,0,0,0.32),rgba(0,0,0,0.32)), url('/static/images/fascias.jpeg') center/cover no-repeat;
}
.service-card-small.pressurewashing {
    background: linear-gradient(rgba(0,0,0,0.32),rgba(0,0,0,0.32)), url('/static/images/pressurewashing.jpeg') center/cover no-repeat;
}
.service-card-content {
  color: #fff;
  padding: 24px 28px 18px 28px;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.service-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@media (max-width: 900px) and (min-width: 601px) {
  .services-grid {
    gap: 20px;
  }
  .service-card-row {
    gap: 12px;
  }
  .service-card-long {
    height: 220px;
  }
  .service-card-small {
    height: 150px;
  }
  .service-card-content {
    padding: 18px 18px 12px 18px;
  }
  .service-card h3 {
    font-size: 1.15rem;
  }
}
@media (max-width: 600px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .service-card-long,
  .service-card-small {
    height: 160px;
    min-height: 0;
    border-radius: 14px;
  }
  .service-card-long {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .card-bg-1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .card-bg-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .card-bg-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .service-card-row {
    display: contents;
  }
  .service-card-content {
    padding: 8px 6px 6px 6px;
  }
}
/* SERVICES SECTION */
.services-section {
  background: #fff;
  color: #222;
  padding: 64px 0 48px 0;
}
.services-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.services-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -1px;
}
.mobile-menu-call {
  width: 80%;
  max-width: 320px;
  margin: 18px auto 0 auto;
  font-size: 1.3rem;
  padding: 16px 0;
  justify-content: center;
  display: flex;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mobile-call-btn-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  display: flex;
  justify-content: center;
  width: 100vw;
  pointer-events: auto;
}
.mobile-menu {
  position: relative;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .nav {
    padding: 18px 18px;
    gap: 18px;
    justify-content: center;
  }
  .logo {
    height: 48px;
  }
  .call-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .nav-links {
    gap: 18px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  .nav-links a {
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .hero-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .call-btn:not(.mobile-menu-call),
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
}
/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  margin-left: 18px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #101820ee;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  gap: 32px;
}
.mobile-menu a {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: #59bffe;
}
.close-menu {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1003;
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-overlay {
    display: none;
    opacity: 0;
    pointer-events: none;
  }
}
/* =====================
   RESET & BASE
===================== */

* {
  box-sizing: border-box;
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 4px;
    width: 100%;
  }
  .logo {
    height: 36px;
    max-width: 120px;
  }
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }
  .nav-links a {
    font-size: 12px;
    padding: 0 2px;
    word-break: break-word;
  }
  .call-btn {
    padding: 8px 12px;
    font-size: 12px;
    margin-left: 10px;
  }
}

  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  position: relative;
  z-index: 0;
  min-height: 100vh; /* ensure full height */
}

/* Background image layer with blur */
body::before {
  content: '';
  position: fixed; /* stays in place */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/images/background.jpeg') center / cover no-repeat;
  filter: blur(2px); /* adjust blur level */
  z-index: -1; /* behind text */
  opacity: 0.9; /* optional: darken slightly for contrast */
}

/* Optional overlay to make text pop even more */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* adjust overlay */
  z-index: -1;
}


/* =====================
   HERO BACKGROUND
===================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
}

/* =====================
   NAVBAR
===================== */

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 60px;
  min-height: 96px;
  width: 90%;
  margin: 20px auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  gap: 28px;
}

/* LOGO */
.logo {
  height: 70px;
  width: auto;
  display: block;
}

/* CALL BUTTON */
.call-btn {
  background: #59bffe;
  color: #003333;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s ease;
  margin-left: 100px;
}

.call-btn:hover {
  background: #1e3a5f;
  color: white;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #59bffe;
}

/* =====================
   HERO CONTENT
===================== */

.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 720px;
  width: 100%;
  text-align: left;
  z-index: 1;
}

/* GOOGLE RATING */
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 20px;
}

.rating span {
  opacity: 0.95;
  color: #ffd600;
}

.rating img {
  height: 18px;
}

/* HEADLINE */
.hero-inner h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}

.hero-inner h1 span {
  color: #59bffe;
}

/* SUBTEXT */
.hero-inner p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 42px;
  opacity: 0.95;
}

/* CTA */
.cta {
  display: inline-block;
  background: #59bffe;
  color: #003333;
  padding: 18px 42px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta:hover {
  background: #1e3a5f;
  color: white;
  transform: translateY(-1px);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .hero-inner {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    max-width: 95vw;
    width: 100%;
  }

  .nav {
    padding: 18px 18px;
    width: 98%;
  }
  .logo {
    height: 56px;
  }
  .nav-links a {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    padding: 12px 4px;
  }
  .logo {
    height: 44px;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    margin-left: 0;
  }
  .nav-links a {
    font-size: 14px;
  }
  .hero-inner h1 {
    font-size: 36px;
  }
  .hero-inner {
    left: 50%;
    right: auto;
    max-width: 98vw;
    width: 100%;
    text-align: left;
    transform: translate(-50%, -50%);
  }
  .hero-inner .rating {
    justify-content: flex-start;
  }
  .hero-inner h1,
  .hero-inner p,
  .cta {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 36px;
  }
  .nav {
    width: 100%;
    padding: 8px 2px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .call-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .hero-inner h1 {
    font-size: 28px;
  }
  .hero-inner p {
    font-size: 14px;
  }
}
