/* hero.css: Hero section styles. */
/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block: 120px;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero .slider-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  padding-block-start: 100px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-3);
  z-index: 1;
}

.hero .slider-item.active {
  opacity: 1;
  visibility: visible;
}

.hero .slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.15);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.hero .slider-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black-alpha-35);
}

.hero .slider-item.active .slider-bg {
  animation: smoothScale 7s linear forwards;
}

@keyframes smoothScale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.modal-content {
  color: black;
}
.modal-content h2 {
  display: flex;
  justify-content: center;
}
.modal-content p {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}
.inputBox {
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px;
}
.hero .section-subtitle {
  color: var(--gold-1);
  text-shadow: var(--eerie-black-4) 1px 1px 2px;
}
.hero .section-subtitle::after {
  margin-block: 14px 20px;
  content: url("../images/separator-hero.svg");
}

.hero-text {
  color: var(--white);
  text-shadow: var(--eerie-black-4) 1px 1px 2px;
  margin-block: 10px 40px;
}

.hero .btn {
  margin-inline: auto;
}

.hero-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 2;
  background-color: var(--gold-1);
  width: 110px;
  height: 110px;
  padding: 12px;
  transform: scale(0.6);
}

.hero .btn {
  border-color: var(--gold-1);
}

.hero .btn::before {
  background-color: var(--gold-1);
}

.hero .btn .text {
  color: var(--gold-1);
}

.hero .btn .text-2 {
  color: var(--smoky-black-1);
}

.hero-btn img {
  margin-inline: auto;
  margin-block-end: 6px;
}

.hero-btn .span {
  color: rgb(0, 0, 0);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-1);
  line-height: var(--lineHeight-3);
}

.hero-btn::after {
  inset: 0;
  border: 1px solid var(--gold-1);
  animation: rotate360 15s linear infinite;
}

.slider-reveal {
  transform: translateY(30px);
  opacity: 0;
}

.hero .slider-item.active .slider-reveal {
  animation: sliderReveal 1s ease forwards;
}

@keyframes sliderReveal {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero .slider-item.active .section-subtitle {
  animation-delay: 500ms;
}

.hero .slider-item.active .hero-title {
  animation-delay: 1000ms;
}

.hero .slider-item.active .hero-text {
  animation-delay: 1.5s;
}

.hero .slider-item.active .btn {
  animation-delay: 2s;
}

/* ========== CORRECT SLIDER BUTTON STYLES ========== */

.hero .slider-btn {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  background: transparent;
  border: 2px solid #D4AF37;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.hero .slider-btn ion-icon {
  display: none;
}

.hero .slider-btn::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.5);
  z-index: -1;
}

.slider-btn.prev {
  left: 40px;
}

.slider-btn.next {
  right: 40px;
}