/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #4a006a, #2d5a27);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: #e6b325;
  color: #000;
  padding: 0.8rem 1.8rem;
  margin: 0.5rem;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  background: #c2981e;
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 2px solid #e6b325;
  color: #e6b325;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ===== BOOK GRID ===== */
.featured-books h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #2d5a27;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.book-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.book-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
}

.book-card p {
  color: #666;
  margin-bottom: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #f0f5f0;
  padding: 4rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #4a006a;
}

.testimonial {
  background: white;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-weight: 700;
  color: #2d5a27;
}

/* ===== AUTHOR CTA ===== */
.author-cta {
  padding: 5rem 0;
  background: white;
}

.author-cta .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.author-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid #e6b325;
}

.author-text h2 {
  color: #4a006a;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

footer a {
  color: #e6b325;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .author-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    margin-bottom: 2rem;
  }
}

/* ===== STARS & REVIEW LINKS ===== */
.stars {
  text-align: center;
  font-size: 1.5rem;
  color: #e6b325;
  margin-bottom: 0.5rem;
}

.stars .star {
  font-weight: bold;
}

.review-link {
  color: #333;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
  transition: all 0.2s;
}

.review-link:hover {
  color: #e6b325;
  border-bottom-color: #e6b325;
}

.review-link blockquote {
  font-style: italic;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.review-link p {
  margin: 0;
}

/* ===== REVIEWER LINKS ===== */
.reviewer-link {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.reviewer-link cite {
  color: #2d5a27;
  font-weight: 700;
  font-style: normal;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: rgba(233, 216, 166, 0.2);
  border: 1px solid rgba(230, 179, 37, 0.3);
  transition: all 0.3s ease;
}

.reviewer-link:hover cite {
  color: #e6b325;
  background-color: rgba(230, 179, 37, 0.1);
  border-color: #e6b325;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(230, 179, 37, 0.2);
}

.reviewer-link:active cite {
  transform: translateY(0);
}

/* Review title styling */
.testimonial h4 {
  color: #4a006a;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}