/* -----------------------------------
    BASE SECTION STYLES
    ----------------------------------- */
.gallery { 
    background-color: #ffffff;
}

/* -----------------------------------
    GALLERY LAYOUT
    ----------------------------------- */
.Gal_Indo_Hc_wrapper {
    display: flex;
    gap: 1.5rem;
    flex-direction: row; 
}

/* --- Thumbnails Sidebar --- */
.Gal_Indo_Hc_thumbs-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    
    flex-shrink: 0;
    position: relative; /* Crucial for absolute overlay arrows */
}

/* Swiper Container overrides */
.Gal_Indo_Hc_swiper-container {
    width: 100%;
    height: 500px; /* Exact height for 6 thumbnails + 5 gaps */
    overflow: hidden;
    margin: 0;
    position: relative; 
}

/* Individual Thumbnail (Swiper Slide) */
.Gal_Indo_Hc_swiper-container .swiper-slide {
    width: 100%;
    height: 74px !important; 
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 1;
}

.Gal_Indo_Hc_swiper-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.Gal_Indo_Hc_swiper-container .swiper-slide:hover {
    opacity: 1;
}

.Gal_Indo_Hc_swiper-container .swiper-slide.swiper-slide-thumb-active,
.Gal_Indo_Hc_swiper-container .swiper-slide.active-manual {
    border-color: #8b289e; 
    opacity: 1;
}

/* -----------------------------------
    ABSOLUTE OVERLAY ARROWS
    ----------------------------------- */
.Gal_Indo_Hc_arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #374c60;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 20;
    transition: all 0.3s ease;
}

/* Position Top and Bottom */
#Gal_Indo_Hc_arrow-prev { top: 10px; }
#Gal_Indo_Hc_arrow-next { bottom: 10px; }

.Gal_Indo_Hc_arrow:hover {
    color: #8b289e;
    background-color: #ffffff;
}

.Gal_Indo_Hc_arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Hide arrows smoothly when they reach the end of the track */
.Gal_Indo_Hc_arrow.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* --- Main Image Area --- */
.Gal_Indo_Hc_main-area {
    flex-grow: 1;
    overflow: hidden;    
}

.Gal_Indo_Hc_main-img {
    width: 100%;
    height: 100%;
    max-height: 500px; 
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.Gal_Indo_Hc_fade {
    opacity: 0.4;
}

/* -----------------------------------
    MOBILE & TABLET ADJUSTMENTS 
    ----------------------------------- */
@media (max-width: 991px) {
    .Gal_Indo_Hc_subtitle{
        text-align: center;
    }

    .Gal_Indo_Hc_wrapper {
        flex-direction: column-reverse; 
        gap: 1rem;
    }

    .Gal_Indo_Hc_thumbs-sidebar {
        width: 100%;
        flex-direction: row;
    }

    .Gal_Indo_Hc_swiper-container {
        height: 80px; 
    }
    
    .Gal_Indo_Hc_swiper-container .swiper-slide {
        height: 100% !important;
    }

    .Gal_Indo_Hc_main-img {
        aspect-ratio: 16 / 10;
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .Gal_Indo_Hc_title {
        font-size: 2rem;
    }
}