/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/*Body*/
html{
  overflow-x: hidden;
}
/* 03. Navigation */
.trb-hidden{
  display:none;
}
.trb-archive-category-grid{
  margin-top: 50px;
  margin-bottom:30px;
}
.blog-category.current-category{
  font-weight: 700!important;
}
.trb-archive-post-grid{
  margin-top: 50px;
}
.nav-trigger {
  margin: 0px 0px 0px 10px;
  padding-top: 3px;
  float: left;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s;
  z-index: 10;
  height: auto;
  width: 50px;  
}

.navGeneral .nav-trigger .svg-path{
  fill: white;
}

#navigation .nav-trigger .svg-path{
  fill: black;
}

.path-black .nav-trigger .svg-path{
  fill: black;
}


.nav-trigger .bar {
  width: 50px;
  height: 2px;
  background: #fff;
  margin: 4px 0 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

#navigation {
  width: 500px;
  background: #fff;
  position: fixed;
  top: 0;
  left: -500px;
  height: 100%;
  -webkit-transition: -webkit-transform .4s;
  transition: -webkit-transform .4s;
  transition: transform .4s;
  transition: transform .4s, -webkit-transform .4s;
}

#navigation .menu-item a{
    text-decoration: none!important;
}

#navigation .nav-trigger {
  position: absolute;
  top: -35px;
  left: -5px;
  opacity: 0;
}

#navigation .nav-trigger .bar {
  background: #000;
  opacity: 0;
  margin: 0;
}

#navigation .nav-trigger .bar:first-child {
  margin-top: 17px;
  opacity: 1;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

#navigation .nav-trigger .bar:last-child {
  opacity: 1;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin-top: -5px;
}

#navigation .inner {
  margin: 60px;
  position: relative;
  padding-top: 40px;
}

#navigation hr {
  opacity: .3;
  margin: 40px 0;
}

.trb-header-black .nav-trigger .bar {
  background: #000;
}

#navigation p {
  color: #3D3D3D;
  font-family: EB Garamond;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

ul.menu, ul.menu-small {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

ul.menu li, ul.menu-small li {
  padding: 0;
  margin: 15px 0;
}

ul.menu li:first-child, ul.menu-small li:first-child {
  margin-top: 0;
}

ul.menu li:last-child, ul.menu-small li:last-child {
  margin-bottom: 0;
}

ul.menu li a, ul.menu-small li a {
  display: block;
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
  color: #3D3D3D;
  font-family: Space Grotesk;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 19.2px */
  letter-spacing: 3.6px;
  text-transform: uppercase;
}

ul.menu li a:hover, ul.menu-small li a:hover {
  text-decoration: none;
  opacity: .5;
}

ul.menu-small li {
  margin: 15px 10px;
  display: inline-block;
}

ul.menu-small li:first-child {
  margin-left: 0;
}

ul.menu-small li:last-child {
  margin-right: 0;
}

body.menu-active {
  background: #fff;
}

body.menu-active .toggleContainer * {
  color: #fff;
}

body.menu-active header .nav-trigger {
  opacity: 0;
  margin: 10px 0px 0px 0px;
}

body.menu-active header.nav-sticky.elementor-sticky--active .nav-trigger{
  margin: 0px;
}

body.menu-active #navigation .nav-trigger {
  opacity: 1;
}

body.menu-active .container-fluid {
  opacity: 0.9;
}

/* Sticky Header */
.theridge-sticky-active .navGeneral .nav-trigger .svg-path{
  fill: black;
}

.nav-sticky.elementor-sticky--active{
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active{
  background: #FFF;
  background-color: #FFF;
  padding: 5px 30px 5px 30px!important;
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active .elementor-element-populated{
  padding: 10px;
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active .nav-trigger .bar {
  background: #101010;
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active .btn-reserve .elementor-widget-container a{
  color: #101010;
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active .btn-reserve .elementor-widget-container{
  border-color: #101010;
}

.nav-sticky.elementor-sticky--active.theridge-sticky-active .the-ridge-logo img{
  filter: invert(1) hue-rotate(0deg) brightness(0.5);
  fill: #101010;
  width: inherit;
}

.trb-header-black.nav-sticky.nav-sticky.elementor-sticky--active{
  transition: none;
}

.trb-header-black.nav-sticky.elementor-sticky--active .the-ridge-logo img {
  filter: inherit;
  fill: inherit;
  width: 194px;
}

.trb-header-black.nav-sticky.elementor-sticky--active.theridge-sticky-active .the-ridge-logo img{
  width: 194px;
}

#theRidgeCarousel.the-ridge-carousel .swiper-pagination.swiper-pagination-bullets span.swiper-pagination-bullet{
    width: 100px;
    border: none;
    text-indent: -666666px;
    height: 1px;
    padding: 0;
    background: #CECECE;
    cursor: pointer;
    border-radius: 0!important;
    position: relative;
}

#theRidgeCarousel.the-ridge-carousel .swiper-pagination.swiper-pagination-bullets span.swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;
    background: transparent; /* Pastikan tidak ada warna latar belakang */
    cursor: pointer; /* Pastikan kursor menunjukkan bahwa ini dapat diklik */
    z-index: -1; /* Pastikan elemen ini berada di belakang elemen utama */
}

#theRidgeCarousel.the-ridge-carousel .swiper-pagination.swiper-pagination-bullets span.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: #101010;
}

#theRidgeCarousel.the-ridge-carousel .swiper-slide.swiper-slide-active{
  opacity: 0.4;
  -webkit-transition: opacity .4s;
  transition: opacity .4s;
}

.the-ridge-sectiom ul, .the-ridge-sectiom ol {
    margin: 0px;
    padding: 10px 15px;
}

/* Button Hover Arrow */
.hero-wrap .menu-hover-arrow {
    position: relative;
}

.hero-wrap .menu-hover-arrow svg {
    position: absolute;
    bottom: -55px; /* Adjust sesuai kebutuhan */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-wrap .menu-hover-arrow:hover svg {
    opacity: 1;
}

/* Button Hover Line*/
.button-hover-line .elementor-button-link {
    position: relative;
    text-decoration: underline; /* Default dengan garis bawah */
    overflow: hidden; 
}

.button-hover-line .elementor-button-link:hover {
    text-decoration: none !important; /* Pakai !important agar pasti diterapkan */
}

.button-hover-line .elementor-button-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%; 
    height: 1px; 
    background-color: currentColor; 
    transition: right 0.6s ease; 
    opacity: 0; /* Garis bawah default tidak terlihat */
}

.button-hover-line .elementor-button-link:hover::after {
    right: 0; 
    opacity: 1; /* Garis bawah terlihat saat di-hover */
}


/* Button Accordion*/
#trbi-Floorplan, #trbi-Amenities, #trbi-Spesification {
/*    display: none;*/
}

.trbi-Facilities ul {
    padding-left: 0rem;
    margin-left: 2rem;
}

.trbi-title-link, .trbi-title-link a{
   font-family: EB Garamond!important;
   font-size: 32px!important;
   line-height: 44px!important;
   color: #3d3d3d!important;
   font-style: normal!important;
   text-decoration: none!important;
   font-weight: 400!important;
   text-transform: unset!important;
   letter-spacing: normal!important;
}

@media screen and (min-width: 768px) {
  body.menu-active .container-fluid {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
  body.menu-active #navigation {
    -webkit-transform: translateX(500px);
            transform: translateX(500px);
  }
  #trbContactForm .elementor-field-type-recaptcha{
    width: 70%;
    float: left;
  }
  #trbContactForm .elementor-field-type-html{
    width: 30%;
    float: right;
    text-align: right;

  }
}

@media screen and (max-width: 768px) {
  .the-ridge-nav-column .the-ridge-logo{
    padding-left: 20px;
  }
  .nav-trigger {
    margin: 0px 0px 0px 0px;
  }
  body.menu-active .nav-trigger {
    top: -45px;
  }
  body.menu-active .nav-trigger .bar {
    width: 30px;
  }
  body.menu-active .container-fluid {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  #navigation .inner {
    margin: 60px 30px;
    padding-top: 20px;
  }
  ul.menu-small li {
    display: block;
    margin: 15px 0;
  }
  ul.menu li, ul.menu-small li {
    margin: 20px 0;
    font-size: 1.2em;
  }
  body.menu-active #navigation {
    -webkit-transform: translateX(500px);
            transform: translateX(500px);
  }
  .nav-sticky.elementor-sticky--active.theridge-sticky-active .the-ridge-logo img{
    filter: invert(1) hue-rotate(0deg) brightness(0.5);
    fill: #101010;
    width: auto;
  }
  .trb-header-black.nav-sticky.elementor-sticky--active .the-ridge-logo img {
    filter: inherit;
    fill: inherit;
    width: 194px;
  }
  .nav-sticky.elementor-sticky--active.theridge-sticky-active{
    padding: 0px 10px 0px 10px!important;
  }
  .nav-sticky.elementor-sticky--active.theridge-sticky-active .the-ridge-nav-column{
    height: inherit;
  }
  .nav-sticky.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding-left: 0px;
    padding-right: 0px;
  }
  .nav-sticky .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding-left: 0px;
    padding-right: 0px;
  }
  .nav-sticky.elementor-sticky--active.theridge-sticky-active .elementor-element-populated{
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media screen and (max-width: 480px) {
  #navigation {
    width: 100%;
    overflow-y: scroll;
    display: block;
  }
  .theridge-bali-layout header#navSticky{
    padding-left: 20px!important;
    padding-right: 20px!important;
  }
  .theridge-bali-layout section.elementor-section.elementor-top-section{
    padding-left: 20px!important;
    padding-right: 20px!important;
  }
  .single-post ul.elementor-inline-items.elementor-icon-list-items.elementor-post-info{
    justify-content: space-between;
  }
  .single-post .elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {
    display: flex;
    justify-content: center;
  }
  .single-post .container-fluid.blog-section {
    padding: 0px;
  }
  .nav-trigger {
    padding-top: 10px;
  }
  #navigation .nav-trigger {
    top: -50px;
  }
  .trb-archive-category-grid{
    margin-top: 0px;
  }
  .trb-archive-category-grid .row>* {
    width: auto!important;
  }
  .trb-archive-post-detail{
    padding: 0px;
  }
}
@media screen and (max-width: 768px) {
  #navigation hr {
    margin: 20px 0;
  }
}