/* =============================================================================
   BOOKS PAGE STYLES
   ============================================================================= */

/* Hero Section */
.books-hero {
  background: var(--onyx-light);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

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

.books-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}

.books-hero-intro {
  font-size: 1.125rem;
  color: var(--steel-light);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 3rem;
}

/* Cards Grid */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.book-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-card-inner {
  background: var(--onyx);
  border: 1px solid rgba(139, 26, 26, 0.3);
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.book-card:hover .book-card-inner {
  border-color: var(--crimson-glow);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(179, 36, 36, 0.3);
}

.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--crimson-glow);
  margin-bottom: 1rem;
}

.book-card-description {
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.book-card-meta {
  color: var(--steel-light);
  font-size: 0.95rem;
}

/* Submit CTA Section */
.books-submit-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--onyx);
  border-radius: 8px;
  border: 1px solid rgba(139, 26, 26, 0.3);
}

.books-submit-cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}

.books-submit-cta p {
  color: var(--silver);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.books-submit-cta .cta-button {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  background: transparent;
  border: 1px solid var(--steel);
  padding: 1.2rem 3rem;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.books-submit-cta .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 26, 26, 0.3), transparent);
  transition: left 0.4s ease;
}

.books-submit-cta .cta-button:hover::before {
  left: 100%;
}

.books-submit-cta .cta-button:hover {
  border-color: var(--crimson);
  color: var(--parchment);
  box-shadow: 0 0 30px rgba(139, 26, 26, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .books-hero h1 {
    font-size: 2rem;
  }

  .books-hero-intro {
    font-size: 1rem;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .book-card-inner {
    padding: 2rem;
  }

  .books-submit-cta {
    padding: 2rem 1.5rem;
  }

  .books-submit-cta h2 {
    font-size: 1.5rem;
  }
}
