body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  overflow: hidden;
}

header {
  background-color: #007bff;
  color: #fff;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

nav {
  background-color: #333;
  height: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

nav a {
  padding: 12px 18px;
  border-radius: 8px;
  background-color: #444;
  display: inline-block;
  color: white;
  font-weight: bold;
  text-decoration: none;
  margin: 0 1em;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

nav a:hover {
  background-color: #666;
}

nav a.active {
  background-color: #007bff;
  color: white;
  text-decoration: underline;
}

#map {
  width: 100%;
  height: calc(100vh - 130px);
  margin-top: 130px;
}

.popup-card {
  max-width: 220px;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  line-height: 1.6;
}

.popup-card p {
  margin: 4px 0;
  font-size: 14px;
}

.popup-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #007bff;
}

#locate-btn:hover,
.toggle-filters:hover {
  background-color: #0056b3;
}

.map-tools-container {
  position: relative;
  height: 0;
}

.map-tools {
  position: fixed;
  top: 190px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1002;
}

.map-tools button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.map-tools button:hover {
  background-color: #0056b3;
}

.filter-controls {
  z-index: 1001;
  position: fixed;
  top: 200px;
  right: 10px;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
