#canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.locations1 {
  position: relative;
  width: 100%;
  height: calc(100vh - 4.166vw);
  margin-top: 4.166vw;
}

.locations1 .t1 {
  position: absolute;
  left: 7.031vw;
  top: 10.729vw;
  color: #27384A;
}

.locations1 .t1::before {
  content: '';
  display: block;
  width: 0.312vw;
  height: 0.312vw;
  background: #3D85F9;
  border-radius: 100%;
  position: absolute;
  right: 100%;
  margin-right: 0.677vw;
  top: 50%;
  transform: translate(0, -50%);
}

.locations1 .t2 {
  color: #27384A;
  position: absolute;
  left: 7.031vw;
  bottom: 9.375vw;
  width: 22.812vw;
}

.nav-menu {
  position: absolute;
  top: 10.729vw;
  right: 5.468vw;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.26vw;
}

.nav-item {
  cursor: pointer;
  color: #3A6BD9;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.nav-item:hover {
  text-decoration: underline;
}

/* Time Display */
.time-display-container {
  position: absolute;
  bottom: 9.375vw;
  right: 5.312vw;
  pointer-events: none;
  z-index: 10;
}

.time-text {
  color: #27384A;
}

/* Tooltip Card */
.tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 16rem;
  border-radius: 1rem;
  overflow: hidden;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(0.625vw);
  border: 0.052vw solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.52vw 2.083vw rgba(0, 0, 0, 0.08);
}

.tooltip-header {
  height: 8rem;
  background-color: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.tooltip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  display: block;
}

.tooltip-image.hidden {
  display: none;
}

.tooltip-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent 70%);
}

.tooltip-title-container {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
}

.tooltip-title {
  color: #0f172a;
  font-size: 0.572vw;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.tooltip-content {
  padding: 1.25rem;
}

.tooltip-desc {
  font-size: 0.625vw;
  color: #475569;
  line-height: 1.625;
  font-weight: 400;
  margin: 0;
}

@media screen and (max-width:768px) {
  .locations1 {
    width: 100%;
    height: calc(100vh - 60px);
    margin-top: 60px;
  }
  
  .locations1 .t1 {
    left: 5%;
    top: 30px;
  }
  
  .locations1 .t1::before {
    width: 3px;
    height: 3px;
    border-radius: 100%;
    right: 100%;
    margin-right: 7px;
    top: 50%;
    transform: translate(0, -50%);
  }
  
  .locations1 .t2 {
    left: 5%;
    bottom: 20px;
    width: 219px;
  }
  
  .nav-menu {
    top: 20px;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }
  
  .time-display-container {
    bottom: 20px;
    right: 5%;
  }
  
  .glass-card {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }
  
  .tooltip-title {
    font-size: 11px;
  }
  
  .tooltip-desc {
    font-size: 12px;
  }
}