/* 🌍 GLOBAL STYLES */
body {
  margin: 0;
  font-family: 'Fira Code', monospace;
  background-color: #0d1117;
  color: #c9d1d9;
  line-height: 1.6;
}

/* 📌 NAVBAR */
.zoka-navbar {
  background-color: #161b22;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #58a6ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: #c9d1d9;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-links a:hover,
.nav-links .active {
  background-color: #21262d;
  color: #58a6ff;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #c9d1d9;
  cursor: pointer;
}

/* 📱 Responsive Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #0d1117;
    margin-top: 1rem;
    padding: 1rem;
  }
  .nav-links.show {
    display: flex;
  }
}

/* 🌍 Explore Container */
.explore-container {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

/* 🧭 Header Styling */
.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2.5rem;
  color: #58a6ff;
  margin: 1rem 0 0.3rem;
}

.header p {
  font-size: 1rem;
  color: #8b949e;
  margin-bottom: 1rem;
}

/* 📍 Locate Button */
#locateBtn {
  padding: 12px 20px;
  font-size: 16px;
  font-family: 'Fira Code', monospace;
  background: linear-gradient(135deg, #00ffcc, #00c2b2);
  color: #0d1117;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

#locateBtn:hover {
  background: #00ffcc;
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.6);
}

/* 🗺️ Map Container */
.map-container {
  height: 360px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
}

/* 🎯 Filter Controls */
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  background: #161b22;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #30363d;
}

.filter-controls label {
  color: #8b949e;
  font-weight: 500;
}

.filter-controls select,
.filter-controls button {
  padding: 8px 14px;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  background: #0d1117;
  color: #58a6ff;
  border: 1px solid #30363d;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-controls button:hover,
.filter-controls select:hover {
  background: #21262d;
}

/* 🧭 County Badge */
.county-badge {
  font-size: 1rem;
  font-weight: bold;
  color: #00ffcc;
}

/* 🧱 BUSINESS CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.biz-card {
  background: #161b22;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #30363d;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.biz-card:hover {
  transform: scale(1.02);
  border-color: #58a6ff;
}
.biz-card h3 {
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}
.biz-card p {
  margin: 0;
  color: #8b949e;
}
.hidden {
  display: none;
}

/* 👇 TOGGLE BUTTONS */
.button-toggle {
  text-align: center;
  margin-top: 1rem;
}
.button-toggle button {
  margin: 5px;
  padding: 10px 16px;
  font-family: 'Fira Code', monospace;
  background: #21262d;
  color: #58a6ff;
  border: 1px solid #30363d;
  border-radius: 6px;
  cursor: pointer;
}
.button-toggle button:hover {
  background: #30363d;
}

/* 🔮 Suggest Button */
.zoka-suggest-btn {
  background: linear-gradient(135deg, #007acc, #005fa3);
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 122, 204, 0.3);
  transition: all 0.3s ease;
  margin: 16px auto;
  display: block;
}
.zoka-suggest-btn:hover {
  background: linear-gradient(135deg, #005fa3, #003f7a);
  box-shadow: 0 6px 12px rgba(0, 122, 204, 0.5);
  transform: translateY(-2px);
}
.zoka-suggest-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* ⚡ MAP GLITCH EFFECT */
@keyframes mapGlitch {
  0% { transform: scale(1); filter: brightness(1); }
  25% { transform: scale(1.02) rotate(0.5deg); filter: brightness(1.2); }
  50% { transform: scale(1) rotate(-0.5deg); filter: brightness(1.3); }
  75% { transform: scale(1.01); filter: brightness(1.1); }
  100% { transform: scale(1); filter: brightness(1); }
}
.map-glitch {
  animation: mapGlitch 0.4s ease-in-out;
  box-shadow: 0 0 20px lime;
}
/* 📍 LEAFLET POPUP (for normal/light map) */
.leaflet-popup-content-wrapper {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Fira Code', monospace;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
}

.leaflet-popup-content {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.leaflet-popup-tip {
  background: #ffffff;
}

/* 💎 DEFAULT ZOKA PIN GLOW */
.zoka-marker {
  filter: drop-shadow(0 0 5px #00ffff);
}

/* 🧩 EMOJI MARKERS */
.emoji-marker {
  font-size: 28px;
  text-align: center;
  line-height: 30px;
  filter: drop-shadow(0 0 4px #00f0ff);
  user-select: none;
  pointer-events: none;
}
.emoji-icon {
  font-size: 24px;
  text-align: center;
  line-height: 30px;
  filter: drop-shadow(0 0 2px #00f0ff);
  user-select: none;
  cursor: pointer;
}

.emoji-marker.hotel { filter: drop-shadow(0 0 5px #58a6ff); }
.emoji-marker.salon { filter: drop-shadow(0 0 5px #ff69b4); }
.emoji-marker.shop  { filter: drop-shadow(0 0 5px #00ff99); }

.emoji-marker:hover {
  animation: bounce 0.6s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* 🔎 Search Box */
.search {
  padding: 10px 14px;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  background-color: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  border-radius: 8px;
  outline: none;
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
  transition: border 0.3s, box-shadow 0.3s;
}

.search:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
}
.category-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}


/* 👣 FOOTER */
.footer {
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: #8b949e;
}
.footer a {
  color: #58a6ff;
  text-decoration: none;
}

.zoka-map-filter-buttons {
  margin: 1rem 0;
  text-align: center;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.zoka-map-filter-buttons button {
  background: #111;
  color: #00ffcc;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px 14px;
  font-family: 'Fira Code', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoka-map-filter-buttons button:hover {
  background: #222;
  color: #58a6ff;
}
