/* ================================================
   TEAM GLAM — Hero Gallery Slider with Thumbnails CSS
   ================================================ */

.tg-hero-slider-wrap {
    position: relative;
    width: 100%;
    margin: 48px 0;
    box-sizing: border-box;
}

/* ── Main Hero Viewport ── */
.tg-hero-slider-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 720px;
    overflow: hidden;
    background-color: #111111;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.tg-hero-slider-main-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.3, 1), transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
}

/* ── Ghost / Peeking Reflection Layer ── */
.tg-hero-slider-ghost {
    position: absolute;
    bottom: -30%;
    left: 0;
    width: 100%;
    height: 60%;
    opacity: 0.25;
    filter: blur(8px) saturate(1.2);
    pointer-events: none;
    z-index: 1;
    transform: scaleY(-1);
    mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* ── Left / Right Arrow Chevrons ── */
.tg-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
    opacity: 0.85;
    transition: opacity 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
    padding: 0;
    outline: none;
}

.tg-hero-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.tg-hero-prev {
    left: 16px;
}

.tg-hero-next {
    right: 16px;
}

.tg-hero-arrow svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    stroke-width: 1.8;
}

/* ── Bottom Thumbnail Preview Row ── */
.tg-hero-slider-thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tg-hero-slider-thumb {
    width: 84px;
    height: 60px;
    overflow: hidden;
    background-color: #e5e5e5;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    box-sizing: border-box;
    padding: 0;
}

.tg-hero-slider-thumb:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.tg-hero-slider-thumb.is-active {
    opacity: 1;
    border-color: #111111;
}

.tg-hero-slider-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .tg-hero-slider-main {
        aspect-ratio: 4 / 3;
    }
    .tg-hero-arrow {
        width: 38px;
        height: 38px;
    }
    .tg-hero-prev {
        left: 8px;
    }
    .tg-hero-next {
        right: 8px;
    }
    .tg-hero-arrow svg {
        width: 20px;
        height: 20px;
    }
    .tg-hero-slider-thumb {
        width: 60px;
        height: 44px;
        gap: 6px;
    }
}
