/* =========================================
   BUSH BAGS - HOMEPAGE HERO
========================================= */

.bb-hero {
  position: relative;
  isolation: isolate;
  width: var(--bb-container);
  min-height: 660px;
  margin: 28px auto 40px;
  overflow: hidden;
  border-radius: 24px;
  background: #75694d;
  color: #fff;
}

/* BACKGROUND IMAGE */

.bb-hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-color: #75694d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bb-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0%) 35%,
    rgb(0 0 0 / 12%) 58%,
    rgb(0 0 0 / 42%) 100%
  );
  pointer-events: none;
}

/* EYEBROW */

.bb-hero-eyebrow {
  position: absolute;
  top: 9%;
  left: 36%;
  width: 55%;
  color: #111;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 500;
}

/* MAIN HEADING */

.bb-hero-heading {
  position: absolute;
  top: 16%;
  left: 36%;
  width: 57%;
}

.bb-hero-heading h1 {
  margin: 0;
  color: #050505;
  font-size: clamp(38px, 4.7vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}

/* Second line of the hero heading */
.bb-hero-heading h1 span {
  display: block;
  font-size: 100px;
}

/* SUPPORTING COPY AND BUTTONS */

.bb-hero-actions {
  position: absolute;
  right: 7%;
  bottom: 21%;
  width: 58%;
}

.bb-hero-copy {
  max-width: 570px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(14px, 1.4vw, 19px);
  line-height: 1.45;
}

.bb-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.bb-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 215px;
  min-height: 42px;
  padding: 10px 24px;
  border: 2px solid #514b35;
  border-radius: 10px;
  box-shadow: 2px 3px 0 rgb(0 0 0 / 55%);
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.bb-hero-button-primary {
  background: #a09a60;
  color: #fff;
}

.bb-hero-button-primary:hover {
  background: #89834e;
  color: #fff;
}

.bb-hero-button-secondary {
  background: #a09a60;
  color: #fff;
}

.bb-hero-button-secondary:hover {
  background: #89834e;
  color: #fff;
}

/* BOTTOM TAGLINE */

.bb-hero-tagline {
  position: absolute;
  right: 3%;
  bottom: 22px;
  left: 3%;
  margin: 0;
  color: #fff;
  font-size: clamp(11px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* TABLET */

@media (max-width: 900px) {
  .bb-hero {
    min-height: 560px;
    border-radius: 18px;
  }

  .bb-hero-eyebrow {
    top: 8%;
    left: 34%;
    width: 62%;
  }

  .bb-hero-heading {
    top: 16%;
    left: 34%;
    width: 62%;
  }

  .bb-hero-heading h1 {
    font-size: clamp(34px, 5.5vw, 50px);
  }

  .bb-hero-actions {
    right: 5%;
    bottom: 19%;
    width: 61%;
  }

  .bb-hero-buttons {
    gap: 12px;
  }

  .bb-hero-button {
    min-width: 170px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .bb-hero {
    width: calc(100% - 24px);
    min-height: 680px;
    margin: 16px auto 28px;
    border-radius: 16px;
  }

  .bb-hero-background {
    background-position: 34% center;
  }

  .bb-hero::after {
    background: linear-gradient(
      to bottom,
      rgb(255 255 255 / 35%) 0%,
      rgb(255 255 255 / 12%) 35%,
      rgb(0 0 0 / 15%) 55%,
      rgb(0 0 0 / 65%) 100%
    );
  }

  .bb-hero-eyebrow {
    top: 35px;
    left: 5%;
    width: 90%;
    font-size: 12px;
  }

  .bb-hero-heading {
    top: 75px;
    left: 5%;
    width: 90%;
    text-align: center;
  }

  .bb-hero-heading h1 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.03;
  }

  .bb-hero-actions {
    right: 6%;
    bottom: 85px;
    left: 6%;
    width: auto;
  }

  .bb-hero-copy {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .bb-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .bb-hero-button {
    width: 100%;
    min-height: 42px;
  }

  .bb-hero-tagline {
    bottom: 18px;
    right: 5%;
    left: 5%;
    font-size: 10px;
  }
}