/* ═══════════════════════════════════════════════
   LOCATIONS SIDEBAR + INFO PANEL
═══════════════════════════════════════════════ */

/* ─── LOCATIONS PANEL (left sidebar) ─── */
.locations-panel {
  display: none;
  position: absolute;
  left: 20px;
  top: 20px;
  width: 300px;
  max-height: 560px;
  background: rgba(20, 27, 40, 0.9);
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  padding: 20px;
  z-index: 20;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.3) transparent;
}

.locations-panel::-webkit-scrollbar        { width: 6px; }
.locations-panel::-webkit-scrollbar-track  { background: transparent; }
.locations-panel::-webkit-scrollbar-thumb  { background: rgba(201,168,76,0.3); border-radius: 3px; }
.locations-panel::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

.panel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #e8c97a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 168, 76, 0.2);
}

.location-item {
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(56, 178, 172, 0.08);
  border: 1px solid rgba(56, 178, 172, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-item:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateX(-4px);
}

.location-item.active {
  background: rgba(201, 168, 76, 0.15);
  border-color: #c9a84c;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.2);
}

.location-name {
  font-weight: 600;
  color: #e4e8f2;
  margin-bottom: 4px;
}

.location-category {
  font-size: 12px;
  color: #8a96b4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── INFO PANEL (right slide-in) ─── */
.info-panel {
  position: absolute;
  right: 0;
  top: 40px;
  height: 84%;
  width: 420px;
  background:
    linear-gradient(rgba(255,255,255,0.71), rgba(255,255,255,0.71)),
    url('../images/arabic-calligraphy_long.jpg') center / cover no-repeat;
  border-left: 2px solid rgba(201, 168, 76, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 10;
  overflow-y: auto;
  
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);   /* nice shadow */

}

.info-panel.active {
  transform: translateX(0);
}

.info-panel::-webkit-scrollbar        { width: 6px; }
.info-panel::-webkit-scrollbar-track  { background: transparent; }
.info-panel::-webkit-scrollbar-thumb  { background: rgba(201,168,76,0.3); border-radius: 3px; }
.info-panel::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

/* ─── INFO PANEL HEADER ─── */
.info-header {
  position: relative;
  margin-bottom: 0;
  text-align: right;
}

.info-close-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  color: #c9a84c;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  top: 0;
  right: 0;
}

.info-close-btn:hover {
  background: rgba(201, 168, 76, 0.3);
  border-color: #c9a84c;
  transform: scale(1.1);
}

.info-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #9e892c;
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── INFO PANEL IMAGE ─── */
.info-image {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, rgba(56,178,172,0.3), rgba(201,168,76,0.2));
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  overflow: hidden;
  border: 2px solid rgba(201, 168, 76, 0.35);
  box-shadow: inset 0 0 30px rgba(56,178,172,0.12), 0 8px 20px rgba(0,0,0,0.3);
}

/* ─── INFO PANEL CONTENT ─── */
.info-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-title {
  font-size: 28px;
  font-weight: 600;
  color: rgba(201, 168, 76, 0.70);
}

.info-category {
  font-size: 12px;
  color: #1f2e3b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-description {
  color: #000000;
  line-height: 1.6;
  font-size: 14px;
}

.info-coords {
  background: linear-gradient(135deg, rgba(87,88,8,0.15), rgba(201,168,76,0.05));
  border: 1.5px solid rgba(221, 214, 111, 0.3);
  border-radius: 10px;
  padding: 16px;
  font-size: 12px;
  color: #000000;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

.info-btn {
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid #9e892c;
  background: #c9a84c;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-btn:hover {
  background: #808647;
  color: #000;
}
