body {
  font-family: 'Open Sans', sans-serif;
  background: #f9f9f9;
}

/* Navbar logo fix */
.navbar .logo-brand img {
  max-height: 50px;   /* keeps logo from being too tall */
  height: auto;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-top: 5px;    /* adjust spacing */
}

/* Ensure navbar items align vertically */
.navbar-nav > li > a {
  line-height: 60px;   /* match logo height */
  padding-top: 0;
  padding-bottom: 0;
}

.gallery-page header h2 {
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-page header h3 {
  font-weight: 300;
  margin-bottom: 40px;
  color: #777;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/*.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}*/
.gallery-grid img {
      width: 100%;
      height: 200px; /* fixed height for uniform look */
      object-fit: cover; /* crop instead of stretch */
      cursor: pointer;
      margin-bottom: 15px;
      border-radius: 6px;
      transition: transform 0.3s;
    }
    .gallery-grid img:hover {
      transform: scale(1.05);
    }
    /* Lightbox modal */
    .lightbox {
      display: none;
      position: fixed;
      z-index: 9999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.9);
    }
    .lightbox-content {
      margin: auto;
      display: block;
      max-width: 80%;
      max-height: 80%;
    }
    .lightbox:target {
      display: block;
    }
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      text-decoration: none;
    }
