/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    color: #222;
    background: #fff;
}

/* ===== Hero Slideshow ===== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem 1rem;
    background: #fff;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 964 / 624;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    animation: crossfade 36s infinite;
}

/*
 * 6 images, 36s total cycle.
 * Each image: 6s slot (16.67% of 36s).
 *   - Instantly visible at 0%, hold until 16.67%, then instantly hidden.
 */
@keyframes crossfade {
    0%      { opacity: 1; }
    16.66%  { opacity: 1; }
    16.67%  { opacity: 0; }
    100%    { opacity: 0; }
}

/* Stagger each slide's animation start — 6 images, 36s cycle */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }
.slide:nth-child(5) { animation-delay: 24s; }
.slide:nth-child(6) { animation-delay: 30s; }

/* Visit slideshow: 3 images, 18s cycle, different aspect ratio (cropped) */
.slideshow-visit {
    aspect-ratio: 964 / 455;
}

.slideshow-visit .slide {
    animation: crossfade-visit 18s infinite;
}

@keyframes crossfade-visit {
    0%      { opacity: 1; }
    33.32%  { opacity: 1; }
    33.33%  { opacity: 0; }
    100%    { opacity: 0; }
}

.slideshow-visit .slide:nth-child(1) { animation-delay: 0s; }
.slideshow-visit .slide:nth-child(2) { animation-delay: 6s; }
.slideshow-visit .slide:nth-child(3) { animation-delay: 12s; }

/* ===== Content ===== */
.content {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
}

.content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: #444;
}

/* ===== Videos (ready for YouTube) ===== */
.videos {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.videos h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.video-grid iframe {
    max-width: 100%;
    border: none;
    border-radius: 8px;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #999;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .content h1 {
        font-size: 1.5rem;
    }
    .content p {
        font-size: 1rem;
    }
    .hero {
        padding: 2rem 0.5rem 0.5rem;
    }
}
