body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #001F3F; /* navy blue */
  color: white;
  padding: 10px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-block {
  display: flex;
  flex-direction: column; /* stack title + subtitle */
}

header h1 {
  font-size: 22px;
  margin: 0;
}

header h2 {
  font-size: 16px;
  font-style: italic;       /* cursive/italic look */
  color: #cfd8dc;           /* softer light gray-blue */
  margin-top: 2px;
  margin-bottom: 0
}

.subtitle {
  font-size: 14px;
  font-style: italic;       /* cursive/italic look */
  color: #cfd8dc;           /* softer light gray-blue */
  margin-top: 2px;
}
nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

#filter-bar {
  background-color: #f4f4f4;
  padding: 10px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
}

#filter-bar label {
  font-size: 14px;
}

#filter-bar select {
  padding: 4px 6px;
  font-size: 14px;
  min-width: 110px;
}

#map {
  height: calc(100vh - 140px); /* adjust if needed */
}


#loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-family: Arial, sans-serif;

   /* subtle fade-out when hidden */
  opacity: 1;
  transition: opacity .3s ease, visibility .3s ease;
}

#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #333;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.loading-text {
  font-size: 14px;
  color: #333;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

  /* keep existing styles above … */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,.4);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.close {
  float: right;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}
.close:hover { color: #e11; }

  /* footer … */
footer {
  background-color: #001F3F; /* navy blue */
  color: white;
  text-align: center;
  padding: 6px 12px;   /* smaller padding */
  font-size: 13px;     /* slightly smaller font */
  line-height: 1.4;    /* tighter spacing */
}

footer a {
  color: #ffdd57;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
