
.premium-books {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 300;
  color: #222;
  margin-bottom: 15px;
}

.section-title span {
  font-weight: 700;
  background:  #FDCC0D;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #777;
  letter-spacing: 1px;
}

.book-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.book-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.book-card.featured {
  border: 2px solid #FDCC0D;
}

.book-cover {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #5b005d;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.book-actions {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.book-card:hover .book-actions {
  opacity: 1;
}

.book-actions button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-actions button:hover {
  background: #FDCC0D;
  color: #121927;
}

.book-details {
  padding: 20px;
}

.book-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

.book-author {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #FDCC0D;
  font-weight: 600;
}

.price .current {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.price .original {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: #999;
  margin-left: 5px;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: #222;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: #FDCC0D;
}

.section-footer {
  text-align: center;
  margin-top: 50px;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FDCC0D;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all:hover {
  color: #222;
}

/* Custom scrollbar */
.book-carousel::-webkit-scrollbar {
  height: 6px;
}

.book-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.book-carousel::-webkit-scrollbar-thumb {
  background: #FDCC0D;
  border-radius: 10px;
}


/*  */
.profile-section {
  padding: 60px 0;
  text-align: center;
}

.profile-image-wrapper {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #e9ecef;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.author-description {
  font-size: 16px;
  color: #667e8d;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 0 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #343a40;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #23272b;
}

.read-more-link {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}