body {
  margin: 0;
  font-family: Georgia, serif;
  background: #f6f1e8;
  color: #222;
  line-height: 1.7;
}

/* Header and navigation */
header {
  background: #24170f;
  color: #fff;
  padding: 18px 0;
}

footer {
  background: #24170f;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
}

.section {
  padding: 60px 0;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1.2rem;        /* larger than default */
  padding: 6px 0;         /* vertical padding for touch targets */
}

/* Hero background section (image + text to the right) */
.hero {
    background-image: url('Images/Silverton-cozy-Library-scene.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    min-height: 700px;

    display: flex;
    align-items: center;

    position: relative;
}

/* Optional dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Text box on top of the background */
.hero-content {
  position: relative;
  z-index: 2;

  max-width: 520px;
  margin-left: 40%;
  padding: 40px;

  background: rgba(0, 0, 0, 0.45);
  color: white;
  border-radius: 8px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero .tagline {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Solid-color hero strip */
.hero-solid {
  background: #3a2a1e;
  color: #fff;
  padding: 100px 0;
}

.hero-solid h1 {
  font-size: 4rem;
  margin: 0;
}


/* Wall of books background */
.section-books-wall {
  background: #e4d4ad;   /* slightly darker / warmer */
  padding-top: 60px;
  padding-bottom: 60px;
}


/* Books page background */
.section-books {
  background: #e4d4ad;   /* slightly darker / warmer */
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Author page layout */
.author-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.author-photo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 8px 25px rgba(0,0,0,.20);
  display: block;
}

.author-text {
  flex: 1 1 260px;
}

.author-text h1 {
  margin-top: 0;
  margin-bottom: 16px;
}

.author-text p {
  margin: 8px 0;
}

/* Stack photo and text on small screens */
@media (max-width: 700px) {
  .author-layout {
    flex-direction: column;
  }

  .author-photo img {
    max-width: 100%;
  }
}

/* Cards container: lays out book cards in a grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

/* Each book card */
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Book cover images inside cards */
.book-cover {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

/* Headings inside cards */
.card h2 {
  font-size: 1.4rem;
  margin: 8px 0;
}

.card h3 {
  font-size: 1.1rem;
  margin: 4px 0;
  color: #555;
}

.card h4 {
  font-size: 1rem;
  margin: 2px 0;
  color: #777;
}

/* Paragraphs inside cards */
.card p {
  margin: 8px 0;
}

/* Actions area (buttons under each book) */
.card-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Base button style (shape and padding) */
.btn {
  display: inline-block;
  background: #b8945a;   /* default gold-ish primary */
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Amazon-style primary button */
.btn-amazon {
  background: #ff9900;
  color: #111;
}

/* Dark blue secondary buttons */
.btn-secondary {
  background: #1f3b5c;   /* deep blue */
  color: #fff;
  border: none;
}

/* Optional hover for all buttons */
.btn:hover,
.btn-amazon:hover,
.btn-secondary:hover {
  filter: brightness(1.05);
}

.featured-book {
  background: #f7f4ef;
  padding: 80px 0;
}

.featured-book-container {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 50px;

  padding: 0 20px;
}

.featured-book-cover img {
  width: 280px;

  border-radius: 6px;

  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.featured-book-text {
  flex: 1;
}

.featured-label {
  color: #8b6b3f;

  font-weight: bold;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 10px;
}

.featured-book h2 {
  font-size: 2.5rem;

  margin-top: 0;

  margin-bottom: 20px;
}

.featured-tagline {
  font-size: 1.25rem;

  font-style: italic;

  margin-bottom: 20px;
}

.featured-painting-small {
  width: 280px;
  margin-top: 25px;

  border-radius: 6px;

  box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

.featured-painting-large {
  width: 900px;
  margin-top: 25px;

  border-radius: 20px;

  box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

.section-books-wall {
  text-align: center;
  padding: 60px 0;
}

.featured-painting-wall {
  text-align: center;
}

.featured-painting-large {
  width: 900px;
  max-width: 100%;
  height: auto;

  border-radius: 20px;

  box-shadow: 0 8px 25px rgba(0,0,0,.20);
}

.featured-painting {
  background: #efe8db;
  padding: 80px 0;
}

.featured-painting-container {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 50px;

  padding: 0 20px;
}


.featured-painting-image img {
  width: 350px;
  max-width: 100%;

  border-radius: 6px;

  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.featured-painting-text {
  flex: 1;
}

.featured-painting-text h2 {
  margin-top: 0;
  font-size: 2.4rem;
}

.section-series {
  background: #efe8db;
  padding: 50px 0;
  text-align: center;
}

/* Signup & contact strip */
.signup-strip {
  background: #24170f;           /* same as header/footer for continuity */
  color: #fff;
  padding: 30px 0;
  margin-top: 40px;
}

.signup-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.signup-column {
  flex: 1 1 260px;
}

.signup-column h2 {
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.signup-column p {
  margin: 6px 0 16px;
}

/* Email form */
.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-form input[type="email"] {
  flex: 1 1 220px;
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  font-family: inherit;
}

/* Social icons */
.signup-social {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #b8945a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.book-actions {
  margin-top: 30px;
}

.release-date {
  font-size: 1.1rem;
  font-weight: bold;

  color: #8b6b3f;

  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.signup-contact .btn-secondary {
  background: white;
  color: #24170f;
}

.btn-secondary {
  background: #3a2a1e;
  color: white;
}

.btn-amazon {
  background: #b8945a;
  color: white;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;

  border-radius: 6px;

  box-shadow: 0 8px 20px rgba(0,0,0,.2);

  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.gallery-item p {
  margin-top: 12px;

  font-weight: 600;
}

.gallery-item {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
  text-align: center;
}


/* Responsive adjustments for signup strip */
@media (max-width: 700px) {
  .signup-grid {
    flex-direction: column;
    gap: 24px;
  }

  .signup-form {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-form input[type="email"],
  .signup-form .btn {
    width: 100%;
  }
}

.action-buttons {
  flex-direction: column;
}

.action-buttons .btn {
  width: 100%;
  text-align: center;
}

/* Hero adjustments on narrower screens (tablets + phones) */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    margin-left: 5%;
    max-width: 90%;
  }
}



/* Nav and cards adjustments on small screens (phones) */
@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav a {
    margin-left: 0;
    margin-top: 8px;
    font-size: 1.1rem;
    padding: 8px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }

  .book-cover {
    max-width: 220px;
  }
}