html {
  scrollbar-gutter: stable;
}

body {
  font-family: 'Montserrat', sans-serif;
}


h1,
a,
h2,
h3,
.nav-link {
  font-family: 'Montserrat', sans-serif !important;
}

section {
  font-family: 'Montserrat', sans-serif;
}

/* top bar height */
#top-bar {
  transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

/* footer */
.shadow-glow {
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}

/* Popup Animation */
@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal {
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Mobile / tablet: prevent horizontal scroll; desktop unaffected */
@media (max-width: 1023px) {
  html {
    overflow-x: clip;
  }
}

/* Hide Alpine-controlled UI until Alpine runs (stops mobile drawer flashing on refresh) */
[x-cloak] {
  display: none !important;
}

    #mapModal {
  z-index: 1000000 !important; /* Higher than any header */
}
body.modal-open #main-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
 