.image-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #101010;
}

.image-carousel.is-fullscreen {
    height: 100vh;
}

.image-carousel.is-medium {
    height: min(80vh, 760px);
}

.image-carousel.is-edge-prev,
.image-carousel.is-edge-next {
    cursor: pointer;
}

.event-page .image-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}



.image-carousel-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #101010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.image-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
}

.image-carousel-image-shell,
.image-carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.image-carousel-image {
    object-fit: cover;
}

.image-carousel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.28) 36%, rgba(0, 0, 0, 0.52) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.14) 100%);
}

.image-carousel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(88vw, 900px);
    padding: 140px 24px 120px;
    text-align: center;
}

.image-carousel-title {
    margin: 0;
    color: #fff;
    font-size: 60px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: var(--font-family-one);
    letter-spacing: 2.5px;
    line-height: 80px;
    width: 1104px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    transition-delay: 0s;
}

.image-carousel-slide.is-active .image-carousel-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.16s;
}

body.menu-open .image-carousel-slide.is-active .image-carousel-title {
    opacity: 0;
    transform: translateY(22px);
    transition-delay: 0s;
}

/* Horizontal Dots Navigation */
.image-carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 800;
    display: flex;
    flex-direction: row;
    gap: 16px;
    transform: translateX(-50%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.image-carousel-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.image-carousel-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.image-carousel-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.image-carousel-dot.is-active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.image-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-carousel {
        height: 100vh;
    }
.event-page .image-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 230px;
}
.event-page-note h2 {
    margin: 80px 20px;
}
    .image-carousel-content {
        padding: 100px 20px 80px;
        width: min(95vw, 100%);
    }

    .image-carousel-title {
        font-size: clamp(32px, 6vw, 48px);
        line-height: 1.2;
        width: auto;
        letter-spacing: 1.5px;
    }

    .image-carousel-dots {
        gap: 12px;
        bottom: 30px;
    }

    .image-carousel-dot {
        width: 6px;
        height: 6px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .image-carousel-slide,
    .image-carousel-title,
    .image-carousel-dot {
        transition: none;
    }
}
