.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-light);
}

.hero .container {
  display: flex;
  align-items: center;
}

.hero-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: flex-start;
  padding-top: var(--space-4);
}

.hero h1 {
  font-size: var(--text-7xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: var(--leading-normal);
  opacity: 0.9;
  max-width: 70%;
}

.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 700px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 3.5rem;
  }

  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 auto;
    padding-top: 70px;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-right {
    position: relative;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    top: auto;
    right: auto;
  }

  .hero-right::before {
    display: none;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
