/* Fiona's Books — site styles */

:root {
  --cream: #faf3e6;
  --paper: #fffdf9;
  --ink: #2f2a24;
  --brown: #6b4a2f;
  --terracotta: #c1622d;
  --green: #4a6b4d;
  --green-dark: #33492f;
  --gold: #d8a447;
  --muted: #7a6f61;
  --border: #e7dcc7;
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 40, 20, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.2px;
}

.brand span {
  color: var(--terracotta);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav a:hover { color: var(--terracotta); text-decoration: none; }

/* Hero */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 760px;
  margin: 0 auto 0.4em;
}

.hero p.lead {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-amazon {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(193, 98, 45, 0.35);
}

.btn-amazon:hover { background: #a94f21; color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
}

.btn-outline:hover { background: var(--green); color: #fff; }

.badge-soon {
  display: inline-block;
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  background: #f1e3c2;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
}

/* Book grid */
.section-title {
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-family: Verdana, Arial, sans-serif;
  max-width: 620px;
  margin: 0 auto 40px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 8px 0 64px;
}

.book-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.book-card .cover-frame {
  background: #eee2c9;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.book-card .cover-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.book-card .card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.book-card .card-tagline {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.book-card .card-blurb {
  font-size: 0.95rem;
  color: var(--ink);
  flex: 1;
  margin-bottom: 18px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Book detail page */
.book-detail {
  padding: 48px 0 72px;
}

.breadcrumb {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.book-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}

.book-layout .cover-frame {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.book-layout .cover-frame img {
  border-radius: 4px;
}

.book-meta-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.book-meta-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.book-meta-list strong {
  color: var(--ink);
  font-weight: 700;
}

.book-detail h1 {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

.book-detail .tagline {
  font-family: Verdana, Arial, sans-serif;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}

.book-detail .blurb p {
  font-size: 1.05rem;
}

.detail-actions {
  margin: 28px 0 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.also-like {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

/* Inside-the-book gallery (back cover + sample pages) */
.book-gallery {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.book-gallery h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.book-gallery .section-sub {
  margin-bottom: 28px;
  text-align: left;
}

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

.gallery-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-grid .gallery-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee2c9;
  display: block;
  padding: 8px;
}

.gallery-grid .gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.2s ease;
}

.gallery-grid a.gallery-frame:hover img {
  transform: scale(1.04);
}

.gallery-grid figcaption {
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 10px 8px 14px;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1 / -1; }
}

/* About / author */
.about-section {
  padding: 24px 0 72px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.about-layout .paw {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
  font-family: Verdana, Arial, sans-serif;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #eae3d2;
  padding: 40px 0;
  margin-top: 40px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.85rem;
}

.site-footer a { color: #f3d9b1; }

/* Responsive */
@media (max-width: 900px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .book-layout, .about-layout { grid-template-columns: 1fr; }
  .book-layout .cover-frame { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .book-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: 16px; flex-wrap: wrap; }
  .hero h1 { font-size: 1.8rem; }
  .site-header .wrap { flex-direction: column; gap: 10px; padding-bottom: 12px;}
}
                            