html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

#pano {
  width: 100%;
  height: 100%;
}

/* === Navbar === */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 10;
}

.navbar .menu-toggle {
  font-size: 24px;
  cursor: pointer;
}

.navbar .location-name {
  font-weight: bold;
  text-align: center;
  flex: 1;
}

.navbar .actions {
  display: flex;
  gap: 10px;
}

.navbar button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

/* === Side Menu (Daftar Lokasi) === */
.side-menu {
  position: absolute;
  top: 50px;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  width: 200px;
  transform: translateX(-220px);
  transition: transform 0.3s ease;
  padding: 10px;
  box-sizing: border-box;
  z-index: 10;
}
.side-menu.show {
  transform: translateX(0);
}
.side-menu button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
.side-menu button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* === Kontrol Navigasi Bawah === */
.controls-bottom {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.controls-bottom button {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.controls-bottom button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === Hotspot dengan Ikon Panah === */
.hotspot {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot:hover {
  transform: scale(1.1);
}

/* Gambar ikon */
.hotspot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: filter 0.3s ease;
}

/* Saat di-hover, gambar sedikit lebih terang */
.hotspot:hover img {
  filter: brightness(1.2);
  transform: scale(1.5);
}

/* Tooltip tetap seperti sebelumnya */
.hotspot .tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 13px;
}

.hotspot:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}
