body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #2a303c;
}

.title {
  text-align: center;
  padding: 1em;
  font-size: 2em;
  background: #222;
  color: white;
  margin-bottom: 2em;
  position: relative;
  top: 0;
  margin-top: 0;
  padding-top: 0;
}

.title a {
  color: #fff;
  text-decoration: none;
}

#gallery-container {
  column-count: 1;
  column-gap: 1em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1em;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

/* Lightbox Styles */
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay.active {
  display: flex;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

/* Responsive Masonry */
@media (min-width: 600px) {
  #gallery-container {
    column-count: 2;
  }
}

@media (min-width: 900px) {
  #gallery-container {
    column-count: 3;
  }
}

#site-footer {
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #aaa;
  
  margin-top: 2em;
}

#site-footer a {
  color: #fff;
  text-decoration: none;
}

#site-footer a:hover {
  text-decoration: underline;
}

#gallery-header {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background: transparent; /* Or set a color if you like */
}

.gallery-logo {
  display: block;
  width: 250px;
  height: 150px;
  margin: 0 auto;
  background-image: url('images/logo_new2.png'); /* Adjust path if needed */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}





