/* ======================================
   HERO BASE (USED BY ALL PAGES)
====================================== */

.testimonials-hero,
.listings-hero,
.sales-hero,
.videos-hero,
.about-hero,
.worth-hero,
.contact-hero {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;

  /* background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* force identical layout for all pages */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ======================================
   50% BLACK OVERLAY
====================================== */

.testimonials-hero::before,
.listings-hero::before,
.sales-hero::before,
.videos-hero::before,
.about-hero::before,
.worth-hero::before,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ======================================
   CONTENT ABOVE OVERLAY
====================================== */

.testimonials-hero > *,
.listings-hero > *,
.sales-hero > *,
.videos-hero > *,
.about-hero > *,
.worth-hero > *,
.contact-hero > * {
  position: relative;
  z-index: 2;
}

/* ======================================
   HERO TEXT STYLING
====================================== */

.testimonials-hero h1,
.listings-hero h1,
.sales-hero h1,
.videos-hero h1,
.about-hero h1,
.worth-hero h1,
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: playfair display, serif;
}

.testimonials-hero p,
.listings-hero p,
.sales-hero p,
.videos-hero p,
.about-hero p,
.worth-hero p,
.contact-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
}

/* ======================================
   PAGE-WISE LOCAL BACKGROUND IMAGES
   (DUMMY IMAGES FOR NOW)
====================================== */

.testimonials-hero {
  background-image: url("../images/hero-testimonials.webp");
}

.listings-hero {
  background-image: url("../images/hero-listings.webp");
}

.sales-hero {
  background-image: url("../images/hero-sales.webp");
}

.videos-hero {
  background-image: url("../images/hero-videos.webp");
}

.worth-hero {
  background-image: url("../images/hero-worth.webp");
}

.about-hero {
  background: #54595F;
}

.contact-hero {
  background: #54595F;
}

/* ======================================
   RESPONSIVE (MOBILE FIXED)
====================================== */

@media (max-width: 600px) {
  .testimonials-hero,
  .listings-hero,
  .sales-hero,
  .videos-hero,
  .about-hero,
  .worth-hero,
  .contact-hero {
    padding: 60px 10px;
  }

  .testimonials-hero h1,
  .listings-hero h1,
  .sales-hero h1,
  .videos-hero h1,
  .about-hero h1,
  .worth-hero h1,
  .contact-hero h1 {
   font-size: 20px;
  }

  .testimonials-hero p,
  .listings-hero p,
  .sales-hero p,
  .videos-hero p,
  .about-hero p,
  .worth-hero p,
  .contact-hero p {
    font-size: 9px;
  }
}
