/* ============================================
   MARIE HARTIG STUDIO — Slideshow Styles
   ============================================ */

.slideshow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* Short fade-in on top — incoming slide appears over outgoing */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay */
.slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.38) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ---- Hero Text ---- */
.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

/* Studio name — Velour bold, sized to fit viewport like editorial hero */
.hero-title {
  font-family: 'Velour', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5.5vw, 5.5rem);
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(0,0,0,0.4);
  opacity: 1;
}

/* Thin divider */
.hero-divider {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 1.2rem auto;
  opacity: 1;
}

/* Subtitle — Velour bold, uppercase, wide tracking */
.hero-subtitle {
  font-family: 'Velour', serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  pointer-events: all;
  opacity: 1;
}

.hero-subtitle a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}

.hero-subtitle a:hover {
  color: #ffffff;
}

/* ---- Counter ---- */
.slide-counter {
  position: fixed;
  bottom: 2.2rem;
  right: 2.5rem;
  z-index: 10;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  opacity: 1;
}

/* Progress bar — hidden */
.progress-bar {
  display: none;
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.4rem, 7vw, 3rem); letter-spacing: 0.06em; }
  .slide-counter { bottom: 1.2rem; right: 1.5rem; }
}
