
/*
/* GALLERY PHOTOS */
.section-gallery-hero {
    padding: 50px 0;
}
.hero-item-image {
    height: 373px;
    position: relative;
}

/* Image */
.hero-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* Overlay selalu aktif */
.hero-item-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    border-radius: 15px;
    opacity: 1;              /* ✅ selalu terlihat */
    transform: none;         /* ✅ tidak geser */
    transition: none;        /* ❌ matikan animasi */
}

/* Meta selalu tampil */
.hero-item-image .hero-item-meta {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    opacity: 1;              /* ✅ selalu terlihat */
    transform: none;         /* ✅ tidak geser */
    transition: none;        /* ❌ matikan animasi */
}

/* Title */
.hero-item-image .hero-item-meta .item-meta-title {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 37px;
}

/* Description */
.hero-item-image .hero-item-meta .item-meta-desc {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* ❌ Disable hover effects completely */
.hero-item-image:hover:before,
.hero-item-image:hover .hero-item-meta {
    opacity: 1;
    transform: none;
}


.section-gallery-videos-meta {
    display: flex;
    height: 100%;
    padding: 0 40px;
    flex-direction: column;
    justify-content: center;
}
.section-gallery-videos-meta .videos-meta-title {
    color: var(--d8-black);
    font-size: 48px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 28px;
}
.section-gallery-videos-meta .videos-meta-desc {
    font-size: 18px;
    color: #6B7280;
}
.section-gallery-videos .swiper-slide {
    height: 373px;
    width: 570px !important;
}

.section-gallery-videos .hero-item {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}
.section-gallery-videos .hero-item-image {
    height: 100%;
    overflow: hidden;
    transform: scaleY(0.85);
    transform-origin: bottom;
    transition: transform  0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-gallery-videos .swiper-slide-active .hero-item-image {
    /* transform: scaleY(1.1); */

}
.section-gallery-videos .swiper-wrapper {
    align-items: end;
    padding: 20px 0;
}
.custom-navigation {
    position: relative;
}
.custom-navigation .swiper-button-next,
.custom-navigation .swiper-button-prev {
    width: 72px;
    height: 70px;
    top: 50px;
    border-radius: 100px;
    backdrop-filter: blur(7px);
    background: var(--d8-blue-azure);
    box-shadow: inset 0 0 0 1px #025198;
}
.custom-navigation .swiper-button-prev {
    left: 0;
}
.custom-navigation .swiper-button-next {
    left: 20%;
}
.custom-navigation .swiper-button-next:after,
.custom-navigation .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}
.custom-navigation .swiper-button-next.swiper-button-disabled,
.custom-navigation .swiper-button-prev.swiper-button-disabled {
    opacity: 1;
    background: #ffffff;
}
.custom-navigation .swiper-button-next.swiper-button-disabled::after,
.custom-navigation .swiper-button-prev.swiper-button-disabled::after {
    color: var(--d8-blue-azure);
}

/* DETAIL PHOTOS */
.detail-photos .image-hero,
.detail-photos .image-item {
    position: relative;
}
.detail-photos .image-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 20%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 100%));
}
.detail-photos .image-hero {
    height: 100%;
}
.detail-photos .image-hero img,
.detail-photos .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}
.detail-photos .icon-download {
    position: absolute;
    top: 0;
    right: 0;
    margin: 25px;
    padding: 18px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 6%);
    backdrop-filter: blur(23px);
    box-shadow: inset 0 0 0 1px #ffffff;
}
.detail-photos .icon-download .iconify {
    width: 28px;
    height: 28px;
    color: #ffffff;
}
.detail-photos .hero-meta {
    position: absolute;
    bottom: 0;
    padding: 38px 32px;
}
.detail-photos .hero-meta .meta-title {
    color: var(--d8-black);
    font-size: 20px;
    font-size: 500;
    line-height: 140%;
}
.detail-photos .hero-meta .meta-desc {
    color: #6B7280;
    font-size: 18px;
}
.detail-photos .image-body {
    margin: 62px 0;
}
.image-body .image-item img {
    height: 300px;
}
/* .image-body .row > div {
margin-top: calc(var(--bs-gutter-x) * .5);
margin-bottom: calc(var(--bs-gutter-x) * .5);
} */

.image-item img,
.image-hero img {
    transition: transform .4s ease, filter .4s ease;
}

.image-item:hover img,
.image-hero:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
    cursor: zoom-in;
}

.icon-download {
    position: absolute;
    /* bottom: 16px; */
    right: 16px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 10px 14px;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

/* icon */
.icon-download .iconify {
    font-size: 22px;
}

/* download counter */
.icon-download .download-count {
    font-size: 13px;
    opacity: 0.9;
}

/* hover effect */
.icon-download:hover {
    background: #0d6efd;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
}


.video-thumb {
    position: relative;
}

.video-thumb .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}




/* Mobile Specific Styles */
@media only screen and (max-width: 768px) {
    .item-meta-desc {
        font-size: 14px; /* Reduce font size for smaller screens */
        padding: 10px; /* Reduce padding for better fit */
        line-height: 1.5;
        display: none;
    }

    .hero-meta .meta-title {
        font-size: 18px; /* Adjust meta title size */
    }
}

@media only screen and (max-width: 480px) {
    .item-meta-desc {
        font-size: 13px; /* Smaller font size for very small screens */
        padding: 8px; /* Reduce padding even more */
    }

    .hero-meta .meta-title {
        font-size: 16px; /* Smaller title font size */
    }
}



.section-gallery-photos .swiper-wrapper{
    align-items: stretch; /* biar tinggi tiap slide mengikuti kontennya masing-masing */
}

.section-gallery-photos .swiper-slide{
    height: auto;
    width: 610px !important; /* kalau memang mau fixed width */
    display: block;          /* jangan flex kalau tidak butuh */
}

/* card */
.section-gallery-photos .gallery-item{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* yang dibuat "tetap sama" hanya area gambar */
.section-gallery-photos .gallery-image{
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 250;  /* sama dengan thumb kamu */
    overflow: hidden;
    border-radius: 12px;      /* optional */
}

/* img mengikuti box, tidak mengubah tinggi box */
.section-gallery-photos .gallery-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;        /* menjaga cropping rapi */
    display: block;
}

/* meta biar nambah tinggi secara natural */
.section-gallery-photos .gallery-item-meta{
    padding-top: 10px; /* jarak konsisten dari foto ke meta */
}
