/* Interface Overlay Styles */

/* --- Modern Logo Area (Top Left) --- */
#logo-area {
  position: absolute;
  top: 24px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 120;
  background: rgba(20, 20, 20, 0.7);
  border-radius: 18px;
  padding: 7px 18px 7px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  backdrop-filter: blur(8px);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

.logo-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Arial, sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Main Layer - sits on top of Pannellum */
#interface-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let clicks pass through to Pannellum */
  z-index: 100; /* Above Pannellum */
  overflow: hidden;
}

/* Enable clicks for interface elements */
#interface-layer > * {
  pointer-events: auto;
}

/* Hide Default Pannellum Controls & Old Interface Elements */
.pnlm-controls-container {
    display: none !important;
}
#top-menu, .scene-nav-btn {
    display: none !important;
}

/* Restyled Bottom Controls (Glassmorphism) */
#controls {
    display: flex !important; /* Force show */
    background: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 40px !important;
    padding: 8px 15px !important;
    bottom: 30px !important; /* Align with others */
}

.ctrl {
    background: transparent !important;
    color: white !important;
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid transparent;
    font-weight: normal !important;
}

.ctrl:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.ctrl i.arrow {
    border-color: white !important; /* Make arrows white */
}

/* --- 3. Weather & Clock Widget (Bottom Left) --- */
.info-widget {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Segoe UI", sans-serif;
}

.clock-section {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 15px;
}

.time-text {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.date-text {
  font-size: 10px;
  color: #aaa;
  margin-top: 4px;
  text-transform: uppercase;
}

.weather-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weather-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.weather-temp {
  font-size: 14px;
  font-weight: 500;
}

/* --- Context Menu for Copy Coordinates --- */
#context-menu {
  position: fixed;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  font-family: 'Inter', sans-serif;
}

#context-menu.show {
  display: block;
}

.context-menu-item {
  padding: 10px 18px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.context-menu-item i {
  font-size: 14px;
  opacity: 0.8;
}

.context-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}
