/* =========================================================
   BREADCRUMB
========================================================= */

.page-breadcrumb {
    background: #f7f4ed;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.page-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 14px;
    align-items: center;
}

.page-breadcrumb .breadcrumb-item a {
    color: #b7943e;
    font-weight: 600;
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: #8c6c28;
}

.page-breadcrumb .breadcrumb-item.active {
    color: #777;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
}


/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-page {
    padding: 52px 0 80px;
}

.gallery-page-header {
    max-width: 820px;
    margin: 0 auto 48px;
}

.gallery-page-header h1 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #111;
}

.gallery-page-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #6f6f6f;
    line-height: 1.7;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.gallery-empty-state {
    min-height: 360px;
    padding: 60px 30px;
    background: #f7f4ed;
    border-radius: 18px;

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

    text-align: center;
}

.gallery-empty-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #0b0b0b;
    color: #b7943e;

    font-size: 32px;
}

.gallery-empty-state h2 {
    margin-bottom: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
}

.gallery-empty-state p {
    max-width: 560px;
    margin-bottom: 26px;
    color: #777;
    line-height: 1.7;
}


/* =========================================================
   GALLERY SECTION
========================================================= */

.gallery-section {
    margin-top: 56px;
}

.gallery-section:first-of-type {
    margin-top: 0;
}

.gallery-section-header {
    margin-bottom: 28px;
}

.gallery-section-header .section-eyebrow {
    display: block;
    margin-bottom: 8px;
}

.gallery-section-header h2 {
    margin: 0 0 8px;
    font-weight: 700;
    color: #111;
}

.gallery-section-header p {
    margin: 0;
    color: #777;
    line-height: 1.6;
}


/* =========================================================
   GALLERY ALBUM
========================================================= */

.gallery-album {
    padding: 28px;
    margin-bottom: 32px;

    background: #f7f4ed;
    border-radius: 18px;
}

.gallery-album:last-child {
    margin-bottom: 0;
}

.gallery-album-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.gallery-album-label {
    display: block;
    margin-bottom: 5px;

    color: #b7943e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-album-header h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111;
}

.gallery-album-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 12px;

    background: #0b0b0b;
    color: #fff;

    border-radius: 30px;

    font-size: 13px;
    white-space: nowrap;
}


/* =========================================================
   PHOTO & VIDEO CARD
========================================================= */

.gallery-card,
.video-card {
    height: 100%;
}

.gallery-image-link,
.video-link {
    display: block;
    text-decoration: none;
}

.gallery-image-wrapper,
.video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;

    border-radius: 14px;
    background: #111;
}

.gallery-image-wrapper {
    aspect-ratio: 1 / 1;
}

.video-thumbnail-wrapper {
    aspect-ratio: 16 / 9;
}

.gallery-image,
.video-thumbnail {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-image,
.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}


/* =========================================================
   PHOTO OVERLAY
========================================================= */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.28);
    color: #fff;

    font-size: 28px;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}


/* =========================================================
   VIDEO PLAY BUTTON
========================================================= */

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 62px;
    height: 62px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.78);
    color: #fff;

    font-size: 34px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(183, 148, 62, 0.92);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.gallery-card-body {
    padding-top: 14px;
}

.gallery-title {
    margin: 0 0 6px;

    color: #111;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-date {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #888;

    font-size: 13px;
}

.gallery-description {
    margin: 8px 0 0;

    color: #777;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   GRID
========================================================= */

.gallery-section .row {
    margin-left: 0;
    margin-right: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .gallery-page {
        padding: 46px 0 70px;
    }

    .gallery-album {
        padding: 24px;
    }
}


@media (max-width: 767.98px) {

    .page-breadcrumb {
        padding: 12px 0;
    }

    .gallery-page {
        padding: 40px 0 60px;
    }

    .gallery-page-header {
        margin-bottom: 36px;
    }

    .gallery-page-header h1 {
        font-size: 2rem;
    }

    .gallery-empty-state {
        min-height: 300px;
        padding: 45px 20px;
    }

    .gallery-empty-icon {
        width: 68px;
        height: 68px;
        font-size: 28px;
    }

    .gallery-section {
        margin-top: 44px;
    }

    .gallery-album {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .gallery-album-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .gallery-album-count {
        align-self: flex-start;
    }

    .video-play {
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
}

.gallery-detail-content {
    margin-top: 40px;
}

.drive-gallery-frame {
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    background: #f7f4ed;
    border-radius: 18px;
}

.drive-gallery-frame iframe {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
    background: #fff;
}

@media (max-width: 767.98px) {
    .drive-gallery-frame,
    .drive-gallery-frame iframe {
        min-height: 560px;
        height: 560px;
    }
}

/* =========================================================
   DETAIL GALERI
========================================================= */

.gallery-detail-page {
    padding: 54px 0 80px;
}

.gallery-detail-header {
    max-width: 900px;
    margin-bottom: 46px;
}

.gallery-detail-header .section-eyebrow {
    display: block;
    margin-bottom: 10px;
}

.gallery-detail-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #151515;
}

.gallery-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 18px;
    color: #686868;
    font-size: 15px;
}

.gallery-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.gallery-detail-meta i {
    color: #b7943e;
}

.gallery-detail-description {
    max-width: 760px;
    margin: 18px 0 0;
    color: #666;
    line-height: 1.75;
    font-size: 1rem;
}


/* =========================================================
   ISI GALERI
========================================================= */

.gallery-detail-content {
    margin-top: 10px;
}

.gallery-detail-section-title {
    margin-bottom: 24px;
}

.gallery-detail-section-title .section-eyebrow {
    display: block;
    margin-bottom: 7px;
}

.gallery-detail-section-title h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}


/* =========================================================
   GOOGLE DRIVE
========================================================= */

.drive-gallery-frame {
    width: 100%;
    height: 760px;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
}

.drive-gallery-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   YOUTUBE
========================================================= */

.youtube-gallery-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 14px;
}

.youtube-gallery-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================================================
   BACK
========================================================= */

.gallery-detail-back {
    margin-top: 40px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .gallery-detail-page {
        padding-top: 36px;
        padding-bottom: 60px;
    }

    .gallery-detail-header {
        margin-bottom: 34px;
    }

    .gallery-detail-meta {
        flex-direction: column;
        gap: 8px;
    }

    .drive-gallery-frame {
        height: 620px;
        border-radius: 10px;
    }
}