/* ============================================================
   HERO.CSS — Hero Slideshow Section
   ============================================================ */

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

/* Slideshow slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

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

/* Fallback background colors for placeholder slots */
.hero-slide:nth-child(1) { background-color: #4a4a6a; }
.hero-slide:nth-child(2) { background-color: #6a3a3a; }
.hero-slide:nth-child(3) { background-color: #3a5a3a; }
.hero-slide:nth-child(4) { background-color: #5a4a2a; }

.hero-slide[style*="hero-1"] { background-image: url('/images/hero-1.jpg'); }
.hero-slide[style*="hero-2"] { background-image: url('/images/hero-2.jpg'); }
.hero-slide[style*="hero-3"] { background-image: url('/images/hero-3.jpg'); }
.hero-slide[style*="hero-4"] { background-image: url('/images/hero-4.jpg'); }

/* Dark overlay on slides */
.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;
}

/* Slide 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; }
}
