/* Books Page Styles */

/* Books Overview Section */
.books-overview-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.books-overview-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.books-overview-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Authored Books Section */
.authored-books-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.book-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.book-card-cover {
  flex-shrink: 0;
  width: 400px;
  background: #6c7a89;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.book-card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.book-card-details {
  flex: 1;
  padding: 2rem;
}

.book-card-details h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  font-family: 'Poppins', sans-serif;
}

.book-meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.book-card-description {
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.book-card-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
  color: white;
  text-decoration: none;
}

/* Book Chapters Section */
.book-chapters-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

.chapters-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chapter-card {
  background: #f8f9fa;
  border-left: 4px solid #2c3e50;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chapter-card:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chapter-card h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-family: 'Poppins', sans-serif;
}

.chapter-book {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.chapter-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.chapter-description {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Technical Reviews Section */
.reviews-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
  margin-bottom: 0;
}

.reviews-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  background: white;
  border-left: 4px solid #2c3e50;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-card h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-family: 'Poppins', sans-serif;
}

.review-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.review-description {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background-color: white;
  padding: 3rem 0;
  margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .books-overview-content p,
  .book-card-description {
    font-size: 1rem;
  }
  
  .book-card {
    flex-direction: column;
  }
  
  .book-card-cover {
    width: 100%;
    padding: 2rem;
  }
  
  .book-card-image {
    max-width: 200px;
  }
  
  .book-card-details {
    padding: 1.5rem;
  }
}

