/**
 * Hero Component
 * Full-screen hero section with slideshow
 */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 10s ease-in-out;
  transform: scale(1.1);
  filter: brightness(0.7);
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.1em;
}

/* Intro Section (below hero) */
.intro {
  text-align: center;
  padding: 50px 20px;
}

.intro-text-vertical {
  font-family: var(--font-serif);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.6rem;
  text-align: right;
  margin: 0 auto;
  width: fit-content;
  height: 500px;
  line-height: 2;
  letter-spacing: 0.2em;
}

.intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  line-height: 2;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  opacity: 0.8;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-indicator span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .intro-text-vertical {
    font-size: 1.2rem;
    height: 350px;
  }
}