/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* ── Map ── */
#map { position: absolute; inset: 0; z-index: 1; }

/* ── Emoji markers ── */
.emoji-marker { background: none; border: none; }

.marker-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pin-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.25);
  border: 2.5px solid rgba(255,255,255,.9);
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.marker-pin:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
}

.marker-emoji {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.15));
}

/* Active marker */
.marker-pin.active {
  width: 48px;
  height: 48px;
  border-width: 3px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3);
  z-index: 10000 !important;
}

.marker-pin.active .marker-emoji {
  font-size: 22px;
}

/* ── Menu button ── */
.menu-button {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3000;
  background: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: 18px;
  cursor: pointer;
  transition: box-shadow 150ms ease;
}

.menu-button:active {
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* ── Sidebars ── */
.sidebar {
  position: fixed;
  top: 0;
  height: 100%;
  width: 75%;
  max-width: 320px;
  background: white;
  box-shadow: 2px 0 12px rgba(0,0,0,.15);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 2000;
  -webkit-overflow-scrolling: touch;
}

.sidebar-left {
  left: 0;
  transform: translateX(-100%);
}

.sidebar-left.open {
  transform: translateX(0);
}

.sidebar-right {
  right: 0;
  transform: translateX(100%);
}

.sidebar-right.open {
  transform: translateX(0);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 1999;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── Content overlay text ── */
.full-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1em;
}

.full-content p:last-child {
  margin-bottom: 0;
}

/* ── Leaflet overrides ── */
.leaflet-control-attribution {
  font-size: 10px !important;
  opacity: .6;
}
