/* Navbar Brand */
.navbar-brand{
   font-family: "proxima-nova", sans-serif;
   font-weight: 300;
   font-style: normal;
   text-transform: uppercase;
   font-size: medium;
   padding-left: 5%;
}

/* Navbar */
.navbar{
   position: fixed;
   top: 0;
   width: 100%;
   z-index: 2000;
   padding-top: 30px;
}

/* Logos in Navbar */
.logo{
   max-height: 40px;
   display: block;
}
.logo-2{
   max-height: 25px;
   display: block;
}
.logo-3{
   max-height: 53px;
   display: block;
}

/* Map container fills remaining screen below navbar */
html, body {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.leaflet-top.leaflet-left {
  top: 70px; /* push controls down below navbar */
}

#map {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.main{
  flex: 1;
}

/* Overlay styling */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content:center;
  align-items: center;
  z-index: 2000;
}

.overlay-content {
  position: relative;   /* needed so the button is positioned relative to this box */
  background: white;
  padding: 20px;
  border-radius: 4px;
  max-width: 80vw;
  width: 90%;
  text-align: center;
}

#closeOverlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 2100; /* above everything */
}

/* Main photo */
.main-photo {
  max-width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 10px;
}

/* Gallery strip */
#gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

#gallery img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
}

#gallery img.active {
  border-color: #007bff; /* highlight selected photo */
}

/* numbered icon */

.custom-pin .pin {
  position: relative;
  background: cornflowerblue;
  width: 30px;
  height: 30px;
  border-radius: 50%;   /* circle top */
  text-align: center;
  color: white;
  font-weight: bold;
  line-height: 30px;    /* vertically center number */
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.pin-number {
  position: relative;
}

/* compass */
.compass {
  position: fixed;     /* stays in place when scrolling or zooming */
  bottom: 150px;        /* distance from the bottom */
  right: 30px;         /* distance from the right */
  width: 30px;         /* adjust size */
  height: auto;        /* keep aspect ratio */
  z-index: 3000;       /* above map and other elements */
  pointer-events: none; /* clicks pass through to map */
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  flex-wrap: wrap;
}

.footer-logo{
  display: flex;
  justify-content: flex-start;
}

.footer-text{
  color: white;
  font-weight: 300;
  font-family: "proxima-nova", sans-serif;
  text-transform: uppercase;
  line-height: 120%;
  font-size:small;
  text-align: left;
  padding: 10px 10px;
}

.footer-text a {
  color: black;
}

.footer{
  display: flex;
  flex: 1;
}

.footer-column{
width: 50vw;
}

.text-column{
  display: flex;
  align-items: center;
  padding: 10px;
  background: #f2f2f2;
}

.arrow-footer{
  max-height: 10px;
  transform: rotate(180deg);
}

.back-button {
  position: relative;
  font-family: "proxima-nova", sans-serif;
  top: 80px;
  left: 20px;
  color: black;
}

.back-button img{
  max-height: 20px;
  padding-right: 10px;
}

.image-grid{
  display: flex;
  flex-direction: column; /* single column */
  align-items: center;    /* center horizontally */
  gap: 20px;              /* space between images */
  margin-top: 100px;      /* space from top (below navbar if needed) */
  padding: 0 20px; 
}

.image-grid a img {
  max-width: 200px;       /* adjust as needed */
  width: 100%;
  height: auto;
  display: block;
}

.space{
  padding: 20px;
}

.title{
  color: black;
  font-family: "proxima-nova", sans-serif;
  text-transform: uppercase;
  font-size: larger;
  position: relative;
  top: 100px;
  display: flex;
  justify-content: center;
}