/* ============ UZAYDAN TÜRKİYE ARKA PLAN ============ */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
    url('uzaydan-turkiye-modelleme.jpg') center/cover no-repeat fixed;
  position: relative;
}

/* Işık Efekti Overlay */
body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at top, rgba(100, 149, 237, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: atmosphereGlow 8s ease-in-out infinite;
}

/* Yıldızlar Overlay */
body::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent);
  background-size: 250px 250px;
  opacity: 0.3;
  animation: twinkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

@keyframes atmosphereGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ============ HARİTA CONTAINER ============ */
.map-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* SVG Container */
#svg-turkey-map {
  pointer-events: auto;
  width: 100vw;
  height: 100vh;
  display: block;
  background: transparent;
  filter: drop-shadow(0 0 30px rgba(100, 149, 237, 0.4));
}

/* Şehir Path'leri */
#svg-turkey-map path.city {
  fill: rgba(26, 40, 69, 0.7);
  stroke: #4a90e2;
  stroke-width: 1.2;
  cursor: pointer;
  pointer-events: all !important;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

/* Hover Efekti */
#svg-turkey-map path.city:hover {
  fill: rgba(245, 180, 0, 0.9);
  stroke: #ffd700;
  stroke-width: 1.5;
  filter: 
    brightness(1.3)
    drop-shadow(0 0 15px rgba(245, 180, 0, 0.8))
    drop-shadow(0 0 30px rgba(245, 180, 0, 0.5));
  transform: scale(1.03);
}

/* Şehir İsimleri */
#svg-turkey-map text.city-text {
  fill: #ffffff;
  font-size: 11px;
  font-weight: 700;
  dominant-baseline: middle;
  text-anchor: middle;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  text-shadow: 
    0 0 10px rgba(100, 149, 237, 1),
    0 0 20px rgba(100, 149, 237, 0.6),
    0 2px 8px rgba(0, 0, 0, 1);
  filter: brightness(1.3);
}

/* G elementinin event almadığından emin ol */
#svg-turkey-map g {
  pointer-events: none;
}

#svg-turkey-map g path.city {
  pointer-events: all !important;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #111;
  color: #fff;
  padding: 25px;
  max-width: 420px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 40px rgba(255,215,0,0.4);
}

.modal-box h2 {
  margin-top: 0;
  color: #ffd700;
}

.modal-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  background: #ffd700;
  font-weight: bold;
  cursor: pointer;
}