@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');


.hero-section {
  width: 100%;
  height: 75vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  margin-top: -1px;
  margin-bottom: 2rem;
  background-color: lightgray;
}

.hero-section .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  aspect-ratio: 16/9;
}

.hero-section .slide.active {
  opacity: 1;
}

.hero-section .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: panBoth 40s ease-in-out infinite;
  aspect-ratio: 16/9;
}

@keyframes panBoth {

  0%,
  100% {
    transform: scale(1.15) translateX(-3%) translateY(-2%);
  }

  33% {
    transform: scale(1.15) translateX(3%) translateY(1%);
  }

  66% {
    transform: scale(1.15) translateX(-1%) translateY(2%);
  }
}

.hero-section .slide-content {
  position: absolute;
  bottom: 4rem;
  /* Fixed distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  text-shadow: 0 0px 5px rgba(0, 0, 0, 1);
}

.hero-section .slide-content h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  /* Min 4rem, max 8rem */
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .slide-content p {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-section .cta-button {
  background-color: blue;
  color: white;
  max-width: 150px;
}


.hero-section .indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-section .indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-section .indicator.active {
  background: white;
  width: 34px;
  border-radius: 14px;
}

.hero-section .nav-arrows {
  position: absolute;
  top: 50%;
  left: 1rem;
  right: 1rem;
  /* Changed from width: 100% + padding */
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
  display: none;
}

.hero-section .arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.5rem;
}

.hero-section .arrow:active {
  background: rgba(255, 255, 255, 0.3);
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}