/* =============================================
   HERO SECTION STYLES — AL ASMAR SCHILDERWERK
============================================= */

.hero {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: flex-start;

    /* IMPORTANT: allow feature bar to leave the hero */
    overflow: visible;

    isolation: isolate;
}

/* ---------- BACKGROUND IMAGE ---------- */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--color-charcoal);

    /* Clip ONLY the background image */
    overflow: hidden;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgb(13 13 13 / 76%) 0%, rgb(13 13 13 / 30%) 25%, rgb(13 13 13 / 0%) 50%, rgba(13, 13, 13, 0) 80%);
}

/* ---------- CONTENT ---------- */
/* .hero__content already has the shared .container class, which
   centers it (margin: 0 auto) and applies the same left/right
   padding as .feature-bar__panel. We only add vertical spacing here
   so both stay perfectly aligned within the same 80%-ish inner box. */
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero__content-inner {
  max-width: 650px;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.hero__heading {
  font-weight: 700;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero__heading-white {
  color: var(--color-white);
}

.hero__heading-gold {
  color: var(--color-gold);
  display: inline-block;
}

.br-mobile {
  display: block;
}

.hero__paragraph {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--color-text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ---------- BUTTONS ---------- */
.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-charcoal);
}

.btn--primary:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: rgba(13, 13, 13, 0.35);
  color: var(--color-white);
  border: 1px solid var(--color-border-gold);
}

.btn--secondary:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

/* ---------- TRUST / FEATURE BAR ---------- */
.feature-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    /* Half inside hero / half outside */
    transform: translateY(50%);

    z-index: 10;
}

.feature-bar__panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-item {
  text-align: left;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item__icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-gold);
  flex-shrink: 0;
}

.feature-item__text {
  display: flex;
  flex-direction: column;
}

.feature-item__title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.feature-item__desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* The feature bar panel floats partly below the hero's bottom edge
   (via transform: translateY on .feature-bar) so it visually straddles
   the dark hero and the cream services section with no gap between. */

/* =============================================
   TABLET (768px – 1199px)
============================================= */
@media (min-width: 768px) {
  .br-mobile {
    display: none;
  }

  .hero__content {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .feature-bar__panel {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
  }

  .hero__buttons {
    flex-direction: row;
  }
}

/* =============================================
   DESKTOP (1200px and above)
============================================= */
@media (min-width: 1200px) {
  .hero__content {
    padding-top: clamp(120px, 12vw, 180px);
    padding-bottom: clamp(120px, 12vw, 180px);
  }

  .hero__bg-img {
    object-position: right center;
  }

  .feature-bar__panel {
    grid-template-columns: repeat(4, 1fr);
    padding: 36px 44px;
  }

  .feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 4px;
    right: -22px;
    bottom: 4px;
    width: 1px;
    background-color: rgba(214, 168, 75, 0.18);
  }
}

/* =============================================
   SMALL MOBILE (below 480px)
============================================= */
@media (max-width: 479px) {
  .hero__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgb(13 13 13 / 76%) 0%, rgb(13 13 13 / 30%) 25%, rgb(13 13 13 / 0%) 50%, rgba(13, 13, 13, 0) 80%);
    }

  .hero__content {
    padding-top: 70px;
  }

  .hero__bg-img {
    object-position: 66% center;
  }

  .btn {
    width: 100%;
  }

  .feature-bar__panel {
    padding: 22px 18px;
    gap: 20px;
  }
  
}
@media (max-width: 767px) {
  .hero {
    display: block;
    overflow: visible;
  }

  .feature-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    margin-top: -40px;
    z-index: 10;
  }
}
