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

.gallery-section{

    position:relative;

    padding:120px 0;

    background:var(--background);

    overflow:hidden;

}

/*==============================================================
LEAF DECORATION
==============================================================*/

.gallery-section::before{

    content:"";

    position:absolute;

    top:40px;

    left:40px;

    width:180px;

    height:180px;

    opacity:.08;

    background:url('{{ asset("assets/templates/serenity/leaf-left.png") }}')
    center/contain no-repeat;

}

.gallery-section::after{

    content:"";

    position:absolute;

    right:40px;

    bottom:40px;

    width:180px;

    height:180px;

    opacity:.08;

    background:url('{{ asset("assets/templates/serenity/leaf-right.png") }}')
    center/contain no-repeat;

}

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

.gallery-title{

    text-align:center;

    margin-bottom:70px;

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

    font-size:3.4rem;

    color:var(--secondary);

}

.gallery-title::after{

    content:"";

    display:block;

    width:90px;

    height:2px;

    margin:20px auto 0;

    background:linear-gradient(

        90deg,

        transparent,

        var(--primary),

        transparent

    );

}

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

.gallerySwiper{

    width:100%;

    padding-bottom:70px;

    overflow:visible;

}

.gallerySwiper .swiper-slide{

    width:360px;

    height:500px;

    padding:12px;

    background:#fff;

    border-radius:28px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:.35s;

}

.gallerySwiper .swiper-slide:hover{

    transform:translateY(-8px);

    box-shadow:

        0 25px 55px rgba(0,0,0,.12);

}

.gallerySwiper .swiper-slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:20px;

    transition:.5s;

}

.gallerySwiper .swiper-slide:hover img{

    transform:scale(1.05);

}

/*==============================================================
ACTIVE SLIDE
==============================================================*/

.gallerySwiper .swiper-slide-active{

    transform:scale(1.03);

}

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

.gallerySwiper .swiper-pagination{

    bottom:0 !important;

}

.gallerySwiper .swiper-pagination-bullet{

    width:11px;

    height:11px;

    background:#d7c3a7;

    opacity:1;

    transition:.3s;

}

.gallerySwiper .swiper-pagination-bullet-active{

    width:34px;

    border-radius:20px;

    background:var(--primary);

}

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

@media(max-width:991px){

    .gallerySwiper .swiper-slide{

        width:300px;

        height:420px;

    }

}

@media(max-width:768px){

    .gallery-section{

        padding:90px 0;

    }

    .gallery-title{

        font-size:2.6rem;

        margin-bottom:45px;

    }

    .gallerySwiper{

        padding-bottom:60px;

    }

    .gallerySwiper .swiper-slide{

        width:250px;

        height:340px;

        border-radius:22px;

        padding:8px;

    }

    .gallerySwiper .swiper-slide img{

        border-radius:16px;

    }

}

@media(max-width:480px){

    .gallery-section{

        padding:70px 0;

    }

    .gallery-title{

        font-size:2rem;

    }

    .gallerySwiper .swiper-slide{

        width:220px;

        height:300px;

        border-radius:18px;

    }

    .gallerySwiper .swiper-pagination-bullet{

        width:10px;

        height:10px;

    }

    .gallerySwiper .swiper-pagination-bullet-active{

        width:28px;

    }

}