/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@700;800&family=Josefin+Sans&family=Roboto:ital,wght@0,300;0,500;1,500;1,700&display=swap");

/* ======================== */
/*         Searchbox        */
/* ======================== */
.custom-searchbox {
  width: 95.1vw !important; /* Full width for small screens */
}

/* ======================== */
/*       Map Toggle Btn     */
/* ======================== */
.map-toggle-container {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  bottom: 40px;
  left: 0px;
}
button.map-toggle {
  border: none;
}
.map-toggle {
  padding: 5px;
  margin: 5px;
  text-align: left;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 8rem;
  background: #f3f3f3;
  animation-name: close;
  animation-duration: 0s;
  will-change: width background-color;
  transition: background 0.55s;
  vertical-align: top;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
}
.map-toggle--active {
  width: 5rem;
  animation-name: open;
}
@keyframes open {
  0%   { width: 2.8rem; }
  20%  { width: 3rem;   }
  80%  { width: 4rem;   }
  100% { width: 5rem;   }
}
@keyframes close {
  0%   { width: 5rem;   }
  20%  { width: 4rem;   }
  80%  { width: 3rem;   }
  100% { width: 2.8rem; }
}
.map-toggle--active.map-toggle--blue    { background: #316EE0; }
.map-toggle--active.map-toggle--yellow  { background: #fabe2b; }
.map-toggle--active.map-toggle--purple  { background: #c152da; }
.map-toggle--active.map-toggle--green   { background: #64da38; }

.map-toggle svg {
  fill: #a6a6a6;
  width: 1.8rem;
  height: 1.8rem;
  transition: fill 0.55s;
  will-change: fill;
}
.map-toggle--active svg {
  fill: #fffdfe;
}

/* ======================== */
/*       2D / 3D Toggle     */
/* ======================== */
#toggle2D3D {
  background: #fff;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  outline: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
#toggle2D3D:hover {
  background: #f8f8f8; /* Slight hover effect */
}

/* ======================== */
/*       General Styles     */
/* ======================== */
html {
  /* Add global resets or styling if needed */
}

body {
  margin: 0 auto;
  font-size: 18pt;
  font-family: "Josefin Sans", sans-serif;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}

h1 { font-size: 28pt; }
h2 { font-size: 22pt; }
h3 { font-size: 20pt; color: #053B62;}

p { font-family: "Roboto", sans-serif; }

section {
  padding: 1em;
  margin: 0.3em;
  border-radius: 50px;
}

section h3 {
  text-align: center;
}

img.Icons       { width: 16vw; }
img.Icons-Small { width: 12vw; }

.btn {
  border: none;
  border-radius: 25px;
  padding: 10px;
  width:100%;
}
.btn a {
  text-decoration: none;
  font-size: 15pt;
}

.active {
  background-color: #bbb;
}

/* ======================== */
/*        Map & Info        */
/* ======================== */
#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
}

#infoPanel {
  position: absolute;
  top: 60%;
  width: 100%;
  border-radius: 50px;
  z-index: 3;
}

#actionBar {
  width: 60%;
  height: 5px;
  background-color: #aaa;
  border-radius: 25px;
  margin: 10px auto; /* Center the bar */
}

/* ======================== */
/*        Title Area        */
/* ======================== */
#Title h1 {
  text-align: center;
  margin: 0 auto;
  font-size: 10vw;
}

/* ======================== */
/*    Availability Block    */
/* ======================== */
.Availability {
  padding: 1em;
  background-color: #F2F6FD;
  border-radius: 50px;
}

.occupancy-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 1em;
}
.Availability p {
  flex: 1;
  text-align: center;
  font-size: 1em;
  color: #707577;
  margin: 0;
}
.Availability p span {
  font-size: 1.5em;
  font-weight: bold;
  display: block;
}

/* ======================== */
/*      Photo Section       */
/* ======================== */
.Photo {
  overflow: hidden;
  padding: 0 !important;
  height: 200px;
}
.Photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================== */
/*  Space Availability Txt  */
/* ======================== */
section.Availability p {
  text-align: center;
}
section.Availability p span {
  font-size: 14vw;
}

/* ======================== */
/*        Icons Grid        */
/* ======================== */
#Icons-Grid {
  display: grid;
  justify-content: space-evenly;
  grid-template-columns: 20% 20% 20% 20% 20%;
  gap: 5px;
  padding: 1vw;
  margin-top: 1em;
  text-align: center;
}
.Icons-Small img {
  width: 50px;
}

/* ======================== */
/*         Address          */
/* ======================== */
address a {
  text-decoration: none;
}

/* ======================== */
/*        Rates Info        */
/* ======================== */
.ParkingInfo em {
  font-size: 20px;
}

/* ======================== */
/*       Apps Grid          */
/* ======================== */
.EcoSystem {
  padding: 1em;
  margin: -5px;
  border-radius: 50px;
}
.EcoSystem div h3 {
  display: inline;
}
#Apps-Grid {
  display: grid;
  justify-content: space-evenly;
  grid-template-columns: 100%;
  gap: 5px;
  margin-top: 1em;
  text-align: center;
}
.App div {
  align-content: center;
}
.App div img {
  width: 50vw;
}
.App div p {
  font-size: 32pt;
  margin-top: 0;
}
.smalltxt {
  font-size: 9pt;
}

/* ======================== */
/*     Amenities List       */
/* ======================== */
.amenities-list {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  list-style-type: none; /* Remove list bullets */
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; /* Space between rows */
}

.amenities-list li {
  display: grid;
  grid-template-columns: 60px 1fr; /* Fixed width for icon, flexible for text */
  gap: 16px; /* Space between icon and text */
  align-items: center; /* Vertical center alignment */
}

.amenity-icon {
  width: 100%;
  max-width: 40px; /* Control icon size */
  height: auto;
  justify-self: start; /* Left-align icon in its column */
}

.amenities-list span {
  justify-self: start; /* Left-align text in its column */
  text-align: left; /* Ensure text itself is left-aligned */
}

/* ======================== */
/*       Media Queries      */
/* ======================== */
@media screen and (min-width: 650px) {
  /* Map Toggle & Search Adjust */
  .map-toggle-container {
    position: fixed;
    flex-direction: row;
    top: 25px;
    bottom: auto;
    left: 5px;
  }
  .custom-searchbox {
    width: 350px !important;
  }
  .map-toggle {
    padding: 5px;
  }

  h1 { font-size: 24pt; }
  h2 { font-size: 19pt; }
  h3 { font-size: 14pt; }

  img.Icons       { width: 70px; }
  img.Icons-Small { width: 50px; }

  .btn a {
    font-size: 15pt;
  }

  #infoPanel {
    position: absolute;
    top: 70px;
    right: 10px;
    width: 350px;
  }
  #map {
    position: fixed;
  }
  #Title h1 {
    font-size: 25pt;
  }
  section.Photo {
    height: 200px;
  }
  section.Availability p span {
    font-size: 30pt;
  }
  #Icons-Grid {
    gap: 0px;
    padding: 2px;
    margin-top: 0;
  }
  #Apps-Grid {
    gap: 50px;
    padding: 0;
    margin-top: 10px;
  }
  .App div img {
    width: 200px;
  }
  table #Amenities-Icons {
    border-spacing: 2px;
  }
}