/* =========================================
   IMPORTS & FONTS
========================================= */
@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");

@font-face {
  font-family: 'Nimbus';
  src: url('NimbusRomNo9L-Reg.woff2') format('woff2'),
       url('NimbusRomNo9L-Reg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   GLOBAL UTILITIES
========================================= */
::-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-family: "Open Sans", sans-serif;
}

.font-playfair {
  font-family: "Playfair", sans-serif;
}

/* =========================================
   COMPONENTS
========================================= */
.map {
  border-radius: 15px;
  box-shadow: 0 0 10px #e3eeff;
  transition: box-shadow 0.3s ease-in-out;
}

.map:hover {
  box-shadow: 0 0 15px #e3eeff;
}

.text-lokasi div {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.kategori {
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
  letter-spacing: 3px;
}

.glow {
  transition: box-shadow 0.5s ease-in-out;
  border-radius: 100px;
}

.glow:hover {
  box-shadow: 0 0 5px #ffffff;
}

.text-glow {
  text-shadow: 0 0 5px #ffffff;
}

.back-text {
  letter-spacing: 3px;
}

.box-settings {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
  background-clip: 10px;
}

/* =========================================
   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.7) 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),
    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: linear-gradient(38deg, rgba(255, 0, 0, 1) 0%, rgba(214, 0, 0, 1) 70%, rgba(166, 0, 0, 1) 100%);
  color: #fefefe;
}

/* 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
========================================= */

/* --- MOBILE --- */
@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: 16px !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;
  }
}

/* --- TABLET STANDAR (Portrait) --- */
/* Target: iPad, Samsung Tab (Posisi Berdiri) */
@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 {
    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;
  }
}

/* --- TABLET (Landscape) --- */
@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;
  }
}

/* --- LAPTOP / SMALL DESKTOP --- */
@media (min-width: 1300px) and (max-width: 1536px) {
  .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; }
}

/* --- LARGE DESKTOP --- */
@media screen and (max-width: 1920px) {
  .nama-lokasi {
    padding-left: 10px;
  }
}

/* =========================================
   COMMENTED OUT / ARCHIVED CODE
========================================= */

/* 
.ggskin_container:has(> .ggskin_image:first-child:nth-last-child(4)) {
  width: 35% !important;
  margin-left: 48px !important;
  top: 53% !important;
}
.ggskin_container:has(> .ggskin_image:first-child:nth-last-child(4)) > .ggskin_image {
  width: 40px !important;
  height: 40px !important;
}

.leaflet-top.leaflet-left .leaflet-control-zoom {
    position: fixed !important; 
    top: 87% !important;       
    transform: translateY(-50%) !important;
    left: 20px !important;      

    background-color: #2b2b2bc0 !important; 
    border: 1px solid #444 !important;
    border-radius: 6px !important;
    padding: 6px 4px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
    
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 999999 !important; 
}

.leaflet-bar a {
    border-bottom: none !important;
}

.leaflet-control-zoom a {
    background-color: transparent !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease;
}

.leaflet-control-zoom a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.leaflet-control-zoom a span {
    display: none !important;
}

.leaflet-control-zoom-in {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7" /></svg>') !important;
    background-size: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.leaflet-control-zoom-out {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2.5" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM7 10h6" /></svg>') !important;
    background-size: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.leaflet-container {
    border-radius: 10px !important;
} 

.leaflet-tile-pane {
    filter: grayscale(100%) invert(100%) sepia(100%) hue-rotate(180deg) saturate(400%) brightness(80%) contrast(100%) !important;
    transition: filter 0.3s ease;
}

.leaflet-container {
    background-color: #0f172a !important; 
} 
*/