@charset "UTF-8";

/* ---------------------
   Global Styles
---------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

body {
  scroll-snap-type: y mandatory;
}

.app-container {
  width: 100%;
}


/* ---------------------
   Page Sections
---------------------- */
.page-section {
  padding-left: 3rem;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}


/* ---------------------
   Side Navigation
---------------------- */
.navbar {
  width: 5vw; /* fixed width */
  min-width: 5vw;
  height: 100vh;
  background: linear-gradient(90deg, #34504a, #88cd85);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0;
  transition: width 0.3s ease;
  overflow: hidden;
  position: relative;
}

.menu-toggle {
  padding-bottom: 2rem;
  color: #fff;
  font-size: 1.5rem;
  position: fixed;
  top: 1rem;
  left: 0.7rem;
  z-index: 505;
  background: none;
  border: none;
  cursor: pointer;
}

.sidebar-nav {
  position: fixed;
  top: 0;
  left: -250px;
  width: 300px;
  height: 100%;
  background: linear-gradient(0deg, #34504a, #88cd85);
  transition: left 0.3s ease;
  z-index: 500;
  padding-top: 4rem;
}

.sidebar-nav.show {
  left: 0;
}

/* Default: hide everywhere first */
.menu-toggle-icons {
  display: none;
}

.hidden {
  display: none !important;
}

/* Show on desktop only and only when sidebar is closed */
@media (min-width: 768px) {
  .menu-toggle-icons {
    display: block;
    position: fixed;
    top: 4rem;
    left: 0;
    padding: 0.5rem;
    z-index: 1000;
    background: transparent;
    pointer-events: auto;
  }

  .sidebar-open .menu-toggle-icons {
    display: none;
  }

  .menu-toggle-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle-icons li {
    display: flex;
    justify-content: center;
    align-items: left;
  }

  .nav-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .nav-icon:hover {
    transform: scale(1.1);
  }
}




/* ---------------------
   Nav Links & Submenus
---------------------- */
.sidebar-nav .nav-links,
.popup-content .nav-links {
  list-style: none;
  padding-left: 1rem;
}

.nav-links li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 6px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  display: inline-block;
  padding: 0.5rem;
  white-space: nowrap;
  text-align: left;
}

.nav-links a:hover,
.nav-links li ul.submenu li a:hover {
  color: #4f4f4f;
}

.nav-links a.active,
.popup-content .nav-links a.active {
  color: #4f4f4f !important;
  font-weight: bold;
}

/* Nested submenu */
.nav-links li ul.submenu {
  padding-left: 10px;
  margin-top: 6px;
  display: block;
}

/* Default: mobile-first (smaller screens) */
.dropdown-arrow {
  font-size: 1em;
  margin-left: 0.1em;
  user-select: none;
  color: #ffffff;
}

/* For larger screens (48rem = 768px and up), reduce margin */
@media (min-width: 48rem) {
  .dropdown-arrow {
    margin-left: 6em;
  }
}

/* ---------------------
   Content Layout
---------------------- */
.main-content {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.text-panel {
  width: 35vw;
  height: 100vh;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.text-panel h1 {
  font-size: 2rem;
}

.text-panel h2 {
  padding-top: 1rem;
}

.text-panel p,
.text-panel ul li {
  font-size: 0.85rem;
  line-height: 2;
  text-align: justify;
  text-justify: inter-word;
}

/* Scrollable text content */
.text-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 2rem 2rem 2rem;
  box-sizing: border-box;
}

/* Navigation buttons under text */
.text-nav-buttons {
  height: 3rem;
  background: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: 1px solid #ccc;
}

.text-nav-buttons button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.text-nav-buttons button:hover {
  background: #eee;
  border-radius: 0.3rem;
}

/* "More Info" button styling */
.more-info-btn {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.more-info-btn button {
  padding: 0.6rem 1.5rem;
  background-color: #ddd;
  border: none;
  border-radius: 1rem;
  font-size: 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  transition: background-color 0.2s ease;
}

.more-info-btn button:hover {
  background-color: #bbb;
}


/* ---------------------
   Map Section
---------------------- */
.map iframe {
  position: absolute;
  /* top: 0;
  left: 0; */
  height: 100%;
  width: 100%;
  border: none;
}

.map {
  width: 62vw; 
  height: 100vh;
  position: relative;
  flex-shrink: 0;
}


/* ---------------------
   Page Loader Animation
---------------------- */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.loader-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #34504a, #88cd85);
  transform: translateX(0%);
  transition: transform 1s ease-in-out;
  z-index: 9998;
}

#page-loader.fade-out .loader-panel {
  transform: translateX(-100%);
}


/* ---------------------
  Open Space Index Card
---------------------- */
.open-space-card {
  background-color: #e6f4ea;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.open-space-card h3 {
  font-size: 1.2rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
}

.open-space-card p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.open-space-card ul li {
    font-size: 0.7rem;
    color: #333;
    line-height: 1.5;
}

.open-space-card ul {
    padding-inline-start: 20px;
}

      
@media (max-width: 48rem) {
  .open-space-card h3 {
    font-size: 0.8rem;
    color: #1b5e20;
    margin-bottom: 0.5rem;
  }

  .open-space-card ul li {
    font-size: 0.7rem;
    color: #333;
    line-height: 1.5;
  }
}



.open-space-card-new {
  background-color: #e6f4ea;
  padding: 1rem 1.5rem;
  margin-top: 1.2rem;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  /* Centering content vertically and horizontally */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  min-height: 100px; /* Optional: control vertical spacing */
  text-align: center;
  
}

.open-space-card-new h3 {
  margin-top: 0%;
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.open-space-card-new p {
  font-size: 0.7rem;
  color: #333;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

@media (max-width: 48rem) {
  .open-space-card-new h3 {
    font-size: 1.5rem;
  }

  .open-space-card-new p {
    font-size: 0.5rem;
  }
}


/* ---------------------
   Downloads Button
---------------------- */
.heading-with-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.download-btn {
  background-color: #545454;
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.65rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #adadad;
}

/* ---------------------
  Explore Button
---------------------- */
.explore-btn {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #34504a;
  color: #fff;
  font-weight: bold;
  font-size: 0.65rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.explore-btn:hover {
  background-color: #88cd85;
  color: #000;
}


/* ---------------------
   Popup Navigation (Mobile)
---------------------- */
@media (min-width: 48rem) {
  .popup-nav {
    display: none !important;
  }
}

@media (max-width: 48rem) {
  .app-container {
    flex-direction: column;
  }

  .sidebar-nav {
    display: none;
  }

  .page-section {
    padding-top: 3rem;
    padding-left: 0 !important;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 3rem;
    padding: 0 1rem;
    background: linear-gradient(90deg, #34504a, #88cd85);
    z-index: 1000;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* padding: 0.5rem 1rem; */
  }

  .menu-toggle {
    font-size: 1.2rem;
    padding: 3rem 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1001;
  }
  
  .popup-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    z-index: 1050;
    display: none;
  }

  .popup-nav.show {
    display: flex;
  }

  .popup-content {
    background: linear-gradient(0deg, #34504a, #88cd85);
    padding: 2rem;
    border-radius: 1rem;
    width: 80%;
    max-width: 350px;
    position: relative;
    text-align: center;
  }

  .popup-content .nav-links {
    list-style: none;
    padding: 0;
  }

  .popup-content .nav-links li {
    margin: 1rem 0;
  }

  .popup-content .nav-links a {
    font-size: 0.8rem;
  }

  .close-btn {
    position: absolute;
    color: #fff;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .main-content {
    flex-direction: column;
    height: 100vh;
    width: 100vw;
  }

  .text-panel {
    width: 100vw;
    height: 50vh;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    margin: 0;
    justify-content: space-between;
  }

  .text-panel h1 {
    font-size: 1.5rem;
  }

  .text-panel p {
    font-size: 0.7rem;
  }

  .text-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 2rem 2rem 2rem;
    box-sizing: border-box;
  }

  .text-scroll-area iframe{
    height: 75%;
  }

  .more-info-btn {
    margin-top: 1.5rem;
    justify-content: center;
  }

  .more-info-btn button {
    font-size: 0.5rem;
  }

  .map {
    height: 45vh;
    width: 100vw;
  }

  .map iframe{
    height: 100%;
  }

}

@media (max-width: 40rem) {
  .map {
    height: 45vh;
    width: 100vw;
  }

  .map iframe{
    height: 100%;
  }
}

@media (max-width: 30rem) {
  .map {
    height: 44.5vh;
    width: 100vw;
  }

  .map iframe{
    height: 100%;
  }
}

@media (max-width: 20rem) {
  .map {
    height: 41vh;
    width: 100vw;
  }

  .map iframe{
    height: 100%;
  }
}