/* Travel page specific styles */

.container {
  max-width: 1400px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-box {
  background: white;
  padding: 20px 30px;
  border: 3px solid #2d2d2d;
  border-radius: 15px;
  box-shadow: 4px 4px 0 #2d2d2d;
  text-align: center;
  transform: rotate(-1deg);
  transition: all 0.2s;
}

.stat-box:nth-child(2) {
  transform: rotate(1deg);
}

.stat-box:nth-child(3) {
  transform: rotate(-0.5deg);
}

.stat-box:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 6px 6px 0 #2d2d2d;
  cursor: pointer;
}

.stat-number {
  font-family: "Permanent Marker", cursive;
  font-size: 48px;
  color: #4ecdc4;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

.map-container {
  background: white;
  padding: 30px;
  border: 3px solid #2d2d2d;
  border-radius: 20px;
  box-shadow: 8px 8px 0 #2d2d2d;
  margin: 30px 0;
}

#mapWrapper {
  position: relative;
  width: 100%;
  height: 600px;
  background: #e0f6ff;
  border: 3px solid #2d2d2d;
  border-radius: 10px;
  overflow: hidden;
}

#worldMap {
  width: 100%;
  height: 100%;
}

.city-marker {
  position: absolute;
  font-size: 24px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s;
  z-index: 100;
}

.city-marker:hover {
  transform: translate(-50%, -50%) scale(1.3);
  z-index: 200;
}

.city-marker .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #2d2d2d;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-bottom: 8px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Inter", sans-serif;
}

.city-marker:hover .tooltip {
  opacity: 1;
}

.legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.legend-color {
  width: 30px;
  height: 20px;
  border: 2px solid #2d2d2d;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #mapWrapper {
    height: 400px;
  }

  .stat-number {
    font-size: 36px;
  }
}
