/*
 Theme Name:     The Zora
 Theme URI:      https://nugweb.id
 Description:    The Zora Website
 Author:         NUG
 Author URI:     https://www.nugweb.id
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* GENERAL */

/* transition */
.transition,
.product-thumb-potrait,
.product-thumb-potrait .et_pb_image_wrap,
.special-offer-sticky,
.swiper-fasilitas-galeri .swiper-slide{
	-webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    transition: all ease 0.3s;
}



/* UTILITY */
.inline-block{
    display: inline-block !important;
}
.list-col-6 ul {
    column-count: 2;
    column-gap: 45px;
}


/* GENERAL */
.img-overlay .et_pb_image_wrap {
    position: relative;
}

.img-overlay .et_pb_image_wrap:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.26);
    z-index: 2;
}

/* SECTION */
.section-radius{
    border-radius: 0 0 0 13vw;
    overflow: hidden;
}

@media ( min-width: 1000px ) and ( max-width: 1100px) {
    .et_pb_row{
        max-width: 900px;
    }
}

/* NAV */
.logo-brand img{
    width: auto;
}
@media ( max-width: 991px ) {
    .menu-nav-mobile .widget_nav_menu{
        width: 100%;
        margin-bottom: 0;
        margin-right: 0;
    }

    .menu-nav-mobile ul.menu {
        display: flex;
        margin-bottom: 0;
        overflow-y: auto;
    }
    
    .menu-nav-mobile ul.menu li {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .menu-nav-mobile .et_pb_widget {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .menu-nav-mobile ul.menu li a {
        display: flex;
        padding: 15px 20px;
    }
    
}

/* HERO HEADER */
.hero-header{
    position: relative;
    border-radius: 0 0 0 17vw;
}
.hero-header:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3); 
}

.hero-header > .et_pb_row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-header .et_pb_button_module_wrapper{
    display: inline-block;
}



/* SECTION PRODUCT */

.section-product .et_pb_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
}

.et_pb_column:hover .product-thumb-potrait .et_pb_image_wrap{
    border-radius: 7em 7em 7em 0;
}

.product-thumb-potrait .et_pb_image_wrap {
    border-radius: 8em 8em 8em 0;
    overflow: hidden;
}

.product-thumb-potrait {
    position: relative;
}

.product-thumb-potrait:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border: 2px solid #4aa3b5;
    border-radius: 8em 8em 8em 0;
    transform: translate(-20px, 20px);
}

@media ( max-width: 991px ) {
    .product-thumb-potrait .et_pb_image_wrap{
        width: 100%;
    }
    .product-thumb-potrait .et_pb_image_wrap img{
        width: 100%;
    }
}

@media ( max-width: 767px ) {
    .product-thumb-potrait:before{
        transform: translate(-10px, 10px);
    }
}

body #page-container .et_pb_section .product-video-button {
    border-radius: 50px;
    background-color: #FFF;
    border-color: transparent;
    padding: 14px 45px 14px 64px !important;
    min-width: 250px;
    font-size: 22px;
    text-align: center;
    color: #333;
    position: absolute;
    bottom: 13%;
    z-index: 2;
    right: -15px;
	margin-bottom: 13%;
}

body #page-container .et_pb_section .product-video-button:before {
    width: 37px;
    height: 37px;
    background-color: #6eb6c4;
    border-radius: 50%;
    color: #FFF;
    margin-left: -2.2em !important;
}

.prod-ultimate-thumb-landscape img{
    object-fit: cover;
    object-position: center;
    height: 300px;
}


/* SECTION FACILITY */

.facilities-title {
    position: absolute;
    width: 100%;
    bottom: 80px;
    color: #FFF;
    z-index: 2;
    padding: 0 50px;
    font-size: 2.1em;
}

/* FORM */

.wpcf7-form-control {
    width: 100%;
    border: 1px solid transparent !important;
    padding: 8px 15px !important;
    height: 55px;
    background-color: #f5f5f5 !important;
    border-radius: 10px;
    font-weight: 500;
}

.wpcf7-form-control.wpcf7-submit{
    margin-top: 5px;
    background-color: #254d4d !important;
    font-weight: 700;
    color: #FFF;
}



/* BANNER STICKY */

.et_pb_section.special-offer-sticky {
    position: fixed !important;
    bottom: 10px;
    top: unset;
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 99;
    cursor: pointer;
}

.et_pb_section.special-offer-sticky:hover{
    transform: translateX(-50%) scale(1.03);
}

.et_pb_section.special-offer-sticky img{
    max-width: unset;
    max-height: unset;
    height: 60px;
    width: auto;
}

@media ( max-width: 767px) {
	.et_pb_section.special-offer-sticky{
		width: 100% !important;
		padding: 0 10px;
	}
    .et_pb_section.special-offer-sticky img{
		width: 100% !important;
		max-height: unset !important;
        height: auto;
    }
}

/* Whatsapp Sticky */
.et_pb_section.whatsapp-sticky {
    left: unset !important;
    right: 20px;
    width: auto !important;
	transform: translateX(0) scale(1);
	bottom: 0;
}

.et_pb_section.whatsapp-sticky:hover{
	transform: translateX(0) scale(1.03);
}

.whatsapp-sticky img {
    height: 65px !important;
}

.whatsapp-sticky,
.whatsapp-sticky .et_pb_module,
.whatsapp-sticky .et_pb_row,
.whatsapp-sticky .et_pb_column{
    display: inline-block !important;
}

@media (max-width: 991px) {
	.et_pb_section.whatsapp-sticky {
		right: -5px;
		bottom: -11px;
	}
	.whatsapp-sticky img {
		height: 50px !important;
	}
}

/* GALLERY POPUP */
.gallery-popup-wrap {
    display: none;
}

.gallery-popup-opened {
    overflow: hidden;
}

.gallery-popup-opened .gallery-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.gallery-popup-opened .gallery-popup-wrap {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}

.gallery-popup-opened .gallery-popup-wrap .gallery-popup-close {
    position: absolute;
    z-index: 2;
    top: -40px;
    right: 20px;
    display: inline-block;
    width: 25px;
    height: 25px;
    overflow: hidden;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.gallery-popup-opened .gallery-popup-wrap .gallery-popup-close:before, .gallery-popup-opened .gallery-popup-wrap .gallery-popup-close:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
    border-radius: 5px;
    margin-top: -2px;
}

.gallery-popup-opened .gallery-popup-wrap .gallery-popup-close:before {
    transform: rotate(45deg);
}

.gallery-popup-opened .gallery-popup-wrap .gallery-popup-close:after {
    transform: rotate(-45deg);
}

.gallery-popup-opened .gallery-popup-content {
    /* max-width: 900px; */
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.gallery-popup-inner{
    background-color: #000;
}

.gallery-popup-inner .content{
    display: none;
}
.gallery-popup-inner .content.show{
    display: block;
}

.swiper-fasilitas-galeri .swiper-slide{
    height: auto;
    height: 600px;
}
.swiper-fasilitas-galeri .fas-wrap{
    text-align: center;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-fasilitas-galeri .fas-wrap .backdrop{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 150%;
    background-repeat: no-repeat;
    filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.swiper-fasilitas-galeri .fas-item{
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.swiper-fasilitas-galeri .swiper-slide{
    filter: blur(2px) opacity(0.5);
}
.swiper-fasilitas-galeri .swiper-slide.swiper-slide-active{
    filter: blur(0px) opacity(1);
}
.swiper-fasilitas-galeri .swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    /* background: #daa85d; */
    opacity: .4;
}
.swiper-fasilitas-galeri .swiper-pagination-bullet-active{
    background: #daa85d;
    opacity: 1;
}

@media (max-width: 1500px){
    .swiper-fasilitas-galeri .fas-item{
        width: 100%;
        height: auto;
    }
}

@media (max-width: 1024px){
    .swiper-fasilitas-galeri .swiper-slide{
        height: 400px;
    }
}

@media (max-width: 991px){
    .swiper-fasilitas-galeri .swiper-slide{
        height: 370px;
    }
}

@media (max-width: 767px){
    .swiper-fasilitas-galeri .swiper-slide{
        height: 200px;
    }
}


/* VIDEO YOUTUBE */

.nug-video-popup {
    display: block !important;
    position: relative;
}

.nug-video-popup .button-play-video {
    z-index: 5;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nug-video-popup .button-play-video .icon-play {
    position: relative;
    z-index: 5;
}

.nug-video-popup .button-play-video .icon-play img {
    width: 43px !important;
    height: 54px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

.nug-video-popup .button-play-video:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(179.91deg, rgba(0, 0, 0, 0) 0.08%, #000 83.32%);
    opacity: 0.3;
    z-index: 2;
    border-radius: 20px;
}

.video-popup-wrap {
    display: none;
}

.video-popup-opened {
    overflow: hidden;
}

.video-popup-opened .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.video-popup-opened .video-popup-wrap {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}

.video-popup-opened .video-popup-wrap .popup-close {
    position: absolute;
    z-index: 2;
    top: -40px;
    right: 0;
    display: inline-block;
    width: 25px;
    height: 25px;
    overflow: hidden;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.video-popup-opened .video-popup-wrap .popup-close:before, .video-popup-opened .video-popup-wrap .popup-close:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
    border-radius: 5px;
    margin-top: -2px;
}

.video-popup-opened .video-popup-wrap .popup-close:before {
    transform: rotate(45deg);
}

.video-popup-opened .video-popup-wrap .popup-close:after {
    transform: rotate(-45deg);
}

.video-popup-opened .video-popup-content {
    max-width: 900px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

@media (max-width: 991px) {
    .video-popup-opened .video-popup-content {
        width: 90%;
    }
    .video-popup-opened .video-popup-content iframe {
        height: 200px !important;
    }
}


/* TESTIMONIAL */

.testimonial_item .author_nama {
    font-size: 22px;
    font-weight: 700;
    color: #334046;
    margin-bottom: 5px;
}

.testimonial_item {
    color: #334046;
}

.testimonial_item .author_pekerjaan {
    font-size: 17px;
}

.testimonial_item .photo_item {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #c7d9e5;
}

.testimonial_item .author-wrap {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial_item .quote img {
    height: 35px;
}

.testimonial_item .author-wrap .author {
    display: flex;
    align-items: center;
}

.testimonial_item .author-wrap .author .photo-wrap {
    padding-right: 20px;
}

.swiper-testimonial{
    position: relative;
}

/* .swiper-testimonial:before,
.swiper-testimonial:after{
    content: '';
    position: absolute;
    top: 0;
    width: 35px;
    height: 100%;
    background-color: #f4f8fb;
    z-index: 2;
}

.swiper-testimonial:before{
    left: -1px;
}

.swiper-testimonial:after{
    right: -1px;
} */

.swiper-testimonial .swiper-slide {
    /* padding: 0 50px; */
}

.swiper-testimonial .swiper-slide .testimonial_item:after {
    content: '';
    width: 2px;
    height: 100%;
    background-color: #6eb7c5;
    position: absolute;
    top: 0;
    right: -50px;
}

.swiper-testimonial [class*=swiper-button]{
    display: none;
}

