@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

.home-page {
  background: #f3f3f3;
  font-family: "Manrope", "Segoe UI", sans-serif;
}
/* Hero Section */
.home-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 4rem 0 5rem;
  border-bottom: 1px solid #e3e6e6;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: #565959;
  margin-bottom: 1rem;
  font-weight: 600;
}

.home-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 800;
  color: #0f1111;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.home-subtitle {
  font-size: 1.15rem;
  color: #3c3c3c;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.home-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-cta-primary,
.home-cta-secondary {
  padding: 0.85rem 2rem;
  border-radius: 0.4rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.home-cta-primary {
  background: #f0c14b;
  color: #111111;
  border: 1px solid #a88734;
}

.home-cta-primary:hover {
  background: #e3b73e;
  color: #111111;
}

.home-cta-secondary {
  background: #ffffff;
  color: #0f1111;
  border: 1px solid #d5d9d9;
}

.home-cta-secondary:hover {
  background: #f7f7f7;
  color: #0f1111;
}

.home-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-visual .carousel {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.15);
}

.home-hero-visual .carousel-inner {
  border-radius: 0.5rem;
}

.home-hero-visual .carousel-item {
  transition: transform 0.6s ease-in-out;
}

.home-hero-visual img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.home-hero-visual .carousel-control-prev,
.home-hero-visual .carousel-control-next {
  display: none;
}

.home-hero-visual .carousel-indicators {
  display: none;
}

/* Featured Books Section */
.home-featured {
  background: #ffffff;
  padding: 4rem 0;
  border-bottom: 1px solid #e3e6e6;
}

.home-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.home-section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f1111;
  margin: 0;
}

.home-section-link {
  font-weight: 600;
  color: #007185;
  text-decoration: none;
  font-size: 1rem;
}

.home-section-link:hover {
  color: #c45500;
}

.home-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.home-book-card {
  background: #ffffff;
  border: 1px solid #d5d9d9;
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  gap: 0.7rem;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12);
}

.home-book-media {
  background: #ffffff;
  border: 1px solid #e3e6e6;
  border-radius: 0.3rem;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-book-media img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.home-book-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
}

.home-book-title {
  font-size: 0.98rem;
  margin: 0;
  font-weight: 600;
  color: #0f1111;
  line-height: 1.4;
}

.home-book-title a {
  text-decoration: none;
  color: inherit;
}

.home-book-title a:hover {
  color: #c45500;
}

.home-book-author {
  margin: 0;
  font-size: 0.85rem;
  color: #565959;
}

.home-book-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.home-book-price {
  font-weight: 700;
  color: #0f1111;
}

/* Author Spotlight Section */
.home-author {
  background: #f7f7f7;
  padding: 4rem 0;
}

.home-author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.home-author-photo {
  position: relative;
}

.home-author-photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.15);
}

.home-author-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-author-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0f1111;
  margin: 0;
}

.home-author-content p {
  font-size: 1.05rem;
  color: #3c3c3c;
  line-height: 1.7;
  margin: 0;
}
/* Responsive Styles */
@media (max-width: 991.98px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-hero h1 {
    font-size: 2.4rem;
  }
  .home-hero-visual img {
    max-height: 350px;
  }
  .home-author-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .home-author-photo {
    max-width: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding: 3rem 0 3.5rem;
  }
  .home-hero h1 {
    font-size: 2rem;
  }
  .home-subtitle {
    font-size: 1.05rem;
  }
  .home-featured,
  .home-author {
    padding: 3rem 0;
  }
  .home-section-header h2 {
    font-size: 1.8rem;
  }
  .home-books-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .home-book-media img {
    height: 180px;
  }
  .home-author-content h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 575.98px) {
  .home-hero {
    padding: 2.5rem 0 3rem;
  }
  .home-hero h1 {
    font-size: 1.75rem;
  }
  .home-subtitle {
    font-size: 1rem;
  }
  .home-hero-actions {
    flex-direction: column;
  }
  .home-cta-primary,
  .home-cta-secondary {
    width: 100%;
    text-align: center;
  }
  .home-hero-visual img {
    max-height: 280px;
  }
  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .home-books-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .home-book-media img {
    height: 170px;
  }
  .home-author-photo {
    max-width: 200px;
  }
}
