/* =========================================================
   BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f6f1e8;
  color: #2b2925;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   NAVIGATION
========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 92px;

  padding: 0 42px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 5000;

  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(0,0,0,.05);
}

.logo {
  width: 220px;
  height: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  color: #2b2925;
  font-size: .95rem;
  font-weight: 400;
  transition: color .2s ease;
}

.navlinks a:hover,
.navlinks a.active {
  color: #8c7351;
}

.menuBtn {
  display: none;

  width: 38px;
  height: 30px;

  border: 0;
  background: transparent;

  flex-direction: column;
  justify-content: space-between;

  cursor: pointer;
}

.menuBtn span {
  display: block;
  width: 100%;
  height: 2px;

  background: #2b2925;
}

/* =========================================================
   MAP HERO
========================================================= */

.page-map .mapHero {
  position: relative;

  min-height: 78vh;

  padding: 180px 24px 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    linear-gradient(rgba(8,10,14,.72), rgba(8,10,14,.82)),
    url("https://images.unsplash.com/photo-1511497584788-876760111969?q=80&w=2070&auto=format&fit=crop")
    center center / cover no-repeat;
}

.page-map .mapOverlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top,
      rgba(255,210,120,.12),
      transparent 55%
    );
}

.page-map .mapHeroContent {
  position: relative;
  z-index: 2;

  max-width: 920px;
  margin: 0 auto;
}

.page-map .mapEyebrow {
  display: inline-block;

  margin-bottom: 24px;
  padding: 10px 18px;

  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.12);

  background: rgba(255,255,255,.08);

  color: #d6c29a;

  font-size: .82rem;
  font-weight: 400;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-map .mapHero h1 {
  margin: 0 0 28px;

  color: #f5f1e8;

  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1;
}

.page-map .mapHero p {
  max-width: 760px;
  margin: 0 auto;

  color: rgba(255,255,255,.82);

  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.8;
}

/* =========================================================
   MAP SECTION
========================================================= */

.page-map .mapSection {
  padding: 80px 24px 110px;
  background: #f6f1e8;
}

.page-map .mapWrapper {
  max-width: 1320px;
  margin: 0 auto;
}

.page-map #map {
  width: 100%;
  height: 72vh;
  min-height: 620px;

  border-radius: 30px;
  overflow: hidden;

  box-shadow:
    0 24px 70px rgba(0,0,0,.12);
}

.page-map .leaflet-container {
  z-index: 1;
}

/* =========================================================
   POPUPS
========================================================= */

.page-map .leaflet-popup-content-wrapper {
  background: #ffffff;
  color: #2b2925;

  border-radius: 18px;
}

.page-map .leaflet-popup-tip {
  background: #ffffff;
}

.page-map .mapPopup {
  min-width: 220px;
  padding: 4px;
}

.page-map .mapPopup small {
  display: block;

  margin-bottom: 10px;

  color: #8c7351;

  font-size: .78rem;
  font-weight: 500;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-map .mapPopup h3 {
  margin-bottom: 10px;

  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.page-map .mapPopup p {
  margin-bottom: 16px;

  color: #5e5852;

  line-height: 1.6;
}

.page-map .mapPopup a {
  color: #8c7351;
  font-weight: 500;
}

/* =========================================================
   INFO CARDS
========================================================= */

.page-map .mapInfoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));

  gap: 24px;
  margin-top: 40px;
}

.page-map .mapInfoCard {
  padding: 30px;

  border-radius: 24px;

  background: rgba(255,255,255,.65);

  border: 1px solid rgba(0,0,0,.06);

  backdrop-filter: blur(12px);
}

.page-map .mapInfoCard span {
  display: block;

  margin-bottom: 14px;

  color: #8c7351;

  font-size: .78rem;
  font-weight: 500;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-map .mapInfoCard h3 {
  margin-bottom: 12px;

  color: #2b2925;

  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.page-map .mapInfoCard p {
  color: #5e5852;

  line-height: 1.7;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 42px 24px;

  text-align: center;

  background: #ece4d8;

  color: #5e5852;
}

.footerLinks {
  margin-top: 14px;

  display: flex;
  justify-content: center;
  gap: 18px;
}

.footerLinks a {
  color: #8c7351;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .nav {
    height: 82px;
    padding: 0 20px;
  }

  .logo {
    width: 180px;
  }

  .navlinks {
    display: none;
  }

  .menuBtn {
    display: flex;
  }

  .page-map .mapHero {
    min-height: 68vh;
    padding-top: 140px;
  }

  .page-map #map {
    height: 60vh;
    min-height: 520px;

    border-radius: 24px;
  }

  .page-map .mapHero p {
    font-size: 1rem;
  }

}