section {
  padding: 3.75em 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-button {
  display: inline-block;
  padding: 0.75em 1.562em;
  margin-top: 0.9375em;
  background-color: var(--color-cta-accent);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.6);
}

#hero {
  padding: 5em 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("placeholder-epic-bg.jpg") center/cover no-repeat;
  text-align: center;
}

#hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background-color: rgba(18, 18, 18, 0.85);
  padding: 2.5em;
  border-radius: 8px;
  max-width: 900px;
  border: 2px solid var(--color-gold-highlight);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-gold-highlight);
  text-shadow: 0 0 10px rgba(255, 221, 136, 0.6);
  line-height: 1.2;
  margin-bottom: 1.25em;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.875em;
}

.hero-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625em;
}

.hero-signup input[type="text"],
.hero-signup input[type="email"] {
  padding: 0.75em;
  border: 1px solid var(--color-text-body);
  background-color: var(--color-bg-secondary);
  color: var(--color-text-body);
  border-radius: 4px;
  width: 100%;
  max-width: 350px;
  font-size: 1rem;
}

.hero-signup .cta-button {
  width: 100%;
  max-width: 350px;
  font-size: 1.2rem;
}

#books {
  background-color: var(--color-bg-secondary);
  text-align: center;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5em;
  margin-top: 1.5em;
}

.book-card {
  background-color: var(--color-bg-primary);
  padding: 1.25em;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.book-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.9375em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.book-card h3 {
  font-size: 1.6rem;
  color: var(--color-text-heading);
  margin-bottom: 5px;
}

.book-card .logline {
  font-style: italic;
  color: var(--color-text-body);
  margin-bottom: 0.9375em;
}

.book-card .cta-button {
  background-color: #333;
  box-shadow: none;
}

.book-card .cta-button:hover {
  background-color: var(--color-cta-accent);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

#about {
  text-align: center;
}

.author-content {
  display: flex;
  align-items: center;
  gap: 2.5em;
  margin-top: 2.5em;
  text-align: left;
  flex-wrap: wrap;
}

.author-photo {
  flex: 0 0 250px;
  width: 15.625rem;
  height: 15.625rem;
  background: url("placeholder-author-photo.jpg") center/cover;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--color-gold-highlight);
  box-shadow: 0 0 15px rgba(255, 221, 136, 0.4);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.author-bio {
  flex: 1;
}

@media (max-width: 767px) {
  .author-content {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    margin: 0 auto 1.25em;
  }

  .hero-signup input[type="text"],
  .hero-signup input[type="email"],
  .hero-signup .cta-button {
    max-width: 100%;
  }
}

/* --- 7. CONTACT FORM STYLES --- */
#contact {
  background-color: var(--color-bg-primary);
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 2.5em auto 0;
  padding: 1.875em;
  background-color: var(--color-bg-secondary);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.contact-form label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-size: 1em;
  color: var(--color-text-body);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.9375em;
  margin-bottom: 1.25em;
  border: 1px solid var(--color-gold-highlight);
  background-color: #1a1a1a;
  color: var(--color-text-body);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 9.375rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-cta-accent);
  outline: none;
}

/* Style the submit button using the CTA style */
.contact-form .cta-button {
  width: 100%;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
