/* =========================================================
   HERO SLIDESHOW
   Crossfading photos with a slow zoom, inside the existing
   .photo-frame. Replaces the single static <img>.
========================================================= */

.photo-frame {
    position: relative; /* needed so slides can stack absolutely */
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.8s ease-in-out, transform 7s ease-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.06);
    z-index: 2;
    pointer-events: auto;
}

/* Respect users who've asked for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: opacity 1.8s ease-in-out;
    }

    .hero-slide.active {
        transform: none;
    }
}
