@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  overflow: hidden;
  /* use 100vh for broader compatibility */
  height: 150dvh;
  background: #000;
}

html {
  overflow: hidden;
}

table div {
  display: none !important;
}

/* Main Content */
.breadcrumb-div {
  margin-left: 80px;
  position: relative;
  z-index: 2;
  padding: 10px 0px 8px 20px;
}

.breadcrumbs {
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Horizontal divider effect */
.breadcrumbs::after {
  content: "";
  position: absolute;
  top: 50px;
  left: 20px;
  width: calc(100% - 10px);
  height: 1px;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0) 100%);
}

.breadcrumb-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: white;
  margin-top: -10px;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: white;
  font-weight: 900;
  margin-top: -10px;
}

.breadcrumb-logo {
  height: auto;
  width: 60px;
  transition: transform 0.2s ease;
  margin-right: 8px;
}

.breadcrumb-item:hover .breadcrumb-logo {
  transform: scale(1.05);
}

/* Panorama container */
#pano {
  position: absolute;
  top: 0;
  left: -1px;
  /* avoid small negative offset that can cause horizontal scroll */
  width: 100%;
  height: 100%;
  /* pano stays behind sidebar */
  z-index: 1;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100vh;
  background: #00000075;
  border-width: 0px 1px 1px 1px;
  border-style: solid;
  border-radius: 15px;
  border-color: rgba(255, 255, 255, 0.473);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  z-index: 2;
}

.ameneites-icon {
  width: 40px;
  height: 40px;
}

/* Wrap middle icons for vertical centering */
.sidebar-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.sidebar-logo img {
  width: 50px;
  height: auto;
  border-radius: 10px;
  background: white;
  padding: 5px;
}

/* Sidebar icons styling */
.sidebar-icons a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin: 15px 0;
}

.sidebar-icons a img {
  width: 28px;
  height: 28px;
  z-index: 2;
  transition: transform 0.3s ease;
}


/* main hotspots - Landmarks style */



.main-landmarks img {
  width: 100px;
  height: 100px;
  /* padding: 1px 5px 2px 2px; */
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

/* .landmarks-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
} */

/* .main-landmarks.jabeen-translate {
  transform: translate(-80px, -33px);
} */

.red-sea {
  font-family: 'Tajawal', sans-serif;
  color: black;
  border-width: 0.1px 0 0.1px 0.1px;
  border-color: #00000027;
  border-style: solid;
  background: rgba(255, 255, 255, 0.884);
  backdrop-filter: blur(1px);
  width: fit-content;
  box-shadow: inset 1px 0px 5px 2px #b19617;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 18px;
}


.bottom-icon {
  margin-bottom: 50px;
  cursor: pointer;
}

.scalableMobile .bottom-icon {
  margin-bottom: 10vh !important;
}

/* Mobile portrait adjustments */
@media (max-width: 768px) and (orientation: portrait) {


  /* landmarks for mobile  */
  .main-landmarks {
    padding: 0px 10px !important;
    border-radius: 8px !important;
  }

  .main-landmarks img {
    width: 60px;
    height: 60px;
  }

  .main-landmarks .landmarks-title {
    font-size: 0.65rem !important;
  }

  /* .main-landmarks img {
    width: 20px !important;
    height: 20px !important;
  } */

  .ameneites-icon {
    width: 30px;
    height: 30px;
  }

  .ameneties-hotspot {
    padding: 6px 10px !important;
    border-radius: 6px !important;
  }

  .ameneties-hotspot .ameneties-label {
    font-size: 0.55rem !important;
  }

  .sidebar {
    width: 60px;
    padding: 15px 0;

  }

  .breadcrumb-div {
    margin-left: 60px;
    padding: 8px 0px 6px 15px;
    margin-top: 8px;
  }

  .sidebar-icons a {
    margin: 12px 0;
    width: 40px;
    height: 40px;
  }

  .sidebar-icons a img {
    width: 24px;
    height: 24px;
  }

  .sidebar-logo img {
    width: 42px;
  }

  .bottom-icon {
    margin-bottom: 12vh !important;
  }

  .fullscreen .bottom-icon {
    margin-bottom: 12vh !important;
  }

  .bottom-icon img {
    width: 24px;
    height: 24px;
  }

  .breadcrumbs {
    font-size: 13px;
  }

  .breadcrumbs::after {
    top: 42px;
    left: 15px;
    width: calc(100% - 15px);
  }

  .red-sea {
    font-size: 10px;
    /* smaller text */
    padding: 4px 6px;
    /* smaller padding */
    border-radius: 20px;
    /* slightly smaller rounded corners */
  }
}

/* Mobile portrait - extra small screens */
@media (max-width: 480px) and (orientation: portrait) {
  .sidebar {
    width: 50px;
    padding: 10px 0;

  }

  .breadcrumb-div {
    margin-left: 50px;
    padding: 6px 0px 4px 12px;
    margin-top: 6px;
  }

  .sidebar-icons a {
    margin: 8px 0;
    width: 35px;
    height: 35px;
  }

  .sidebar-icons a img {
    width: 20px;
    height: 20px;
  }

  .sidebar-logo img {
    width: 35px;
  }

  .bottom-icon {
    margin-bottom: 20px;
  }

  .bottom-icon img {
    width: 20px;
    height: 20px;
  }

  .breadcrumbs {
    font-size: 12px;
  }

  .breadcrumbs::after {
    top: 38px;
    left: 12px;
  }

  .red-sea {
    font-size: 10px;
    /* smaller text */
    padding: 4px 6px;
    /* smaller padding */
    border-radius: 20px;
    /* slightly smaller rounded corners */
  }
}

/* Landscape sidebar adjustments for Mobile viewports */
@media (max-height: 600px) and (min-width: 500px) and (orientation: landscape) {
  .iphone .sidebar {
    margin-left: 4px;
  }

  /* to avoid landscape fullscreen issue on mobile  */
  #pano {
    left: -1px;
  }

  /* landmarks for mobile  */
  .main-landmarks {
    padding: 5px 10px !important;
    border-radius: 8px !important;
  }

  .main-landmarks img {
    width: 80px;
    height: 80px;
  }

  .main-landmarks .landmarks-title {
    font-size: 0.65rem !important;
  }


  .red-sea {
    font-size: 10px;
    /* smaller text */
    padding: 4px 6px;
    /* smaller padding */
    border-radius: 20px;
    /* slightly smaller rounded corners */
  }

  /* .main-landmarks img {
    width: 20px !important;
    height: 20px !important;
  } */

  .ameneites-icon {
    width: 30px;
    height: 30px;
  }

  .ameneties-hotspot {
    padding: 6px 10px !important;
    border-radius: 6px !important;
  }

  .sidebar {
    width: 50px;
    padding: 8px 0 5px 0;
    justify-content: space-between;
    transform: scale(0.85);
    margin-top: -3.7%;
    height: 116%;
    margin-left: -4px;
  }

  .breadcrumb-div {
    margin-left: 50px;
    padding: 6px 0px 4px 12px;
    margin-top: 6px;
  }

  .fullscreen .breadcrumb-div {
    margin-left: 65px;
    padding: 6px 0px 4px 12px;
    margin-top: -6px;
  }

  .sidebar-icons {
    /* Reduce flex grow to prevent overflow */
    flex: 0.8;
    gap: 4px;
  }

  .sidebar-icons a {
    margin: 4px 0;
    width: 32px;
    height: 32px;
  }

  .sidebar-icons a img {
    width: 18px;
    height: 18px;
  }

  .sidebar-logo img {
    width: 32px;
  }

  .bottom-icon {
    margin-bottom: 8px;
    /* Ensure it stays visible */
    flex-shrink: 0;
  }

  .fullscreen .bottom-icon {
    margin-bottom: 20vh !important;
  }

  .bottom-icon img {
    width: 18px;
    height: 18px;
  }

  .breadcrumbs {
    font-size: 11px;
  }

  .breadcrumbs::after {
    top: 35px;
    left: 12px;
    width: calc(100% - 10px);
  }
}

/* Extra short landscape screens (very compact) fullscreen */
@media (max-height: 450px) and (min-width: 500px) and (orientation: landscape) {
  /* .breadcrumbs::after {
    top: 40px;
  } */

  .iphone .sidebar {
    margin-left: 10px;
  }

  .fullscreen .sidebar {
    padding: 5px 0 3px 0;
    transform: scale(1);
    margin-top: 0%;
    left: 20px;
  }

  .fullscreen .sidebar-logo img {
    width: 28px;
  }

  .fullscreen .sidebar-icons {
    flex: 0.7;
    gap: 2px;
  }

  .fullscreen .sidebar-icons a {
    margin: 2px 0;
    width: 28px;
    height: 28px;
  }

  .fullscreen .sidebar-icons a img {
    width: 16px;
    height: 16px;
  }

  .fullscreen .bottom-icon {
    margin-bottom: 5px;
  }

  .fullscreen .bottom-icon img {
    width: 16px;
    height: 16px;
  }

  .sidebar-logo img {
    top: 2px;
  }
}

/* iPad Portrait (820px wide) */
@media only screen and (min-device-width: 820px) and (max-device-width: 834px) and (orientation: portrait) {
  .bottom-icon {
    position: relative;
    bottom: 70px;
    left: 3%;
  }

  .fullscreen .bottom-icon {
    bottom: 0px;
  }
}

/* iPad Landscape (1180px wide) */
@media only screen and (min-device-width: 760px) and (max-device-width: 1194px) and (min-device-height: 450px) and (orientation: landscape) {
  .sidebar-icons {
    margin-top: -80px;
  }

  .bottom-icon {
    position: relative;
    bottom: 70px;
    left: 3%;
  }

  .fullscreen .bottom-icon {
    bottom: 0px;
  }

  .fullscreen .sidebar {
    margin-top: 0px;
  }
}

/* krpano toolkit hide  */
table div {
  display: none;
}