/*
 * hero.css
 * ─────────────────────────────────────────────────────────
 * Hero section with house background image, overlay gradient,
 * headline text, CTA buttons, and trust badges.
 *
 * TO CHANGE THE BACKGROUND IMAGE:
 *   Update the url('...') path below to point to your image.
 *   The image lives in the /images/ folder.
 *
 * TO ADJUST HOW MUCH OVERLAY DARKNESS:
 *   Change the rgba opacity values in #hero::before.
 *   Higher values = darker (more readable text).
 *   Lower values  = lighter (more visible photo).
 * ─────────────────────────────────────────────────────────
 */

#hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 90px 20px 200px;
  min-height: 580px;

  /* ── Background house photo ── */
  background: url('../images/Home.png') center bottom / cover no-repeat;
}

/* Dark gradient overlay — keeps text readable, house visible at bottom */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 36, 109, 0.85)  0%,
    rgba(5, 36, 109, 0.70) 40%,
    rgba(5, 36, 109, 0.20) 72%,
    rgba(5, 36, 109, 0.05) 100%
  );
}

/* Content sits above the overlay */
#hero .content {
  position: relative;
  /* z-index: 1; */
  top: -70px; /* Pull content up */
}

/* Headline */
#hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

#hero h1 span {
  color: var(--gold);
}

/* Subtitle */
#hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 28px;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* CTA buttons row */
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  /* position: relative;
  top: 0px; */

}

.hero-phone {
  color: #fff;
  border-color: #fff;
}

/* Trust badges row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge .star {
  color: var(--gold);
  margin-right: 4px;
}
