/* Helen Doron Map — map.css */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f4f8fb;
  color: #333;
}

/* ── Page wrapper ── */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

/* ── Title block ── */
.map-title {
  text-align: center;
  margin-bottom: 28px;
}

.map-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #00AEEF;
  letter-spacing: 0.5px;
}

.map-title p {
  font-size: 14px;
  color: #888;
  margin-top: 6px;
}

/* ── Legend ── */
.map-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot--blue  { background: #00AEEF; }
.legend-dot--pink  { background: #FFE600; }

/* ── Map container ── */
#map {
  width: 100%;
  height: 520px;
  border-radius: 12px;
  border: 2px solid #e0eef7;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.12);
  overflow: hidden;
}

/* ── InfoWindow popup ── */
.gm-style .gm-style-iw-c {
  border-radius: 10px !important;
  padding: 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.hd-popup {
  font-family: 'Open Sans', Arial, sans-serif;
  min-width: 220px;
  max-width: 280px;
}

.hd-popup__header {
  background: #00AEEF;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px 8px;
  letter-spacing: 1px;
}

.hd-popup__badge {
  background: #E22A86;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hd-popup__body {
  padding: 12px 16px 14px;
  background: #fff;
}

.hd-popup__address {
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}

.hd-popup__phone,
.hd-popup__email {
  font-size: 13px;
  margin-bottom: 4px;
}

.hd-popup__phone a,
.hd-popup__email a {
  color: #00AEEF;
  text-decoration: none;
}

.hd-popup__phone a:hover,
.hd-popup__email a:hover {
  text-decoration: underline;
  color: #E22A86;
}

.hd-popup__link {
  display: inline-block;
  margin-top: 10px;
  background: #00AEEF;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.hd-popup__link:hover {
  background: #E22A86;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  #map { height: 380px; }
  .map-title h1 { font-size: 20px; }
}



.hd-marker {
  width: 22px;
  height: 22px;
  background: var(--marker-color);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  position: relative;
}

.hd-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: var(--marker-color);
}
