/* Bird Feet Books — Main Stylesheet */

:root {
  --primary: #4a7c59;      /* calm forest green */
  --primary-dark: #2d5a3d;
  --accent: #c9a84c;       /* warm gold */
  --text: #2c2c2c;
  --text-light: #666;
  --bg: #faf8f5;           /* warm off-white */
  --bg-card: #ffffff;
  --border: #e0dbd4;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* REVIEWS */
.review-block {
  max-width: 750px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.review-source {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.review-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}
.review-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}
.review-attribution {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* NAV */
header {
  background: var(--primary-dark);
  color: white;
  padding: 0 2rem;
}
nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  text-decoration: none;
  letter-spacing: 0.02em;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
nav ul a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s;
}
nav ul a:hover { color: white; }

/* HAMBURGER MENU */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    gap: 0;
    z-index: 100;
    padding: 0.5rem 0;
  }
  nav ul.open { display: flex; }
  nav ul li a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  header { position: relative; }
}

/* HERO */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}
.hero-message {
  max-width: 720px;
  margin: 1.5rem auto 2rem;
  text-align: left;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.8;
}
.hero-message p {
  margin-bottom: 1rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  font-weight: normal;
}
.btn-primary:hover { background: #b8963e; color: white; }
.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-outline {
  background: #7aaa8a;
  color: white;
  border: none;
}
.btn-outline:hover { background: var(--primary); color: white; }

/* BOOK CARDS */
.books-preview {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}
.books-preview h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-weight: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-covers-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: flex-end;
}
.book-covers-row a {
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.book-covers-row a:hover {
  transform: translateY(-4px);
}
.book-covers-row img {
  width: 100px;
  height: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  border-radius: 3px;
}

/* ABOUT PREVIEW */
.about-preview {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.about-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.about-inner img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.about-inner h2 { text-align: left; margin-bottom: 0.75rem; }
.about-inner p { color: var(--text-light); margin-bottom: 1.2rem; }

/* MEDITATION PAGE */
.meditation-page {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.meditation-date {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.meditation-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.meditation-subtitle {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.meditation-body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
}
.meditation-body p {
  margin-bottom: 1.1rem;
}
.meditation-body p:has(> :first-child) {
  /* handled below */
}
/* Bullet point paragraphs */
.meditation-body p.bullet {
  padding-left: 1.5rem;
  text-indent: -1.5rem;
  margin-left: 1rem;
}
/* Poem lines */
.meditation-body p.poem {
  font-style: italic;
  margin-left: 3rem;
  margin-bottom: 0.3rem;
}
.meditation-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.recent-links {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.recent-links h3 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.recent-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.recent-links a {
  color: var(--primary);
  text-decoration: none;
}
.recent-links a:hover { text-decoration: underline; }

/* BOOK PAGE */
.book-page {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.book-page .book-hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.book-page .book-hero img {
  width: 180px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.book-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.book-page p { color: var(--text); margin-bottom: 1rem; line-height: 1.8; }

/* ABOUT PAGE */
.about-page {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.about-page .author-header {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.about-page img {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.about-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.about-page p { font-family: var(--font-serif); color: var(--text); margin-bottom: 1.2rem; line-height: 1.8; font-size: 1.05rem; }

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .about-inner { flex-direction: column; text-align: center; }
  .about-inner h2 { text-align: center; }
  .book-page .book-hero { flex-direction: column; }
  .about-page .author-header { flex-direction: column; }
  nav ul { display: none; }
}
