/* ✅ Thumbnail grid images styled */
.gallery img {
  border: 3px solid #eee;         /* light border */
  border-radius: 8px;             /* rounded corners */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;      /* smooth hover effect */
}

.gallery img:hover {
  border: 3px solid #007bff;      /* highlight border on hover */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: scale(1.03);         /* subtle zoom on hover */
}

/* ✅ LightGallery popup image (zoom mode) */
.lg-current img {
  border: 6px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ✅ General page style */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #111;
  color: #fff;
  text-align: center;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: #222;
}

header img {
  height: 50px;
}

header a {
  color: #fff;
  text-decoration: none;
  background: #007bff;
  padding: 6px 14px;
  border-radius: 5px;
  transition: 0.3s;
}

header a:hover {
  background: #0056b3;
}

/* ✅ Gallery Grid */
#lightgallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  padding: 20px;
}

#lightgallery a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

#lightgallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

#lightgallery img:hover {
  transform: scale(1.05);
}

/* Remove all custom LightGallery button styles for .lg-next and .lg-prev */
.lg-actions .lg-prev,
.lg-actions .lg-next,
.lg-container .lg-prev,
.lg-container .lg-next,
.lg-next,
.lg-prev {
  display: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: inherit !important;
  font-size: inherit !important;
  border-radius: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: auto !important;
}
