.album-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}

.album {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.album:hover {
  transform: scale(1.02);
}

.album-cover {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.album-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-info {
  padding: 15px;
  color : #563A52;
}
.album-info h3 {
  margin: 0 0 5px;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
}

.album-gallery-photo {
  margin: 0 auto;
  padding: 20px;
}

.album-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.photo-grid img:hover {
  transform: scale(1.03);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.show {
  display: flex;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
  user-select: none;
}

.modal-close:hover {
  color: #ccc;
}

@media (min-width: 768px) {
  .album-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .album-gallery {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .photo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}