/* Areas We Serve — hub cards, hero slides, SVG map */

.hero__slide--areas-index {
  background-image: url("../assets/images/muskoka-limousine-services.webp");
}

.hero__slide--bracebridge {
  background-image: url("../assets/images/bracebridge.webp");
}

.hero__slide--gravenhurst {
  background-image: url("../assets/images/gravenhurst.webp");
}

.hero__slide--huntsville {
  background-image: url("../assets/images/huntsville.webp");
}

.hero__slide--bala {
  background-image: url("../assets/images/bala.webp");
}

.hero__slide--port-carling {
  background-image: url("../assets/images/port-carling.webp");
}

.hero__slide--baysville {
  background-image: url("../assets/images/baysville.webp");
}

.hero__slide--minett {
  background-image: url("../assets/images/minett.webp");
}

.hero__slide--rosseau {
  background-image: url("../assets/images/rosseau.webp");
}

.hero__slide--muskoka-lakes {
  background-image: url("../assets/images/port-carling.webp");
}

.hero__slide--lake-of-bays {
  background-image: url("../assets/images/huntsville.webp");
}

.hero__slide--coldwater { background-image: url("../assets/images/coldwater.webp"); }
.hero__slide--dorset { background-image: url("../assets/images/dorset.webp"); }
.hero__slide--foots-bay { background-image: url("../assets/images/foots-bay.webp"); }
.hero__slide--glen-orchard { background-image: url("../assets/images/glen-orchard.webp"); }
.hero__slide--hekkla { background-image: url("../assets/images/hekkla.webp"); }
.hero__slide--mactier { background-image: url("../assets/images/mactier.webp"); }
.hero__slide--muskoka-falls { background-image: url("../assets/images/muskoka-falls.webp"); }
.hero__slide--port-sandfield { background-image: url("../assets/images/port-sandfield.webp"); }
.hero__slide--port-severn { background-image: url("../assets/images/port-severn.webp"); }
.hero__slide--raymond { background-image: url("../assets/images/raymond.webp"); }
.hero__slide--severn-bridge { background-image: url("../assets/images/severn-bridge.webp"); }
.hero__slide--southwood { background-image: url("../assets/images/southwood.webp"); }
.hero__slide--torrance { background-image: url("../assets/images/torrance.webp"); }
.hero__slide--ullswater { background-image: url("../assets/images/ullswater.webp"); }
.hero__slide--utterson { background-image: url("../assets/images/utterson.webp"); }
.hero__slide--wahta { background-image: url("../assets/images/wahta.webp"); }
.hero__slide--walkers-point { background-image: url("../assets/images/walkers-point.webp"); }
.hero__slide--washago { background-image: url("../assets/images/washago.webp"); }
.hero__slide--windermere { background-image: url("../assets/images/windermere.webp"); }
.hero__slide--longford-mills { background-image: url("../assets/images/longford-mills.webp"); }
.hero__slide--vankoughnet { background-image: url("../assets/images/vankoughnet.webp"); }
.hero__slide--milford-bay { background-image: url("../assets/images/milford-bay.webp"); }

.areas-hub.is-inview .area-card {
  opacity: 1;
  transform: translateY(0);
}

.areas-hub .area-card:nth-child(n) {
  transition-delay: calc(0.04s * var(--area-index, 1));
}

.areas-hub .areas__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .areas-hub .areas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .areas-hub .areas__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.areas.is-inview .area-card:nth-child(9) {
  transition-delay: 0.85s;
}

.areas.is-inview .area-card:nth-child(10) {
  transition-delay: 0.95s;
}

.area-card--hub .area-card__link {
  display: block;
  height: 100%;
}

.area-card--hub .area-card__media {
  aspect-ratio: 16 / 10;
}

.area-card--hub .area-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.area-card--hub .area-card__name {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  padding-top: 0.55rem;
  transform: translateY(0);
}

.area-card--hub .area-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color 0.25s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.area-card--hub:hover .area-card__name,
.area-card--hub:focus-within .area-card__name {
  transform: translateY(-6px);
}

.area-card--hub:hover .area-card__cta,
.area-card--hub:focus-within .area-card__cta {
  color: var(--color-white);
  transform: translateY(-4px);
}

.area-card--hub:hover .area-card__image,
.area-card--hub:focus-within .area-card__image {
  transform: scale(1.04);
}

.areas-other .areas__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .areas-other .areas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .areas-other .areas__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.area-card--linked .area-card__link {
  display: block;
}

.areas-map-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 480px;
}

.areas-map-svg__bg {
  fill: #101010;
}

.areas-map-svg__region {
  fill: #161616;
  stroke: rgba(184, 155, 94, 0.22);
  stroke-width: 1.5;
}

.areas-map-svg__land {
  fill: #141414;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
}

.areas-map-svg__water {
  fill: rgba(184, 155, 94, 0.07);
  stroke: rgba(184, 155, 94, 0.18);
  stroke-width: 1;
}

.areas-map-svg__road {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}

.areas-map-svg__road--minor {
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  opacity: 0.7;
}

.areas-map-svg__pin {
  text-decoration: none;
}

.areas-map-svg__glow {
  fill: url(#muskoka-map-glow);
  opacity: 0.95;
}

.areas-map-svg__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  fill: rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.areas-map-svg__label--above {
  fill: rgba(255, 255, 255, 0.88);
}

.areas-map-svg__marker {
  fill: var(--color-gold);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(184, 155, 94, 0.45));
  transition: fill 0.25s ease, transform 0.25s ease;
}

.areas-map-svg__marker--highlight {
  fill: #fff;
  stroke: var(--color-gold);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px rgba(184, 155, 94, 0.65));
}

.areas-map-svg__marker--active {
  fill: #fff;
}

.areas-map-svg a:focus-visible .areas-map-svg__marker,
.areas-map-svg a:hover .areas-map-svg__marker {
  fill: #fff;
}

.service-area--hub-map .service-area__header {
  margin-bottom: 2.5rem;
}

.service-area__map-full {
  width: 100%;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-area.is-inview .service-area__map-full {
  opacity: 1;
  transform: translateY(0);
}

.service-area__map--full {
  min-height: 520px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, #121212 0%, #0a0a0a 100%);
  padding: 1.25rem;
  box-sizing: border-box;
}

.service-area__map--full .areas-map-svg {
  min-height: 480px;
  max-height: 620px;
}

.service-area__map--leaflet {
  padding: 0;
  min-height: 520px;
  background: #ececec;
}

.service-area__map--leaflet .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #ececec;
  font-family: var(--font-body);
}

.areas-hub-marker-tooltip {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.areas-hub-marker-wrap {
  background: transparent;
  border: none;
}

.areas-hub-marker {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111111;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18);
}

.areas-hub-marker--endpoint {
  width: 10px;
  height: 10px;
  background: #111111;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.areas-hub-popup {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 140px;
}

.areas-hub-popup strong {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #111;
}

.areas-hub-popup a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a7340;
  text-decoration: none;
}

.areas-hub-popup a:hover {
  color: #111;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .service-area__map--leaflet,
  .service-area__map--leaflet .leaflet-container {
    min-height: 380px;
  }
}

.service-area__map-wrap--svg {
  display: flex;
  align-items: stretch;
}

.service-area__map-wrap--svg .service-area__map {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(165deg, #121212 0%, #0a0a0a 100%);
}

.area-why .how__title {
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
}

/* Location hero — no gold rule / eyebrow above heading */
.hero-copy--area::before,
.hero-copy--area .hero-copy__eyebrow {
  display: none !important;
  content: none !important;
}

.hero-copy--area .hero-copy__title {
  margin-top: 0;
}

/* What's Included — flush 6-column row (no gap) */
.svc-included__grid--flush {
  gap: 0;
}

.svc-included__grid--flush .svc-included-card {
  border-radius: 0;
  border-right-width: 0;
  min-height: clamp(17rem, 22vw, 21rem);
}

.svc-included__grid--flush .svc-included-card:first-child {
  border-radius: 14px 0 0 14px;
}

.svc-included__grid--flush .svc-included-card:last-child {
  border-radius: 0 14px 14px 0;
  border-right-width: 1px;
}

.svc-included__grid--flush .svc-included-card__text {
  line-height: 1.65;
}

.areas__grid--other {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 992px) {
  .areas-other .areas__grid,
  .areas__grid--other {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.areas__view-more {
  border-radius: 3px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.9rem 1.6rem;
}

@media (max-width: 1199px) {
  .areas__grid--other {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-included__grid--flush {
    gap: 0.85rem;
  }

  .svc-included__grid--flush .svc-included-card,
  .svc-included__grid--flush .svc-included-card:first-child,
  .svc-included__grid--flush .svc-included-card:last-child {
    border-radius: 14px;
    border-right-width: 1px;
  }
}

@media (max-width: 767px) {
  .areas__grid--other {
    grid-template-columns: minmax(0, 1fr);
  }
}
