.hero-detail {
  position: relative;
  height: 70vh;
  margin-top: 80px;
  overflow: hidden;
  max-height: 520px;
}
.hero-detail:before {
  position: absolute;
  left: 0;
  right: 0;
  content: '';
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  height: 100%;
  width: 100%;
  z-index: 1;
}
.hero-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.hero-detail h1 {
  z-index: 2;
}

.s-recomendation {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  padding-top: 70px;
  padding-bottom: 70px;
  position: relative;
}
.s-recomendation.bg-white {
  background: white;
}
.btn-filter {
  background: #f1f3fa;
  border-radius: 100px;
  padding: 6px;
  overflow: auto;
  gap: 10px;
  flex-wrap: nowrap;
}
.btn-filter .nav-item {
  width: 100%;
}
.btn-filter .nav-item .nav-link {
  color: #7b7b7b;
  font-weight: 500;
  font-size: 16px;
  width: 100%;
  border-color: transparent;
  padding: 18.7px 15px;
  border-radius: 72px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  white-space: nowrap;
}
.btn-filter .nav-link.active {
  color: #071c53;
  background: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.06);
  font-weight: 800;
  font-size: 18px;
}
.btbtn-filtern:first-child:active,
.btn-filter .nav-link:focus,
.btn-filter .nav-link:focus-visible,
.btn-filter .nav-link:active,
.btn-filter .nav-link:hover {
  border-color: white;
  color: #071c53;
  background: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.06);
}
.btn-filter .nav-item .nav-link span {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgb(70 70 70 / 8%) 0px,
    rgb(135 135 135 / 40%) 100%
  );
}
.btn-filter .nav-item .nav-link span i {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d9d9d9;
}
.btn-filter .nav-item .nav-link span i img {
  max-width: 100%;
  max-height: 100%;
  filter: brightness(0) saturate(100%) invert(51%) sepia(0%) saturate(1%)
    hue-rotate(153deg) brightness(93%) contrast(83%);
}
.btn-filter .nav-link:hover span,
.btn-filter .nav-link.active span {
  background: linear-gradient(125deg, #7883a1 0px, #47567f 100%);
}
.btn-filter .nav-link.active span i {
  background: #071c53;
}
.btn-filter .nav-link:hover span i {
  background: #071c53;
}
.btn-filter .nav-link:hover span i img,
.btn-filter .nav-link.active span i img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(10%) saturate(7491%)
    hue-rotate(182deg) brightness(97%) contrast(114%);
}

/* s-explore */
.s-exp-nusantara {
  padding-top: 20px;
}
.card-img-exp {
  border-radius: 10px;
  overflow: hidden;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  min-height: 350px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.card-img-exp:before {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  left: 0;
  content: '';
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.card-img-exp img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: ease all 0.3s;
  position: absolute;
  top: 0;
  left: 0;
}

.card-img-exp:hover img {
  transform: scale(1.1);
}

.card-img-exp-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 30px;
  color: white;
  z-index: 2;
}

.card-img-exp-body h4 {
  font-size: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-img-exp-body span {
  font-size: 14px;
  color: #d9d9d9;
}

/* Video */
.s-video {
  padding-top: 70px;
  padding-bottom: 70px;
}
.s-video .container {
  position: relative;
  z-index: 1;
}
.owl-video .item {
  height: 560px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  transition: ease all 0.3s;
}
.owl-video .owl-item.active .item {
  padding-top: 0;
  padding-bottom: 0;
}
.owl-video .item iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.owl-video .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: ease all 0.3s;
}
.owl-video .item:hover img {
  transform: scale(1.1);
}
.owl-video .item .desc {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 25px;
  max-width: 60%;
  border-top-right-radius: 20px;
}
.owl-video .item .desc h4 {
  font-size: 32px;
}
.owl-video .item .desc span {
  font-size: 14px;
  color: #d9d9d9;
}
.owl-video.owl-carousel .owl-stage-outer {
  overflow: visible;
}
.owl-video.nav-center.owl-carousel .owl-nav button.owl-prev {
  left: auto;
  right: 100%;
  margin-right: 10px;
}
.owl-video.nav-center.owl-carousel .owl-nav button.owl-next {
  right: auto;
  left: 100%;
  margin-left: 10px;
}
.owl-video.nav-center.owl-carousel .owl-nav button:hover {
  opacity: 0.8;
}

.video-desc {
  margin-top: 20px;
}

.video-desc h3 {
  color: #0a0a0a;
  font-weight: 700;
  font-size: 32px;
}

.video-desc span {
  color: var(--blue);
  font-size: 16px;
}

.owl-carousel .item iframe {
  display: block;
  margin: 0 auto;
}

/* DETAIL */
.img-frame {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.video-immersive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 0 -100px rgba(0, 0, 0, 0.2);
}

.video-immersive iframe {
  border-radius: 10px;
  width: 100%;
  height: 640px;
  border: none;
}

/* Social Media */
.s-social-media {
  padding-top: 70px;
  padding-bottom: 70px;
  /* margin-top: 80px; */
}
.owl-social-media.owl-carousel .owl-stage-outer {
  overflow: visible;
}
.owl-social-media.nav-center.owl-carousel .owl-nav button.owl-prev {
  left: auto;
  right: 100%;
  margin-right: 10px;
}
.owl-social-media.nav-center.owl-carousel .owl-nav button.owl-next {
  right: auto;
  left: 100%;
  margin-left: 10px;
}
.owl-social-media.nav-center.owl-carousel .owl-nav button:hover {
  opacity: 0.8;
}
.thumb-testi {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 56px;
  overflow: hidden;
}
.thumb-testi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.decs-testi h5 {
  font-size: 18px;
  color: #071c53;
  margin-bottom: 0;
  font-weight: 700;
}
.decs-testi p {
  font-size: 16px;
  font-weight: 500;
  color: #071c53;
  margin-bottom: 0;
}

.owl-social-media .item {
  height: 580px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.owl-social-media .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.owl-social-media .item span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px;
}

.s-explore,
.s-immersive {
  margin-top: 100px;
}

.s-island {
  margin-top: 100px;
  padding: 20px 0;
  position: relative;
}

#map-detail {
  position: absolute;
  height: 500px;
  width: 55%;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  border-radius: 10px;
  background-color: transparent;

}
.map-pin-point {
  background: none !important;
  border: none !important;
}
.province-label {
  background: none !important;
  border: none !important;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  text-transform: capitalize !important;
}

#map-landing {
  position: absolute;
  height: 400px;
  width: 69%;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: auto;
  border-radius: 10px;
  background-color: transparent;
}

.province-tooltip {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
}

.leaflet-control-attribution {
  display: none;
}

/* Section Recomendation */
.owl-recomendation {
  position: relative;
}
.owl-recomendation.owl-carousel .owl-stage-outer {
  overflow: visible;
}
.owl-recomendation.nav-center.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: 0;
  margin-left: 230%;
  top: 2%;
  margin-top: -30%;
}
.owl-recomendation.nav-center.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  left: 0;
  top: 2%;
  margin-top: -30%;
  margin-left: 245%;
}
.owl-recomendation.nav-center.owl-carousel .owl-nav button img {
  height: 26px;
  width: 26px;
}
.owl-recomendation.nav-center.owl-carousel .owl-item {
  height: 360px;
}
.owl-recomendation.nav-center.owl-carousel .owl-item .item {
  height: 360px;
}
.owl-recomendation.nav-center.owl-carousel .owl-item.active {
  height: 532px;
}
.owl-recomendation.nav-center.owl-carousel .owl-item.active .item {
  height: 532px;
}
.owl-recomendation.owl-theme .owl-dots {
  position: absolute;
  top: 4%;
  right: -150%;
  /* float: right; */
  margin-top: -40%;
  /* margin-left: 100px; */
  width: 200%;
  display: flex;
  overflow: hidden;
}
.owl-recomendation.owl-theme .owl-dots .owl-dot {
  width: 100%;
}
.owl-recomendation.owl-theme .owl-dots .owl-dot span {
  width: 100%;
  margin: 0;
  height: 4px;
  background: #e2e2e2;
  border-radius: 0;
}
.owl-recomendation.owl-theme .owl-dots .owl-dot:last-child span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.owl-recomendation.owl-theme .owl-dots .owl-dot:first-child span {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.owl-recomendation.owl-theme .owl-dots .owl-dot.active span {
  background: #333333;
  border-radius: 4px;
}
.frame-item .carousel-status {
  font-size: 16px;
  top: -150px;
  width: 608px;
  max-width: 100%;
  right: auto;
  transform: none;
  position: absolute;
  font-weight: 700;
  font-size: 18px;
  color: black;
  z-index: initial;
}
.frame-item .carousel-status span {
  font-size: 32px;
}
.owl-recomendation.nav-center.owl-carousel .owl-nav button:hover {
  opacity: 0.8;
}
.thumb-testi {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 56px;
  overflow: hidden;
}
.thumb-testi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.decs-testi h5 {
  font-size: 18px;
  color: #071c53;
  margin-bottom: 0;
  font-weight: 700;
}
.decs-testi p {
  font-size: 16px;
  font-weight: 500;
  color: #071c53;
  margin-bottom: 0;
}

.s-recomendation {
  overflow-x: hidden;
}

.frame-item {
  width: 360px;
}

.owl-recomendation .item {
  height: 240px;
  width: 360px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 100px 0 -500px rgba(0, 0, 0, 0.9);
}

.owl-recomendation .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

/* Tetap tampilkan h3 di semua item carousel */
.owl-recomendation .item h3 {
  display: block;
  position: relative;
  z-index: 1;
}

/* Tetap sembunyikan konten lainnya kecuali h3 */
.owl-recomendation .item .content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 24px;
  display: none; /* Sembunyikan content kecuali untuk item aktif */
}

.title-non-active {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 24px;
  margin-bottom: 0;
}

.owl-recomendation .owl-item.active .title-non-active {
  display: none;
}

/* Tampilkan seluruh konten (termasuk h3) di item aktif */
.owl-recomendation .owl-item.active .content {
  display: block !important;
}

.owl-recomendation .item:not(.active) .content h3 {
  display: block !important;
}

.owl-recomendation .owl-item:not(.active) .item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* Keep the full height for non-active items */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  transition: height 0.5s ease-in-out;
}

.owl-recomendation .owl-item.active .item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
  transition: height 0.5s ease-in-out;
  height: 0;
}

.owl-recomendation .owl-item.active .item::before {
  height: 60%;
}

.content p {
  color: #dadada;
  margin-bottom: 44px;
  padding-top: 24px;
}

.owl-recomendation .owl-item.active .item {
  height: 650px;
  width: 360px !important;
  box-shadow: 0 100px 0 -500px rgba(0, 0, 0, 0.9);
  transition: all;
  /* transition-duration: 0.3s; */
}

.owl-destination-detail .item {
  height: 480px;
}

.owl-center{
  display: flex !important;
  justify-content: center !important;
}

.img-explore {
  min-height: 400px;
}

.tabs-outline {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  border: 0;
  flex-wrap: nowrap;
  padding-bottom: 6px;
}

.tabs-outline .nav-item button {
  border: 1px solid rgba(7, 28, 83, 0.2);
  border-radius: 50px;
  color: #071c53;
  font-size: 16px;
  padding-left: 20px;
  padding-right: 20px;
  white-space: nowrap;
}
.tabs-outline .nav-item button:hover,
.tabs-outline .nav-item button.active {
  border: 1px solid #071c53;
  background: #071c53;
  color: white;
}

.tabs-outline .dropdown .btn-secondary {
  border: 1px solid rgba(7, 28, 83, 0.2);
  border-radius: 50px;
  color: #071c53;
  font-size: 16px;
  padding: 8px 20px;
  background: white;
  white-space: nowrap;
}

.tabs-outline .dropdown .btn-secondary:hover,
.tabs-outline .dropdown .btn-secondary:active,
.tabs-outline .dropdown .btn-secondary.active,
.tabs-outline .dropdown .btn-secondary[aria-expanded="true"] {
  border: 1px solid #071c53;
  background: #071c53;
  color: white;
}

.tabs-outline .dropdown-menu {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 200px;
}

.tabs-outline .dropdown-item {
  color: #071c53;
  padding: 8px 16px;
  font-size: 16px;
}

.tabs-outline .dropdown-item:hover {
  background: rgba(7, 28, 83, 0.05);
}

.tabs-outline .dropdown .btn-secondary::after {
  content: "";
  border: solid #071c53;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 8px;
}

.tabs-outline .dropdown .btn-secondary[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  border-color: white;
  vertical-align: baseline;
}

.tabs-outline .dropdown .btn-secondary:hover::after,
.tabs-outline .dropdown .btn-secondary.active::after{
  border-color: white;
}

.tabs-outline .dropdown-menu::-webkit-scrollbar {
  width: 5px;
}
 
.tabs-outline .dropdown-menu::-webkit-scrollbar-thumb {
  background: #071c53;
  border-radius: 10px;
}
 
.tabs-outline .dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}
 
.tabs-outline .dropdown-menu {
  scrollbar-width: thin;
  scrollbar-color: #071c53 transparent;
}

.background-maps-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  z-index: 0;
}

.map-container {
  position: relative;
}

#map-indonesia-provinces {
  height: 500px;
  width: 100%;
  background-color: transparent;
  top: -20px;
  /* scale: 1.2; */
  z-index: 1;
}
.leaflet-control-attribution {
  display: none;
}

.island-label {
  background: transparent;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  text-align: center;
  text-transform: capitalize;
  margin-top: 10px;
  font-family: 'Playfair Display', serif;
  opacity: 0.3;
  -webkit-text-stroke: 0.5px #000000;
  transition: all 0.3s ease;
}
.island-label.bold {
  color: #000000 !important;
  opacity: 0.8;
  -webkit-text-stroke: 0.5px #000000;
}

.modal-dialog-right {
  position: fixed;
  margin: auto;
  width: 100%;
  height: fit-content;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 460px;
}

.modal-content-region {
  background-color: white;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.modal.fade .modal-dialog-right {
  transform: translate(100%, -50%);
  transition: transform 0.2s ease-out;
}

.modal.show .modal-dialog-right {
  transform: translate(0, -50%);
}

.region-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  object-fit: cover;
}

.region-content-container {
  padding: 40px 40px 0 40px;
}

.region-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--blue);
}

.region-content p {
  color: #4f4f4f;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
}

.accordion-province-desc .accordion-button:not(.collapsed) {
  background-color: white;
}

.accordion-province-desc .accordion-header button {
  font-weight: bold;
  font-size: 22px;
}
.accordion-province-desc .accordion-body {
  background-color: #f0f4fc;
}

.dropdown-menu .dropdown-item.active {
  border: 1px solid #071c53;
  background: #071c53;
  color: white;
}

.dropdown-menu li {
  cursor: pointer;
}

.tab-dtw .nav-tabs {
  padding: 6px;
  overflow: auto;
  gap: 10px;
  flex-wrap: nowrap;
  border-bottom: none;
}

.tab-dtw .nav-link {
  color: #7b7b7b;
  font-weight: bold;
  border: none;
}

.tab-dtw .nav-link:hover {
  color: #071c53;
  border-bottom: 3px solid #071c53;
}

.tab-dtw .nav-link.active {
  color: #071c53;
  border-bottom: 3px solid #071c53;
}

.touristvillage-facilities-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns with equal width */
  gap: 20px; /* Space between columns */
  list-style: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

.touristvillage-facilities-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 columns with equal width */
  gap: 20px; /* Space between columns */
  list-style: none; /* Remove default list styling */
  padding: 0;
  margin: 0;
}

.owl-touristvillage .owl-stage-outer {
  overflow: hidden;
}