/* ============================================================
   HERO.CSS — Hero Slideshow Section (right-to-left slide)
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slideshow slides — default off-screen right */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  will-change: transform;
  z-index: 1;
}

/* Transition class applied only during animation */
.hero-slide.slide-transition {
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Positions */
.hero-slide.is-active {
  transform: translateX(0);
  z-index: 2;
}

.hero-slide.is-right {
  transform: translateX(100%);
}

.hero-slide.is-left {
  transform: translateX(-100%);
}

/* Dark overlay on each slide */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Overlay content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  color: var(--color-white);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  margin-bottom: 32px;
  line-height: 1.1;
}

.hero-cta {
  font-size: 1.1rem;
  padding: 14px 36px;
}

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: var(--color-white);
}

/* Short hero for interior pages */
.hero-short {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-short::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-short .hero-content {
  padding: 24px;
  text-align: left;
}

.hero-short .hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 0;
}

@media (max-width: 639px) {
  .hero { height: 100svh; }
  .hero-tagline { font-size: 2rem; }
}
