@charset "utf-8";
/* CSS Document */
body,
td,
th {
  font-family: "Roboto", sans-serif;
}
a:link,
a:visited {
  color: #000000;
  text-decoration: none;
}
a:hover {
  color: #002169;
  text-decoration: underline;
}
a:active {
  text-decoration: underline;
}
#nav-menu {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: medium solid #002169;
  border-top: medium solid #002169;
  text-align: center;
}
#nav-menu a {
  margin: 0 15px;
  font-weight: bold;
  font-size: larger;
}
#nav-menu a.active {
  text-decoration: underline;
  color: #002169;
}
.intro-float-img {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 300px;
  height: auto;
  border-radius: 4px;
}

#internal-intro {
  justify-content: center;
  text-align: center;
  max-width: 100%;
  margin-top: 30px;
  margin-left: 20%;
  margin-right: 20%;
}
#external-intro {
  justify-content: center;
  text-align: center;
  max-width: 100%;
  margin-top: 30px;
  margin-left: 20%;
  margin-right: 20%;
}
#main {
  height: 153px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
body {
  padding-bottom: 5em;
}
#logo {
  width: 40%;
}
#logo img {
  max-height: 150px;
}
#index-image {
  border-bottom: medium solid #002169;
  display: flex;
  justify-content: center;
  width: 100%;
}
#index-image img {
  max-width: 500px;
}
#text {
  margin-top: 20px;
  font-size: medium;
  font-weight: bold;
  max-height: 150px;
  margin-right: 15em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fb {
  margin-top: 10px;
}
#ctiCarousel .carousel-item img {
  max-height: 450px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #fff; /* optional, fills space around images */
  border-bottom: medium solid #002169;
}
.carousel-indicators [data-bs-target] {
  background-color: #002169;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
#new-build {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
  margin-top: 20px;
}

.gallery-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #b3d1ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  height: 200px;
  transition: transform 0.2s ease;
}

.gallery-grid a:hover {
  transform: scale(1.03);
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #b3d1ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* JS-powered lightbox modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 1000;
}
#footer {
  position: fixed;
  bottom: 0;
  background-color: #002169;
  color: white;
  height: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 15px;
}
footer p {
  margin: auto;
}
#intro-content {
  width: 90%;
  max-width: 1000px;
  margin: 3em auto;
  padding: 2em;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  font-family: "Segoe UI", sans-serif;
  color: #333;
  line-height: 1.6;
}

#intro-content h2 {
  color: #002169;
  font-size: 2rem;
  margin-bottom: 1em;
  text-align: center;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
  margin: 2em 0;
}

.image-row img {
  max-width: 200px;
  height: 100px;
}

#intro-content p {
  margin-bottom: 1em;
  font-size: 1rem;
}

#intro-content strong {
  color: #002169;
}

@media (max-width: 800px) {
  #main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto; /* Allow height to grow */
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-grid img {
    height: auto;
    max-height: 150px;
    padding: 5px;
    object-fit: contain;
  }
  #logo {
    width: 100%;
  }

  #logo img {
    border: #ce0f2d thin solid;
    max-width: 100%;
    height: auto; /* Responsive scaling */
  }

  #text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 10px auto 0 auto;
    max-height: none; /* Allow it to expand */
    font-size: medium;
    font-weight: bold;
  }

  #footer {
    font-size: small;
    background-color: #002169;
    color: white;
    width: 100%;
    height: 4em;
    display: flex;
    text-align: center;
    justify-content: center;
  }
}
