body {
  background-image: url('/assets/img/mythical.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.gal-head {
  text-align: center;
  font-size: 2rem;
  color: #ffee00;
  text-shadow: 1px 1px 2px #000;
}

.back-to-gallery {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background-color: #111;
  color: #ffee00;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem 1rem;
}

.image-grid {
  display: block;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0; /* remove auto-centering */
}

.image-card {
  width: fit-content;
  margin-bottom: 2rem;
}

.image-card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.image-card h4 {
  text-align: center;
  margin: 0;
}

.album-card {
  text-align: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

.album-card:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.album-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: #f0f0f0;
}

@media (max-width: 992px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .album-grid {
    grid-template-columns: 1fr;
  }
}