/* =========================================
   IMPORTS & FONT-FACE
========================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

/* =========================================
   GLOBAL & TYPOGRAPHY
========================================= */
::-webkit-scrollbar {
  width: 2px;
}

.font-text {
  font-family: "Open Sans", sans-serif;
}

.font-title {
  font-family: "Nimbus", sans-serif;
}

.font-cinzel {
  font-family: "Cinzel", serif !important; 
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-playfair {
  font-family: "Playfair", sans-serif;
}

.shadow {
  text-shadow: 0px 2px 3px rgba(0,0,0,0.6);
}

.chatbot-txt-scale {
  /* transform: scale(0.8); */
  right: 35% !important;
}

[class*="txt-info-"] {
  width: 320px !important;
}

/* 1. Default Value: Visible = false */
.mobile {
  display: none !important;
}

/* =========================================
   VIRTUAL BUDDY & BOX STYLES
========================================= */
.box {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);          
  -webkit-backdrop-filter: blur(13px);    
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.box-vb {
  border-radius: 20px;
  background: #FCFCFC;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.9) 100%);
}

.box-vb-mobile {
  border-radius: 20px;
  background: #FCFCFC;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0.9) 100%);
}

.text-vb {
  font-family: "Nimbus", sans-serif;
  line-height: 1.5;
}

.btn-vb {
  background-color: #f4f4f4; 
  color: #616161; 
  font-family: "Poppins", sans-serif;
  font-size: 16px; 
  font-weight: 500; 
  text-align: center;
  padding: 4px 12px;
  border: none; 
  border-radius: 50px; 
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); 
  cursor: pointer;
  transition: all 0.2s ease-in-out; 
  display: inline-block;
  width: 100px !important;
}

/* =========================================
   BUTTONS (OPENING & NAVIGATION)
========================================= */
.btn {
  border-radius: 50px; 
  font-family: 'Arial', sans-serif; 
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-filled {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2), 
              inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.btn-filled:hover,
.btn-outline:hover {
  transform: translateY(-2px); 
}

.btn-outline {
  color: #ffffff;
  border: 1.5px solid rgb(255, 255, 255) !important; 
}

/* Base Nav Buttons */
.btn-red, 
.btn-white, 
.btn-objinfo-next, 
.btn-objinfo-skip, 
.btn-objinfo-back, 
.btn-back-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 4px 4px 8px; 
  -webkit-user-select: none; 
     -moz-user-select: none; 
      -ms-user-select: none; 
          user-select: none;
  outline: none;
  gap: 6px; 
}

.btn-objinfo-back, 
.btn-back-mobile {
  padding: 4px 8px 4px 4px !important;
}

/* Tombol Merah (Skip / Red) */
.btn-red, 
.btn-objinfo-skip {
  background: #ff0000;
  color: #fefefe;
  background: linear-gradient(63deg, rgba(255, 0, 0, 1) 0%, rgba(214, 0, 0, 1) 50%, rgba(150, 0, 0, 1) 100%);
}

.btn-red::after, 
.btn-objinfo-skip::after {
  content: '\276F'; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 23px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  background: #ff0000;
  color: #fefefe;
  background: linear-gradient(38deg, rgba(255, 0, 0, 1) 0%, rgba(214, 0, 0, 1) 70%, rgba(166, 0, 0, 1) 100%);
}

/* Tombol Putih / Abu (Next & Back) */
.btn-white, 
.btn-back-mobile, 
.btn-objinfo-next, 
.btn-objinfo-back {
  background-color: #e6e6e6;
  color: #4a4a4a;
}

.btn-white::after, 
.btn-objinfo-next::after {
  content: '\276F'; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 23px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  background-color: #ffffff;
  color: #a0a0a0;
  box-shadow: -1px 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-objinfo-back::before, 
.btn-back-mobile::before {
  content: '\276E'; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 23px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  background-color: #ffffff;
  color: #a0a0a0;
  box-shadow: -1px 2px 5px rgba(0, 0, 0, 0.1);
}

/* =========================================
   MEDIA QUERIES (DESKTOP TO MOBILE)
========================================= */

@media screen and (max-width: 1920px) {
  .nama-lokasi {
    padding-left: 10px;
  }
}

@media (max-width: 1536px) and (min-width: 1300px) {
  .nama-lokasi {
    left: 8.5% !important; 
    width: 160px !important; 
  }
  .title-main img {
    top: -30px !important;
  }
  .text-welcome div {    
    font-size: 16px !important; 
    line-height: 1.4;
  }
  .flag div {
    width: 40px !important;
    height: 40px !important;
  }
  .font-text div {
    font-size: 17px !important;
  }
  .font-title div {
    font-size: 17px !important;
  }
  .welcome-txt {
    top: 33% !important;
  }
  .welcome-txt div {
    font-size: 23px !important;
  }
  .txt-mobile div {
    font-size: 16px !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  div:has(> .font-desc-mobile) {
    width: 100% !important;
    left: 0px !important;
  }
  .font-title-mobile div {
    font-size: 27px !important;
    margin: 30px 0px;
  }
  .font-desc-mobile div {
    font-size: 18px !important;
    padding: 0px 100px !important;
  }
  div:has(> div > .text-welcome) {
    width: 83% !important;
    margin: 0px auto;
    padding: 20px !important;
    left: 6% !important;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1299px) {
  .txt-mobile div {
    font-size: 14px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .welcome-container {
    width: 100% !important; 
    left: 0 !important;
  }
  .flag {
    left: 68% !important;
    width: 37% !important;
  }
  .container-welcome-txt {
    width: 100% !important; 
    left: 0% !important;
  }
  .font-title-mobile div {
    font-size: 36px !important;
  }
  div:has(> .font-desc-mobile) {
    width: 100% !important;
    left: 0px !important;
  }
  .font-desc-mobile div {
    font-size: 20px !important;
    margin-top: -30px;
  }
  div:has(img[src="images/loadscreenmobile.jpg"]) img {
    -o-object-fit: cover !important;
       object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
  div:has(> div > .text-welcome) {
    width: 83% !important;
    margin: 0px auto;
    padding: 20px !important;
    left: 6% !important;
  }
}


/* 2. Trigger: < 834px (setara dengan <= 833px) */
@media (max-width: 833px) {
  .mobile {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .txt-mobile {}
  .txt-mobile div {
    font-size: 16px !important;
  }
}

@media only screen and (max-width: 767px) {
  .welcome-txt {
    top: 33% !important;
  }
  .font-title-mobile div {
    font-size: 25px !important;
  }
  .font-desc-mobile div {
    font-size: 14px !important;
    line-height: 1.4;
  }
  .text-welcome div {
    font-size: 16px !important;
  }
  .popup_url-discover,
  .popup_url-menu {
    top: 0% !important;
  }
  .popup_url-discover div,
  .popup_url-menu div {
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .txt-mobile div {
    font-size: 15px !important;
  }
}

@media screen and (min-resolution: 120dpi), 
       screen and (-webkit-min-device-pixel-ratio: 1.25) {
  :fullscreen .bottom-menu,
  :-webkit-full-screen .bottom-menu {
    transform: translate(0px, 0px) rotate(0deg) scale(0.85, 0.85) !important;
    transform-origin: bottom center !important;
    bottom: 0px !important;
  }
  :fullscreen .chatbot-res,
  :-webkit-full-screen .chatbot-res {
    transform: translate(0px, 0px) rotate(0deg) scale(0.85, 0.85) !important;
    transform-origin: center right !important;
  }
  :fullscreen .menu-scale,
  :-webkit-full-screen .menu-scale {
    transform: translate(0px, 0px) rotate(0deg) scale(0.85, 0.85) !important;
    transform-origin: center left !important;
  }
}


.box-peta {
  background-color: rgba(255, 255, 255, 0.2); 
  
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  
  border: 0.5px solid #ffffff;
  
  border-radius: 6px; 
}
@media screen and (max-height: 920px) {
  .peta-text div{
    font-size: 14px !important;
  }
}

.settings-open{
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.378) 100%) !important;
  border-radius: 100px !important;
}