/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/
/********************************************************************
    DEFINE FONTS
*********************************************************************/
@font-face {
    font-family: "ZADOBESY-Regular";
    src: url("fronts/ZADOBESY-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

/* 2. Áp dụng font vừa khai báo cho các thẻ mong muốn */
h1, h2 {
   font-family: "ZADOBESY-Regular", sans-serif; /* Nên thêm font dự phòng (sans-serif) nhỡ font chính bị lỗi */
}
/**********Sidebar*********/
/* Ẩn hamburger trong side panel */
#mfn-sidemenu-tmpl-12 {
    z-index: 99999 !important;
}

#mfn-header-template {
    z-index: 9999 !important;
}
.mfn-sidemenu-menu  > li.current-menu-ancestor:nth-child(3) > .sub-menu{
	 display: block!important;
	 column-count: 2;
     column-gap: 40px;
}
a.mfn-menu-link:hover .menu-label {
    color: #4c8e91;
}
.menu-title, .menu-item-has-children{
	border-bottom: 1px solid #ffffff8a!important;
}
/* Ẩn border của item cuối cùng trong submenu khi đang mở */
.mfn-menu-li.current-menu-ancestor{
    border-bottom: none!important;
}
ul.sub-menu.mfn-submenu {
	border-top: 1px solid #ffffff8a!important;
}
.menu-title {
	padding:0;
}
.menu-title, .menu-item-has-children .menu-label{
	  font-size: 20px;
}
.sub-menu .menu-label {
	font-size: 14px!important;
  font-weight: 300!important;
} 
.mcb-section-inner-1prdo0a {
   display: flex !important;
   flex-direction: row !important;
   align-items: center !important;
}
#mfn-header-template {
    z-index: 99999 !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
}
/* Khi menu đang mở, hạ z-index của hamburger xuống */
body.mfn-sidebar-open #mfn-header-template {
    z-index: 999 !important;
}

body.mfn-sidebar-open .mfn-header-menu-burger {
    z-index: 999 !important;
}
/* Laptop 13-14" (MacBook, XPS) — CSS width ~1280px */
@media screen and (min-width: 1280px) and (max-width: 1440px) {
    .logo-wrapper img {
        width: 350px !important; /* giảm ~30% */
    }
}

/* Desktop 1080p — CSS width 1920px */
@media screen and (min-width: 1920px) {
    .logo-wrapper img {
        width: 360px !important;
    }
}
/* Ẩn hamburger khi menu mở */
body.mfn-side-menu-open .mfn-nav-icon,
body.mfn-menu-open .mfn-nav-icon {
    display: none !important;
}
/* Ẩn icon caret gốc */
.mfn-menu-li.menu-item-has-children > .outer-menu-sub i {
    display: none;
}

/* Ẩn outer-menu-sub gốc */
.mfn-menu-li.menu-item-has-children > .outer-menu-sub {
    display: none !important;
}

/* Thêm triangle vào sau label trong mfn-menu-link */
.mfn-menu-li.menu-item-has-children > .mfn-menu-link .menu-label::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #ffffff;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Xoay khi mở */
.mfn-menu-li.menu-item-has-children.mfn-submenu-open > .mfn-menu-link .menu-label::after,
.mfn-menu-li.menu-item-has-children.current-menu-ancestor > .mfn-menu-link .menu-label::after {
    transform: rotate(180deg);
}
html.mfn-sidemenu-12-active .mfn-header-menu-burger {
    display: none !important;
}
/*******slide**************/
.mfn-main-slider.mfn-rev-slider{
	border-bottom: 8px solid #4c8e91;
}
/* === TILE DEFAULT === */
.zoomout_img .column_banner_box {
  transform-origin: center center !important;
  transition: transform 0.6s ease !important;
  overflow: hidden;
}

/* === TILE HOVER — phình vừa phải === */
.zoomout_img .column_banner_box:hover {
   transform: scale(1.12); 
}
/* === ẢNH ZOOM TỪ CENTER === */
.zoomout_img .banner-image {
  overflow: hidden;
  border-radius: 12px;
}
/* === OVERLAY TỐI FADE IN === */
.zoomout_img .mfn-banner-box-image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  display: block;
  height: 100%;
	width:100%
}

.zoomout_img .mfn-banner-box-image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 60, 60, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: 12px;
}

.zoomout_img .column_banner_box:hover .mfn-banner-box-image-overlay::after {
  opacity: 1;
}

/* === TEXT FADE IN GIỮA === */
.zoomout_img .banner-desc {
  opacity: 0;
  transition: opacity 0.5s ease !important;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.zoomout_img .column_banner_box:hover .banner-desc {
  opacity: 1;
}

.zoomout_img .hidden-desc {
  height: auto !important;
  position: static !important;
  transform: none !important;
  text-align: center;
  width: 100%;
}

.zoomout_img .title.banner-item {
  color: #fff !important;
  font-size: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Inter';
}
/****************************/
#mfn-footer-template h5 {
	margin-bottom:0px;
}
#mfn-footer-template h5 a {
	color: #4c8e91!important;
}
#mfn-footer-template p {
	margin-bottom: 5px;
}
#side-nav-bg,
.mfn-side-nav-bg {
    pointer-events: none !important;
}
body.mfn-sidebar-open #side-nav-bg,
body.mfn-sidebar-open .mfn-side-nav-bg {
    pointer-events: all !important;
}
/********Contact*********/
::-webkit-input-placeholder {
    color: #ffffff!important;
}
.wpforms-field input:focus::placeholder,
.wpcf7-form-control-wrap input:focus::placeholder{
	opacity:0;
}
span.wpcf7-form-control-wrap .wpcf7-text,
span.wpcf7-form-control-wrap .wpcf7-textarea,
span.wpcf7-form-control-wrap .wpcf7-select,
span.wpcf7-form-control-wrap input[type="email"]{
	background: transparent!important;
    border: none!important;
	border-bottom:2px solid #fff!important;
	box-shadow:none;
	color:#fff;
	transition:.2s ease-in-out;
	padding-left:0;
}
span.wpcf7-form-control-wrap .wpcf7-select option {
	color:#000;
	padding-left:5px;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap input[type="email"]:focus,
.wpcf7-form-control-wrap .wpcf7-textarea:focus{
	border-bottom-style:solid!important;
}
.wpcf7-form label .wpcf7-form-label {
	opacity:0;
	transition: .3s ease;
}
.btn_send_contact {
    margin-top: 30px;
    background: 0 0;
    border: 2px solid #fff;
    color: #fff;
}
.btn_send_contact:hover {
    margin-top: 30px;
    background: #fff;
    border: 2px solid #fff;
    color: #33a2a0;
}
.border-left .mcb-wrap-background-overlay{
	border-left: 5px solid #4c8e91;
	transform: translate(-5%, -15%);
}
/*******footer***********/
#back_to_top {
	background-image: url(/wp-content/uploads/2026/06/Back-to-top-2.svg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100px;
    background-color: transparent;
	right:0!important;
	bottom: 0 !important;
	position: absolute!important;
	
}
#back_to_top .icon-up-open-big:before {
	content: "";
}

/*-------social---------------*/
#sb_instagram .svg-inline--fa.fa-play {
	background-image: url(/wp-content/uploads/2026/06/Icon-Play.svg);
    width: 40px!important;
    height: 40px!important;
    right: 5%!important;
    top: 40px!important;
    transform: translateY(100%);
}
#sb_instagram .svg-inline--fa.sbi_lightbox_carousel_icon {
	background-image: url(/wp-content/uploads/2026/06/Icon-Multiple.svg);
    width: 40px!important;
    height: 40px!important;
}
#sb_instagram .svg-inline--fa path{
	display:none;
}
/***************/
textarea {
    resize: vertical; 
}
.image_links .link svg .path {
    stroke: #4c8e91 !important;
    stroke-width: 2.5px !important;
}
.button-register-homeland .button_label {
	text-align: left;
    font-size: 22px;
}
textarea::-webkit-resizer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cline x1='2' y1='14' x2='14' y2='2' stroke='white' stroke-width='1.5'/%3E%3Cline x1='6' y1='14' x2='14' y2='6' stroke='white' stroke-width='1.5'/%3E%3Cline x1='10' y1='14' x2='14' y2='10' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 16px 16px;
}
/******swipe amities********/
/* ==========================================================================
   1. SỬA LỖI TRÀN KHUNG - ÉP HIỂN THỊ ĐỦ 5 CARD HÀNG NGANG
   ========================================================================== */
.slide-amenities {
    width: 100vw !important;     
    max-width: 100vw !important;
    left: 50% !important;         
    transform: translateX(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Phá vỡ giới hạn độ rộng cột mặc định của BeTheme trên khối container */
.slide-amenities, 
.slide-amenities > .mcb-wrap-inner.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
/*     height: auto !important;
    width: 100% !important; */
}
.slide-amenities.swiper {
    display: block !important;
    overflow: hidden !important;
    padding: 50px 0 !important;
    width: 100% !important;
}
/* ==========================================================================
   2. HIỆU ỨNG UI 3 GIỮA RÕ NÉT - 2 BÌA MỜ LẤP LÓ - CENTER ZOOM PADDING
   ========================================================================== */
/* Trạng thái mặc định (Sẽ tự áp dụng cho 2 hình lấp ló ngoài cùng sát viền) */
.slide-amenities .mcb-wrap.swiper-slide {
    float: left !important;
    height: auto !important;
    outline: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transform: none !important;
    clip-path: inset(-100px 0px -100px 0px);
    box-sizing: border-box !important;
    transition: transform 0.4s ease, opacity 0.4s ease !important;
/*     opacity: 0.3 !important; */
    transform-origin: center center !important;
/* 	transform: scale(0.95) !important;  */
	padding:0 25px;
}
/* RIÊNG HÌNH ACTIVE Ở CHÍNH GIỮA: Phóng to tối đa + Đổ bóng sâu nổi khối */
.slide-amenities .mcb-wrap.swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.15) translateZ(0) !important;
    z-index: 99 !important;
}
/* ==========================================================================
   3. ĐỒNG BỘ CHIỀU CAO KHUNG CARD ẢNH & TIÊU ĐỀ
   ========================================================================== */
.slide-amenities .image_wrapper,
.slide-amenities .image_wrapper img {
    border-radius: 16px !important;
	margin-bottom: 10px;

}
.slide-amenities .swiper-slide .mcb-column-inner {
	margin:0!important;
}
/************************/
@media (min-width:1100px) {
	.overlay-contact .mcb-background-overlay {
	   width:40%
	}
}
@media only screen and (max-width: 767px) {
    #back_to_top.in_footer, #back_to_top.sticky {
        right: 0px !important;
    }
}
@media only screen and (max-width: 767px) {
	.bg-parallax {
		background-size: cover;
        height: 180px !important;
	}
    .slide-amenities .swiper-arrow,
    .slide-amenities .swiper-button-next,
    .slide-amenities .swiper-button-prev,
    #sb_instagram .swiper-arrow,
    #sb_instagram .swiper-button-next,
    #sb_instagram .swiper-button-prev {
        display: none !important;
    }
}
#sb_instagram.swiper {
    display: block !important;
    overflow: hidden !important;
    padding: 50px 0 !important; 
    width: 100% !important;
}
#sb_instagram #sbi_images.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: auto !important;
    width: 100% !important;
}
/**********Swipe social**********/
 .wrap-socials .mcb-column-inner {
	margin-left:0!important;
	margin-right:0!important;
}
#sbi_images .swiper-wrapper {
    overflow: visible !important;
	display: block !important;
    text-align: left !important;
    height: auto !important;
    padding: 0 !important;
	overflow: visible !important;
	align-items: stretch !important;
	position: relative !important;
    padding-top: 30px !important;   
}
#sb_instagram #sbi_images {
    display: block !important;
    gap: 0 !important;
}
#sb_instagram .sbi_item.slick-center .svg-inline--fa.fa-play, 
#sb_instagram .sbi_item.slick-center .svg-inline--fa.sbi_lightbox_carousel_icon{
	right:12%!important;
}
#sbi_images .swiper-slide {
    float: left !important;
    height: auto !important;
    outline: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 0 15px !important; 
    transform: none !important; 
	clip-path: inset(-100px 0px -100px 0px);
	box-sizing: border-box !important;
    transition: transform 0.4s ease, opacity 0.4s ease !important; 
/*     opacity: 0.3!important;  */
    transform-origin: center center !important; 
}
#sbi_images .sbi_photo_wrap {
    width: 100% !important;
    max-width: none !important; 
    margin: 0 auto !important;
    border-radius: 16px !important; 
    overflow: hidden !important; 
    position: relative !important;
    transform: scale(0.95) !important; 
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
	aspect-ratio: 4 / 4.9 !important;
	transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.8s ease, 
                box-shadow 0.8s ease !important;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	
}
#sbi_images .swiper-slide.swiper-slide-active  {
    opacity: 1 !important;
    z-index: 9999 !important;
	transition: transform 0.4s ease;
	position:relative;
	transform: scale(1.15) translateZ(0) !important; 
	padding: 0 40px;
	overflow: hidden !important;
}
#sbi_images .swiper-slide {
    overflow: visible !important;
}
#sbi_images .sbi_photo,
#sbi_images .sbi_photo img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 16px !important;
	overflow: hidden !important;
}

#sbi_images .sbi_playbtn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 5 !important;
}
#sbi_images .sbi_playbtn path { fill: #ffffff !important; }
#sbi_images .sbi_playbtn {
    position: absolute !important;
    top: 15px !important; 
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    width: 28px !important; 
    height: 28px !important;
    transform: none !important;
    z-index: 5 !important;
}
#sbi_images .sbi_playbtn path {
    fill: #ffffff !important;
}
#sbi_images .sbi_lightbox_carousel_icon {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    width: 22px !important;
    height: 22px !important;
    z-index: 5 !important;
}
.slide-amenities .swiper-arrow   { 
    border-top: 2px solid #fff !important; 
    border-left: 2px solid #fff !important;
}
.swiper-arrow  {
    width: 17px !important;
    height: 17px !important;
    border-top: 2px solid #000 !important; 
    border-left: 2px solid #000 !important;
    display: block; 
	position: absolute !important;
/* 	margin: 25px !important; */
	background-clip: content-box !important; 
    box-sizing: content-box !important
}
/* TẠO VÙNG ĐỆM CLICK ẢO SIÊU RỘNG */
.swiper-arrow::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 120px !important;    /* Vùng nhận diện click rộng 80px */
    height: 120px !important;   /* Vùng nhận diện click cao 80px */
    transform: translate(-50%, -50%) !important;
    background: transparent !important; /* Trong suốt hoàn toàn */
    pointer-events: auto !important;
}
.swiper-button-prev, .slide-amenities .swiper-button-prev  {
    left: 20px !important; 
}
.swiper-button-prev, .slide-amenities .swiper-button-prev {
    transform: translate(0, -50%) rotate(-45deg) !important;
}

.swiper-button-next, .slide-amenities .swiper-button-next  {
    right: 20px !important;
}
.swiper-button-next, .slide-amenities .swiper-button-next  {
    transform: translate(0, -50%) rotate(135deg) !important;
} 
#sb_instagram #sbi_images .sbi_item.sbi_num_diff_hide {
	display:block!important;
}
.waves-green, .waves-white {
	position: relative !important;
    overflow: hidden !important;
}
.waves-green .mcb-background-overlay::before {
	background-image: url(/wp-content/uploads/2026/07/WAVES-left.png);
    content: "";
    position: absolute;
    background-position: top left;
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    transform: translateX(-45%);
	top:0;
}
.waves-green .mcb-background-overlay::after {
	background-image: url(/wp-content/uploads/2026/07/WAVES-right.png);
    content: "";
    position: absolute;
    background-position: bottom right;
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
	bottom:0;
}
.waves-white .mcb-background-overlay::before {
	background-image: url(/wp-content/uploads/2026/07/WAVES-white-left.png);
    content: "";
    position: absolute;
    background-position: top left;
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
	top:0;
}
.waves-white .mcb-background-overlay::after {
	background-image: url(/wp-content/uploads/2026/07/WAVES-white-right.png);
    content: "";
    position: absolute;
    background-position: bottom right;
    background-size: auto;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
	bottom:0;
}
#sbi_images .swiper-slide .sbi_photo_wrap::after {
	content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(28, 45, 55, 0.7) !important; 
    z-index: 99 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
}
#sbi_images .swiper-slide-active .sbi_photo_wrap::after {
	    background-color: transparent!important; 
}
.slide-amenities .swiper-slide .image_wrapper::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(28, 45, 55, 0.65) !important; 
    z-index: 99 !important;
    transition: opacity 0.4s ease !important;
    pointer-events: none !important;
	border-radius: 16px;
}
.slide-amenities .swiper-slide-active .image_wrapper::after {
	    background-color: transparent!important; 
}
@media screen and (min-width: 1360px) and (max-width: 1660px) {
	.waves-green .mcb-background-overlay::before {
		top:-7%!important;
		transform: translateX(-60%)!important;
	}
	.waves-white .mcb-background-overlay::before {
		top:-10%;
		transform: translateX(-20%)
	}
}
@media screen and (max-width: 1024px) {
	.waves-green .mcb-background-overlay::before, .waves-white .mcb-background-overlay::before {
		background-position: top right;
	}
	.waves-green .mcb-background-overlay::after, .waves-white .mcb-background-overlay::after {
		background-position: bottom left;
	}
}
