/* RESET I PODSTAWOWE STYLE */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-size-adjust: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

#pano {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* UKRYTE ELEMENTY INTERFEJSU (MENU, TYTUŁ, PRZYCISKI) */
#titleBar, 
#fullscreenToggle, 
#autorotateToggle, 
#sceneListToggle, 
#sceneList,
.viewControlButton {
  display: none !important; /* Wyłącza wszystkie elementy sterujące */
}

/* LINKI I HOTSPOTY (ZOSTAWIAMY, ABY NAWIGACJA WEWNĄTRZ PANORAMY DZIAŁAŁA) */
.link-hotspot {
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.link-hotspot-icon {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.link-hotspot-tooltip {
  position: absolute;
  left: 100%;
  top: 14px;
  margin-left: 3px;
  padding: 8px 10px;
  border-radius: 5px;
  background-color: rgba(58,68,84,0.8);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.no-touch .link-hotspot:hover .link-hotspot-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* INFO HOTSPOTY */
.info-hotspot {
  line-height: 1.2em;
  opacity: 0.9;
}

.info-hotspot .info-hotspot-header {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(103,115,131);
  cursor: pointer;
}

/* STYLE DLA TWOJEGO LOGO (PASEO360) */
.pano-overlay-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 180px; /* Rozmiar logo */
    height: auto;
    z-index: 9999;
    pointer-events: none; /* Pozwala obracać panoramę "pod" logo */
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.4)); /* Cień, by logo było widoczne na jasnym tle */
}

/* Dopasowanie logo na telefonach */
@media (max-width: 767px) {
    .pano-overlay-logo {
        width: 120px;
        top: 10px;
        right: 10px;
    }
}