/*==============================================================
HERITAGE GALLERY
Royal Nusantara
==============================================================*/

.gallery-section{

    padding:110px 20px;

    overflow:hidden;

}

.gallery-section .container{

    max-width:1240px;

}

/*==============================================================
TITLE
==============================================================*/

.gallery-title{

    margin-bottom:70px;

    text-align:center;

    color:var(--primary);

    font-family:var(--heading-font);

    font-size:clamp(2.8rem,5vw,4rem);

    font-weight:600;

}

.gallery-title::after{

    content:"✦";

    display:block;

    margin-top:18px;

    color:var(--accent);

    font-size:18px;

}

/*==============================================================
SWIPER
==============================================================*/

.gallerySwiper{

    overflow:visible;

    padding-bottom:35px;

}

.gallerySwiper .swiper-slide{

    transition:.35s;

}

/*==============================================================
FRAME
==============================================================*/

.gallerySwiper .swiper-slide img{

    width:100%;

    height:460px;

    display:block;

    object-fit:cover;

    padding:12px;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.55);

    box-shadow:

        0 18px 45px rgba(74,46,23,.10);

    transition:.4s;

}

/* inner frame */

.gallerySwiper .swiper-slide{

    position:relative;

}

.gallerySwiper .swiper-slide::before{

    content:"";

    position:absolute;

    inset:10px;

    border:1px solid rgba(212,175,55,.55);

    pointer-events:none;

    z-index:2;

}

/*==============================================================
HOVER
==============================================================*/

.gallerySwiper .swiper-slide:hover{

    transform:translateY(-8px);

}

.gallerySwiper .swiper-slide:hover img{

    transform:scale(1.02);

}

/*==============================================================
PAGINATION
==============================================================*/

.gallerySwiper .swiper-pagination{

    position:relative;

    margin-top:35px;

}

.gallerySwiper .swiper-pagination-bullet{

    width:10px;

    height:10px;

    background:#b6945b;

    opacity:.35;

}

.gallerySwiper .swiper-pagination-bullet-active{

    width:32px;

    border-radius:999px;

    opacity:1;

    background:var(--accent);

}

/*==============================================================
NAVIGATION
==============================================================*/

.gallerySwiper .swiper-button-prev,

.gallerySwiper .swiper-button-next{

    width:52px;

    height:52px;

    background:#fffaf2;

    border:2px solid rgba(201,166,107,.45);

    color:var(--primary);

    transition:.3s;

}

.gallerySwiper .swiper-button-prev:hover,

.gallerySwiper .swiper-button-next:hover{

    background:var(--primary);

    color:#fff;

}

.gallerySwiper .swiper-button-prev::after,

.gallerySwiper .swiper-button-next::after{

    font-size:18px;

    font-weight:700;

}

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

@media(max-width:768px){

    .gallery-section{

        padding:80px 20px;

    }

    .gallery-title{

        margin-bottom:45px;

        font-size:2.2rem;

    }

    .gallerySwiper .swiper-slide img{

        height:300px;

        padding:8px;

    }

    .gallerySwiper .swiper-slide::before{

        inset:6px;

    }

    .gallerySwiper .swiper-button-prev,

    .gallerySwiper .swiper-button-next{

        display:none;

    }

}