/*************************************************************
 * SERVICE AREA PAGE SPECIFIC STYLES
 *************************************************************/

/* -- BANNER & FLOATING BOX -- */

.service-area-hero {
  position: relative;
  width: 100%;
  margin-bottom: 20px; /* gap below hero on desktop */
  display: flex;
  flex-direction: column;
}
.hero-banner {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.banner-image {
  display: block;
  width: 70%;
  height: auto;
  object-fit: cover;
  margin-left: auto;
}

/* The floating box contains the header text and CTA buttons.
   On desktop it overlays the banner; on mobile it becomes a block below the banner. */
.service-area-floating-box {
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  width: auto;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 35px 30px;
  border-radius: 8px;
}

/* Larger box text */
.service-area-heading {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: #072B59;
  margin-bottom: 12px;
}
.service-area-subtitle {
  font-size: 24px;
  line-height: 1.5em;
  font-weight: 500;
  color: #072B59;
  margin-bottom: 40px;
}
.service-area-subtitle i {
  font-style: normal;
  font-weight: 600;
  color: #072B59;
}

/* CTA Buttons (used in the hero and reused in the new section) */
.service-area-cta-buttons {
  display: flex;
  gap: 20px;
  min-width: fit-content;
}
.hero-button {
  display: flex;
  align-items: stretch;
  height: 60px;
  width: 240px;
  overflow: hidden;
  text-decoration: none;
  margin-top: 0;
}
.icon-part-red {
  background-color: #F2AC29;
  color: #072B59;
  width: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 3em;
  border-bottom-left-radius: 3em;
  padding-left: 7px;
  margin-bottom: 10px;
}
.text-part-blue {
  background-image: linear-gradient(to bottom, #072B59, #063573);
  color: white;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: bold;
  border-top-right-radius: 3em;
  border-bottom-right-radius: 3em;
  margin-bottom: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
}
.hero-button .icon-part-red i {
  font-size: 24px;
}
.hero-button:hover .text-part-blue {
  filter: brightness(115%);
}
.hero-button:hover .icon-part-red {
  filter: brightness(90%);
}

/* Google rating snippet */
.service-area-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.google-icon {
  width: 38px;
  height: auto;
}
.rating-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  color: #222;
}
.rating-score {
  font-weight: 700;
  font-size: 18px;
  margin-right: 5px;
  color: #333;
}
.rating-stars {
  color: #FFB600;
  font-size: 18px;
  margin-bottom: 2px;
}
.rating-details {
  font-size: 14px;
  color: #555;
}

/* -- MAP & CITY LIST -- */

.service-area-section {
  width: 100%;
  padding: 30px 2%;
  background-color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* Centered h2 title for service area section */
.service-area-heading2 {
  font-size: 32px;
  color: #072B59;
  margin-bottom: 40px;
  text-align: center;
}

.service-area-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}
.service-area-text-block,
.service-area-map-block {
  flex: 1 1 45%;
}
.service-area-map-block {
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.service-area-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  transform: scale(1.8);
  transform-origin: center center;
  cursor: zoom-in;
  border-radius: 8px;
}
.service-area-subtext {
  font-size: 17px;
  margin-bottom: 30px;
  color: #333;
}
.two-column-list {
  columns: 2 auto;
  column-gap: 20px;
  margin: 10px 0;
}
.two-column-list li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
/* Use CSS-generated chevrons for the cities list */
.service-area-list li::before {
  content: '>';
  color: #F2AC29;
  margin-right: 8px;
}
.service-area-closing {
  font-size: 17px;
  color: #333;
  margin-top: 10px;
}

/* -- WHY OVERS0N AC & HEATING? -- */
.why-choose-section {
  background-image: linear-gradient(to bottom, #072B59, #063573);
  padding: clamp(1.5rem, 4vw, 4rem) 1rem;
  margin-top: 40px;
  color: #fff;
}
.why-choose-header-centered {
  text-align: center;
  margin-bottom: 2rem;
}
.why-choose-title-centered {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.why-choose-subtitle-centered {
  font-size: 1.25rem;
  color: #fff;
  max-width: 700px;
  line-height: 1.5;
  margin: 0 auto 2rem;
}
.why-choose-container.flex-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.why-choose-image-wrap {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.why-choose-image {
  width: 100%;
  max-width: 500px;
  border-radius: 6px;
  object-fit: cover;
}
.why-choose-text-wrap {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin: 0 auto;
}
.why-choose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  line-height: 1.5;
}
.feature-icon {
  color: #fff;
  margin-right: 15px;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  top: 0.26rem;
}
.feature-text strong {
  font-weight: 700;
}
.why-choose-cta-wrap {
  text-align: center;
  margin-top: 2rem;
}
.why-choose-cta-button {
  background-color: #c71f19;
  color: #fff;
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 3em;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.why-choose-cta-button:hover {
  background-color: #a51c16;
}

/* -- CONTACT FORM STYLES -- */
.hvac-custom-wrapper {
  width: 100%;
  background-color: #1d3968;
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif;
}
.hvac-custom-section {
  max-width: 1300px;
  margin: 0 auto;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
/* Removed the Contact Us heading rule */

/* The rest of the contact form styles remain unchanged */
.hvac-custom-intro {
  margin-bottom: 30px;
  font-size: 1.2rem;
  line-height: 1.4;
}
.hvac-custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hvac-custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.hvac-custom-field {
  flex: 1 1 300px;
  min-width: 220px;
  text-align: left;
}
.hvac-custom-section label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  font-size: 1rem;
}
.hvac-custom-section input[type="text"],
.hvac-custom-section input[type="tel"],
.hvac-custom-section input[type="email"],
.hvac-custom-section select,
.hvac-custom-section textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  box-sizing: border-box;
}
.hvac-custom-section input:focus,
.hvac-custom-section select:focus,
.hvac-custom-section textarea:focus {
  outline: 2px solid #c71f19;
}
.hvac-custom-submit-btn {
  background-color: #c71f19;
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  align-self: center;
  min-width: 150px;
}
.hvac-custom-submit-btn:hover {
  background-color: #a51c16;
}

/*************************************************************
 * RESPONSIVE TWEAKS
 *************************************************************/

@media screen and (max-width: 1230px) {
  .service-area-hero {
    flex-direction: column;

    margin-bottom: 20px;
  }
  .hero-banner {
    display: none;
  }
  .hero-banner .banner-image {
    display: none;
  }
  .service-area-floating-box {
    position: static;
    transform: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
    background: transparent;
    box-shadow: none;
    text-align: center;
    background-repeat: no-repeat;
    background-image: url('/images/family-with-dog-tablet.webp');
    background-size: 100%;
    background-position: 100% 0%;
    background-color: rgba(255, 255, 255);
    border-radius: 0;
  }
  .service-area-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  .service-area-heading {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: 2%;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  }
  .service-area-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  }
  .service-area-subtitle i {
  font-style: normal;
  font-weight: 700;
  color: white;
}

}

@media (max-width: 912px) {
  .two-column-list li{
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .service-area-hero {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .hero-banner {
    display: none;
  }
  .hero-banner .banner-image {
    display: none;
  }
  .service-area-floating-box {
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    margin: 20px auto;
      aspect-ratio: 635 / 784; /* or simplified: 127 / 157 */
  width: 100%;
  height: auto;
    background: transparent;
    box-shadow: none;
    padding: 10px;
    text-align: center;
    background-repeat: no-repeat;
    background-image: url('/images/family-with-dog-mobile.webp');
    background-size: 100%;
    background-position: top 50%;
    background-color: rgba(0, 0, 0, 0.25);
    justify-content: center;
  }
  .service-area-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .service-area-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .service-area-cta-buttons {
    flex-direction: column;
    display: flex;
    gap: 10px;
    align-self: center;
    width: 45%;
    min-width: fit-content;
  }
  .hero-button {
    width: 100%;
    margin: 0 auto;
  }
  .service-area-container {
    flex-direction: column;
  }
  .service-area-text-block {
    order: 1;
  }
  .service-area-map-block {
    order: 2;
    margin-top: 20px;
  }
  
  .two-column-list li{
    margin-bottom: 11px;
  }
}

@media (max-width: 355px) {
  .two-column-list{
    columns: 1;
  }
}

@media (max-width: 480px) {
  .service-area-floating-box {
    margin: 15px auto;
    padding: 10px;
  }
  .service-area-heading {
    font-size: 32px;
  }
  .nav-button {
    font-size: 14px;
    padding: 10px 14px;
  }
  .rating-score,
  .rating-stars {
    font-size: 16px;
  }
}

/* NEW CTA Section Styles */
.cta-section {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.cta-title {
  color: #1d3968;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  padding-top: 20px; /* extra vertical padding */
}
.cta-subtitle {
  color: #1d3968;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 20px;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 40px; /* reduced horizontal spacing between buttons */
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 20px;
  }
  .cta-buttons a.hero-button {
    width: 240px;
  }
}
