
.books-section {
  padding: 60px 10%;
  background: linear-gradient(to right, #fffaf5, #f7ede2);
  text-align: center;
  font-family: 'Georgia', serif;
}

.books-section .section-title {
  font-size: 2rem;
  color: #5a2d0c;
  margin-bottom: 40px;
}

/* Responsive Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Book Card */
.book-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Cover Image */
.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;   /* Ideal for portrait book covers */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  background: #eee;
}


/* Book Title */
.book-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #5a2d0c;
  text-align: center;
  margin-bottom: 10px;
}

/* Author & ISBN */
.book-author,
.book-isbn {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 5px;
}

/* Description */
.book-description {
  margin-top: 15px;
}

.book-description p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
