/* hero */

.hero {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100vh;

  background-color: #111111;

  background-image:
    linear-gradient(
      rgb(0 0 0 / 48%),
      rgb(0 0 0 / 48%)
    ),
    var(--hero-background-image);

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  color: #ffffff;
}

/* hero content container */

.hero-content-container {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: 1280px;

  margin-inline: auto;
  padding-inline: 24px;
}

/* hero content */

.hero-content {
  display: flex;

  width: 100%;
  max-width: 900px;

  margin-inline: auto;

  flex-direction: column;

  align-items: center;

  text-align: center;

  padding-top: 70px;
}

/* hero eyebrow */

.hero-eyebrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 34px;

  padding:
    8px
    16px;

  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 999px;

  background-color: rgb(255 255 255 / 15%);

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;

  line-height: 1;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  backdrop-filter: blur(5px);
}

/* hero title */

.hero-title {
  max-width: 900px;

  margin: 0;

  color: #ffffff;

  font-size: clamp(56px, 5.3vw, 82px);
  font-weight: 800;

  line-height: 1.08;

  letter-spacing: -0.045em;
}

/* hero description */

.hero-description {
  max-width: 700px;

  margin:
    32px
    auto
    0;

  color: rgb(255 255 255 / 88%);

  font-size: 18px;
  font-weight: 400;

  line-height: 1.6;
}

/* hero actions */

.hero-actions {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 16px;

  margin-top: 40px;
}

/* hero button */

.hero-button {
  display: inline-flex;

  min-height: 58px;

  align-items: center;
  justify-content: center;

  padding-inline: 30px;

  border: 1px solid transparent;
  border-radius: 12px;

  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
}

.hero-button-primary {
  background-color: var(--color-primary);
}

.hero-button-primary:hover {
  opacity: 0.9;
}

.hero-button-secondary {
  border-color: rgb(255 255 255 / 35%);

  background-color: rgb(255 255 255 / 15%);

  backdrop-filter: blur(5px);
}

.hero-button-secondary:hover {
  background-color: rgb(255 255 255 / 25%);
}

/* hero scroll arrow */

.hero-scroll {
  position: absolute;

  bottom: 28px;
  left: 50%;

  z-index: 3;

  display: flex;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  color: #ffffff;

  font-size: 25px;

  text-decoration: none;

  animation:
    hero-scroll-bounce
    1.8s
    ease-in-out
    infinite;

  transition: color 0.2s ease;
}

.hero-scroll:hover {
  color: var(--color-accent);
}

/* arrow animation */

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform:
      translateX(-50%)
      translateY(0);
  }

  50% {
    transform:
      translateX(-50%)
      translateY(10px);
  }
}

/* tablet */

@media (max-width: 900px) {
  .hero-content {
    max-width: 760px;

    padding-top: 65px;
  }

  .hero-title {
    font-size: clamp(50px, 8vw, 68px);
  }

  .hero-description {
    max-width: 600px;

    font-size: 17px;
  }
}

/* mobile */

@media (max-width: 600px) {
  .hero {
    min-height: 100svh;

    background-image:
      linear-gradient(
        rgb(0 0 0 / 63%),
        rgb(0 0 0 / 63%)
      ),
      var(--hero-background-image);

    background-position: center;
  }

  .hero-content-container {
    padding-inline: 18px;
  }

  .hero-content {
    max-width: 100%;

    padding-top: 50px;
  }

  .hero-eyebrow {
    margin-bottom: 24px;

    padding:
      7px
      13px;

    font-size: 10px;

    letter-spacing: 0.17em;
  }

  .hero-title {
    max-width: 100%;

    font-size: clamp(39px, 11vw, 54px);

    line-height: 1.05;
  }

  .hero-description {
    max-width: 420px;

    margin-top: 24px;

    font-size: 15px;

    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;

    flex-direction: column;

    gap: 12px;

    margin-top: 30px;
  }

  .hero-button {
    width: 100%;

    min-height: 52px;

    padding-inline: 20px;
  }

  .hero-scroll {
    bottom: 18px;

    width: 38px;
    height: 38px;

    font-size: 22px;
  }
}
