@font-face {
    font-family: 'MyFont';
    src: url('/fonts/AreaExtended-Regular.woff2') format('woff2'),
         url('/fonts/AreaExtended-Regular.woff') format('woff'),
         url('/fonts/AreaExtended-Regular.otf') format('opentype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}



#navbar_logo,
.navbar_links,
.navbar_btn .button {
  font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: #131313;
    height: 80px;   
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;   
    
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem; /* match other links */
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px; /* match Buy button spacing */
    height: 75%; /* same as .button */
    border-radius: 4px;
    background: none; /* remove gradient */
    color: #fff; /* normal white text */
    transition: all 0.3s ease;
}

/* When hovered, match the other links */
#navbar_logo:hover {
    color: #095540;
}

/* Fix the logo image alignment and sizing */
.navbar_logo_img {
  height: 30px; /* aligns better with text and Buy button */
  width: auto;
  margin-right: 8px;
}


.navbar_logo_text {
  color: inherit; /* take color from #navbar_logo */
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

#navbar_logo .navbar_logo_text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #fff;
  -moz-text-fill-color: #fff;
  color: #fff;
}

#navbar_logo:hover .navbar_logo_text {
  color: #095540;
}



.fa-gem {
    margin-right: 0.5rem;
    
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;

}


.navbar_item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
}

.navbar_links {
    color: #fff;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar_btn {
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;    
align-items: center;
text-decoration: none;
white-space: nowrap;
padding:10px 20px;
height: 75%;
width: 120px;
border: none;
outline: none;
border-radius: 4px;
background: #a2c9a7;
color: #fff;
}



.button:hover {
    background: #095540;
    color: #fff;
    transition: all 0.3s ease;

}

.navbar_links:hover {
    color: #095540;
    transition: all 0.3s ease;
}   

@media screen and (max-width: 960px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: 1fr;
        position: absolute;
        top: 80px; /* directly under the navbar */
        left: 0;
        width: 100%;
        background-color: #131313;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        z-index: 998;
    }
    
    .navbar_menu.active {
        opacity: 1;
        height: 50vh; /* adjust based on how much content you have */
    }
    

    #navbar_logo {
        padding: 0 1rem;
        
    }  
    
    .navbar_logo_text {
    display: none;
  }

    #mobile-menu .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar_item {
        width: 100%;
    }

    .navbar_links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        
    }

    #mobile-menu {
        
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
            z-index: 1000;
        
        
    } 
    
    .navbar_btn {
        padding-bottom: 2rem;
    }

    .button {
        display:flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 60px;
        margin: 0;

    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {  
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {  
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {  
        transform: translateY(-8px) rotate(-45deg);
    }
}

body {
  margin: 0;
  background-color: #000;
  color: #a2c9a7;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* make map container respond to window size */
.map-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px); /* Safari fix */
  padding-top: 28px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  text-align: center;
  overflow-y: auto;
}

/* responsive title */
.map-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #a2c9a7;
  font-family: 'Montserrat', sans-serif;
}

.map-wrapper {
  width: 90%;
  max-width: 1100px;
  height: calc(80vh - 80px);
  max-height: calc(100dvh - 140px); /* keeps it inside viewport vertically */
  overflow: hidden;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  cursor: zoom-in;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 0.2s ease, width 0.2s ease;
}

/* image scales properly */
.zoom-map {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* always fully visible, scales both ways */
  transition: transform 0.3s ease, transform-origin 0.1s ease;
}

/* small screen adjustments */
@media screen and (max-width: 768px) {
  .map-page-container {
    min-height: auto;
    padding-top: 20px;
  }

  .map-wrapper {
    width: 95%;
    max-height: 70vh;
  }

  .map-title {
    font-size: 1.6rem;
    margin-top: 6px;
  }
}