/* Large Gallery Carousel Component - Reusable image carousel */

.large-gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 60px 20px;
    margin-left: calc((100vw - 1440px) / 2);
}

.large-gallery-carousel__container {
    max-width: 100%;
    margin: 0 auto;
}

.large-gallery-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.large-gallery-carousel__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.large-gallery-carousel__slide {
    min-width: 66%;
    flex-shrink: 0;
    position: relative;
    padding-right: 1rem;
}

.large-gallery-carousel__image {
    width: 100%;
    height: 82vh;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: none;
}

.large-gallery-carousel__image:hover {
    transform: none;
}

/* Navigation Arrows */
.large-gallery-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(32px);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.large-gallery-carousel__nav:hover {
    background: rgb(255 255 255 / 25%);
    transform: translateY(-50%) scale(1.1);
}

.large-gallery-carousel__nav:active {
    transform: translateY(-50%) scale(0.95);
}

.large-gallery-carousel__nav--prev {
    left: 20px;
}

.large-gallery-carousel__nav--next {
    right: calc((100vw - 1350px) / 2);
}

.large-gallery-carousel__nav svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 2;
    fill: none;
}

/* Dots Indicator */
.large-gallery-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.large-gallery-carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    padding: 0;
}

.large-gallery-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.large-gallery-carousel__dot--active {
    background: var(--color-primary);
    transform: scale(1.3);
}

/* Counter */
.large-gallery-carousel__counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
background: rgba(255, 255, 255, 0.14);
backdrop-filter: blur(32px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {

    .large-gallery-carousel {
        padding: 0 20px;
        margin: 0;
    }
    
    .large-gallery-carousel__container {
        padding: 40px 0px;
    }

    .large-gallery-carousel__viewport {
        border-radius: 0;
    }
    
    .large-gallery-carousel__slide {
        /* min-width: 100%; */
        padding-right: 0;
    }

    .large-gallery-carousel__image {
        height: 30vh;
        aspect-ratio: 16 / 9;
        width: 80vw;
        margin-right: 20px; 
    }

    .large-gallery-carousel__nav {
        width: 40px;
        height: 40px;
    }

    .large-gallery-carousel__nav--prev {
        left: 10px;
    }

    .large-gallery-carousel__nav--next {
        right: 10px;
    }

    .large-gallery-carousel__nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {


    .large-gallery-carousel__counter {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

