 body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f4f9;
    }

    .gallery-container {
      padding: 40px 20px;
      max-width: 1200px;
      margin: auto;
    }
/*
    .gallery-title {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #333;
    }*/

  .gallery-header {
  padding: 40px 20px;
  text-align: center;
  color: white;
  background: linear-gradient(to right, #8b5cf6, #ec4899, #4f46e5); /* purple-600 → pink-600 → indigo-600 */
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white; /* Override previous color */
}

.gallery-subtitle {
  font-size: 1.2rem;
  margin-top: 0;
  color: white;
}


    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .gallery-item {
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

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

    /* Lightbox styles */
   .lightbox {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1000;
    }

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

    .lightbox:target {
      display: flex;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2rem;
      color: white;
      text-decoration: none;
      cursor: pointer;
    }
    


.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  text-decoration: none;
  cursor: pointer;
  padding: 10px;
  transform: translateY(-50%);
  z-index: 1001;
  user-select: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #ccc;
}

    @media (max-width: 600px) {
      .gallery-title {
        font-size: 2rem;
      }
    }


    /* Home Button Styles */
.home-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background: linear-gradient(to right, #8b5cf6, #06b6d4);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  z-index: 1000;
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  background: linear-gradient(to right, #7c3aed, #0891b2);
}

.home-button:active {
  transform: translateY(0);
}

/* Responsive design for home button */
@media (max-width: 768px) {
  .home-button {
    top: 5px;
    left: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

}

