:root {
  --bg: #f7f5f0;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #8b3a1f;
  --accent-soft: #d4a890;
  --border: #e5e0d6;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.3px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-family: Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f0ebe0 0%, #e8dfd0 100%);
  padding: 70px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 44px;
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: #6e2d18; }

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn.secondary:hover {
  background: var(--accent);
  color: white;
}

/* Sections */
section {
  padding: 60px 0;
}

section.alt {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  margin-bottom: 8px;
  text-align: center;
}

p.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 17px;
}

/* Book grid */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.book-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.book-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  padding: 20px;
  text-align: center;
  font-weight: 700;
}

.book-card .body {
  padding: 20px 22px;
}

.book-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  margin-bottom: 6px;
}

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

.book-card p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 14px;
}

.book-card a.more {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: 600;
}

.book-card a.more:hover { text-decoration: underline; }

/* Article */
article.review {
  background: var(--paper);
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 60px;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

article.review header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

article.review h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  margin-bottom: 8px;
  line-height: 1.2;
}

article.review .meta {
  color: var(--muted);
  font-size: 14px;
  font-family: Arial, sans-serif;
}

article.review h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  margin: 32px 0 14px;
}

article.review p { margin-bottom: 18px; }

article.review blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}

article.review ul, article.review ol {
  margin: 16px 0 22px 28px;
}

article.review li { margin-bottom: 8px; }

/* Footer */
footer.site-footer {
  background: #1a1612;
  color: #c4bdb0;
  padding: 50px 0 24px;
  margin-top: 80px;
  font-family: Arial, sans-serif;
}

footer.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

footer.site-footer h4 {
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  margin-bottom: 14px;
}

footer.site-footer ul { list-style: none; }
footer.site-footer ul li { margin-bottom: 8px; }

footer.site-footer a {
  color: #c4bdb0;
  text-decoration: none;
  font-size: 14px;
}

footer.site-footer a:hover { color: white; }

footer.site-footer p { font-size: 14px; line-height: 1.7; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3a342c;
  text-align: center;
  font-size: 13px;
  color: #8a8275;
}

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cat-card {
  background: var(--paper);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
}

.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cat-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--accent);
}

.cat-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg);
}

.form-group textarea { min-height: 130px; resize: vertical; }

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

/* About */
.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  margin: 32px 0 14px;
}

.about-content p { margin-bottom: 18px; }

/* Responsive */
@media (max-width: 768px) {
  nav ul { gap: 16px; }
  .hero h1 { font-size: 32px; }
  article.review { padding: 30px 24px; }
  footer.site-footer .container { grid-template-columns: 1fr; }
  .brand { font-size: 20px; }
}
