/* ============================================================
   SERVING SECTION — serving-section.css
   "Proudly Serving Northwest BC" — shared across Home + Booking.
   Single source. Extracted from home.css.
   ============================================================ */

.home-serving {
  background: #FFFFFF;
  padding: 120px 0;
}

.home-serving__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 144px;
  width: 100%;
}

.home-serving__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── LEFT: Content ── */
.home-serving__content {
  display: flex;
  flex-direction: column;
}

.home-serving__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 44px;
  line-height: 54px;
  color: #071B2E;
  letter-spacing: 0;
  margin: 0 0 16px;
}

.home-serving__subtitle {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #64748B;
  margin: 0 0 32px;
  max-width: 100%;
}

/* ── Area Cards ── */
.serving-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.serving-card {
  background: #F5F7FA;
  border: 1px solid #E8E8E8;
  border-radius: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.serving-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}

/* Card image */
.serving-card__image-wrap {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.serving-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.serving-card__image-placeholder {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 12px;
  background: #E2E8F0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}

/* Card body */
.serving-card__body {
  flex: 1;
  min-width: 0;
}

.serving-card__title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #071B2E;
  margin: 0 0 4px;
}

.serving-card__services {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #64748B;
  margin: 0 0 6px;
}

.serving-card__avail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1B2033;
}

.serving-card__avail svg {
  flex-shrink: 0;
}

/* Book button */
.serving-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #071B2E;
  color: #FFFFFF;
  border-radius: 24px;
  padding: 8px 16px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.serving-card__btn:hover {
  background: #1B2033;
  color: #FFFFFF;
}

/* ── RIGHT: Map ── */
.home-serving__map {
  position: relative;
}

.serving-map__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0px 16px 40px rgba(15,23,42,0.10);
  height: 560px;
}

.serving-map__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.serving-map__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #DBEAFE 0%, #BAE6FD 40%, #A5F3FC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── RESPONSIVE: Tablet (991px) ── */
@media (max-width: 991px) {
  .home-serving {
    padding: 80px 0;
  }

  .home-serving__container {
    padding: 0 40px;
  }

  .home-serving__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-serving__title {
    font-size: 36px;
    line-height: 46px;
  }

  .home-serving__subtitle {
    margin-bottom: 28px;
  }

  .serving-map__card {
    height: 460px;
  }
}

/* ── RESPONSIVE: Mobile (767px) ── */
@media (max-width: 767px) {
  .home-serving {
    padding: 60px 0;
  }

  .home-serving__container {
    padding: 0 20px;
  }

  .home-serving__title {
    font-size: 30px;
    line-height: 40px;
  }

  .home-serving__subtitle {
    margin-bottom: 24px;
  }

  .serving-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .serving-card__image-wrap,
  .serving-card__image-placeholder {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .serving-card__title {
    font-size: 18px;
    line-height: 26px;
  }

  .serving-card__services {
    font-size: 15px;
    line-height: 22px;
  }

  .serving-card__btn {
    font-size: 14px;
  }

  .serving-map__card {
    height: 360px;
  }

}

/* ── RESPONSIVE: Small mobile (480px) ── */
@media (max-width: 480px) {
  .serving-cards {
    gap: 16px;
  }

  .serving-card {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 16px;
  }

  .serving-card__image-wrap,
  .serving-card__image-placeholder {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .serving-card__title {
    font-size: 16px;
    line-height: 24px;
  }

  .serving-card__btn {
    font-size: 13px;
  }

}


/* ============================================================
   LEAFLET INTERACTIVE MAP
   Scoped to the Proudly Serving section.
   ============================================================ */

/* ── Map container fills the card ── */
.serving-live-map {
  width: 100%;
  height: 560px;
  display: block;
  z-index: 0;
}

/* ── Google Maps-style pin marker with always-visible city label ── */
.kk-marker-wrap {
  background: transparent !important;
  border:     none !important;
  overflow:   visible !important;
}

.kk-map-marker {
  display:     flex;
  align-items: flex-end;
  gap:         6px;
  cursor:      pointer;
}

/* SVG pin with drop-shadow filter */
.kk-pin {
  flex-shrink:      0;
  filter:           drop-shadow(0px 3px 8px rgba(0,0,0,0.30));
  transition:       transform 0.22s ease;
  transform-origin: bottom center;
  line-height:      0;
}

.kk-map-marker:hover .kk-pin {
  transform: translateY(-5px) scale(1.08);
}

/* Pill city label */
.kk-marker-label {
  background:    #FFFFFF;
  border:        1px solid #E5E7EB;
  border-radius: 999px;
  padding:       6px 12px;
  box-shadow:    0px 4px 12px rgba(0,0,0,0.08);
  font-family:   var(--font-family);
  font-weight:   600;
  font-size:     14px;
  line-height:   20px;
  color:         #1B2033;
  white-space:   nowrap;
  margin-bottom: 8px;
  transition:    transform 0.22s ease, box-shadow 0.22s ease;
  pointer-events: none;
}

.kk-map-marker:hover .kk-marker-label {
  transform:  translateY(-5px);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.13);
}

@media (max-width: 767px) {
  .kk-marker-label {
    font-size: 12px;
    padding:   4px 10px;
  }
}

/* ── Leaflet popup wrapper ── */
.km-popup-container .leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow:    0 8px 32px rgba(15,23,42,0.12) !important;
  padding:       0 !important;
  overflow:      hidden;
}

.km-popup-container .leaflet-popup-content {
  margin:    0 !important;
  min-width: 200px;
}

.km-popup-container .leaflet-popup-tip {
  background: #FFFFFF !important;
}

.km-popup-container .leaflet-popup-close-button {
  top:   8px !important;
  right: 8px !important;
  color: #64748B !important;
}

/* ── Popup inner ── */
.km-popup {
  padding: 18px 22px 16px;
}

.km-popup__city {
  font-family: var(--font-family);
  font-weight: 700;
  font-size:   18px;
  line-height: 26px;
  color:       #1B2033;
  margin:      0 0 4px;
}

.km-popup__services {
  font-family: var(--font-family);
  font-weight: 400;
  font-size:   14px;
  line-height: 22px;
  color:       #64748B;
  margin:      0 0 12px;
}

.km-popup__btn {
  display:       inline-flex;
  align-items:   center;
  background:    #071B2E;
  color:         #FFFFFF;
  border-radius: 999px;
  padding:       8px 18px;
  font-family:   var(--font-family);
  font-weight:   700;
  font-size:     13px;
  line-height:   20px;
  text-decoration: none;
  transition:    background 0.2s ease;
}

.km-popup__btn:hover {
  background: #1B2033;
  color:      #FFFFFF;
}
a.km-popup__btn {
    color: #FFC000;
}

/* ── Map responsive heights ── */
@media (max-width: 991px) {
  .serving-live-map {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .serving-live-map {
    height: 360px;
  }
}
