.hero-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100vh;
  color: white;
  overflow: hidden;
}

.hero-banner__backgrounds,
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-banner__backgrounds {
  z-index: 1;
}

.hero-banner__background {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat fixed;
  filter: grayscale(0.3);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-banner__background.active {
  opacity: 1;
}

.hero-banner__overlay {
  background: black;
  mix-blend-mode: multiply;
  z-index: 2;
}

.hero-banner__content {
  position: relative;
  z-index: 3;
}

.hero-banner__title {
  font-family: 'MADE Outer Sans', sans-serif;
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
}

.hero-banner__title strong {
  color: var(--lighter);
}

.hero-banner__subtitle {
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  opacity: 0;
}

.hero-banner__description {
  line-height: 1.4;
  opacity: 0;
}

.hero-banner__cta {
  display: inline-block;
  background: #f5f5f5;
  color: var(--darker);
  padding: 8px 24px;
  margin-top: 10px;
  border-radius: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reusable One-Side Sweep Button Animation */
.btn-sweep {
  position: relative;
  overflow: hidden;
}

.btn-sweep__text {
  position: relative;
  z-index: 2;
  display: inline-block;
  opacity: 1;
  color: inherit;
  transform: translateX(0);
  transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s,
              color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s,
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: none;
}

.btn-sweep__panel {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--darker);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  border-radius: inherit;
}

/* Hover State - Panel slides in, background disappears */
.btn-sweep:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background-color: var(--darker);
}

.btn-sweep:hover .btn-sweep__panel {
  left: 0;
}

/* Text animation: fades out early, then slides in from left while fading in with new color */
.btn-sweep:hover .btn-sweep__text {
  animation: btn-sweep-text-fade 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes btn-sweep-text-fade {
  0% {
    opacity: 1;
    color: inherit;
    transform: translateX(0);
  }
  15% {
    opacity: 0;
    color: inherit;
    transform: translateX(-8px);
  }
  50% {
    opacity: 0;
    color: var(--light);
    transform: translateX(-8px);
  }
  100% {
    opacity: 1;
    color: var(--light);
    transform: translateX(0);
  }
}

.hero-banner__text {
  margin-bottom: 20vh;
}

.hero-banner__address {
  margin-bottom: 40px;
  font-family: 'Nimbus Roman No9 L';
}

.hero-banner__address-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Animated Scroll Arrows */
.hero-arrow-container {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translate(-50%, 0);
  transform-origin: 50% 50%;
  z-index: 10;
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.hero-arrow-first {
  animation: hero-arrow-movement 2s ease-in-out infinite;
}

.hero-arrow-second {
  animation: hero-arrow-movement 2s 1s ease-in-out infinite;
}

.hero-arrow::before,
.hero-arrow::after {
  background: #fff;
  content: '';
  display: block;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
}

.hero-arrow::before {
  transform: rotate(45deg) translateX(-23%);
  transform-origin: top left;
}

.hero-arrow::after {
  transform: rotate(-45deg) translateX(23%);
  transform-origin: top right;
}

@keyframes hero-arrow-movement {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    align-items: center;
  }

  .hero-banner__content {
    padding: 0 20px !important;
  }

  .hero-banner__text {
    text-align: center;
    margin-bottom: 0 !important;
  }

  .hero-banner__title {
    font-size: 2.3rem;
  }

  .hero-banner__subtitle {
    font-size: 1.2rem;
  }
  .hero-banner__description {
    font-size: 1.2rem;
  }

  .hero-banner__address {
    margin-top: 25px;
    text-align: center;
  }

  .hero-banner__address-link {
    font-size: 1.5rem;
  }

  .hero-arrow::before,
  .hero-arrow::after {
    width: 24px;
    height: 2px;
  }
  .hero-arrow-container {
    bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero-banner__title {
    font-size: 2rem;
  }

  .hero-banner__address-link {
    font-size: 1.2rem;
  }
}
