/* ==========================================================================
   Block: Image Carousel
   Figma node 4484:18094 — full-bleed 700px slider, white dot nav
   ========================================================================== */

.image-carousel {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background-color: var(--color-dark);
}

/* ── Track & Slides ─────────────────────────────────────────────────────── */
.image-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.image-carousel__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.image-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── Dot navigation ─────────────────────────────────────────────────────── */
.image-carousel__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 2;
}

.image-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.image-carousel__dot.is-active {
    background-color: var(--color-white);
    transform: scale(1.25);
}

.image-carousel__dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .image-carousel {
        height: 480px;
    }
}

@media (max-width: 480px) {
    .image-carousel {
        height: 195px;
    }
}
