/* Book Gallery Styles */

.book-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.book-item {
  text-align: center;
  transition: transform 0.2s;
}

.book-item:hover {
  transform: translateY(-5px);
}

.book-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.book-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}

.book-author {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 0.5rem;
}

.book-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.book-tag {
  background: #e0e0e0;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85em;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .book-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .book-cover {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .book-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .book-cover {
    height: 350px;
  }
}

