/* ============================================================
   Limitless Gratitude — Main Stylesheet
   Color Palette:
     Deep Forest Green : #1a3d2b
     Warm Gold          : #c9a84c
     Light Gold         : #e8c96a
     Cream              : #faf6ef
     Dark Cream         : #f0e8d8
     Text Dark          : #2c2c2c
     Text Mid           : #555555
     White              : #ffffff
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lora', Georgia, serif;
  background-color: #faf6ef;
  color: #2c2c2c;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: #1a3d2b; text-decoration: none; transition: color .2s; }
a:hover { color: #c9a84c; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #1a3d2b;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { font-size: 1.05rem; color: #555555; margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.1rem;
  color: #c9a84c;
  font-family: 'Lato', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ---------- Layout Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background-color: #f0e8d8; }
.text-center { text-align: center; }
.flex       { display: flex; }
.grid       { display: grid; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, transform .15s;
  border: 2px solid transparent;
}
.btn-primary {
  background: #1a3d2b;
  color: #faf6ef;
  border-color: #1a3d2b;
}
.btn-primary:hover {
  background: #c9a84c;
  border-color: #c9a84c;
  color: #1a3d2b;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #1a3d2b;
  border-color: #1a3d2b;
}
.btn-outline:hover {
  background: #1a3d2b;
  color: #faf6ef;
  transform: translateY(-2px);
}
.btn-gold {
  background: #c9a84c;
  color: #1a3d2b;
  border-color: #c9a84c;
}
.btn-gold:hover {
  background: #1a3d2b;
  color: #faf6ef;
  border-color: #1a3d2b;
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a3d2b;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #faf6ef;
  line-height: 1.2;
}
.nav-logo-text span { color: #c9a84c; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #faf6ef;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: #c9a84c; border-bottom-color: #c9a84c; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #faf6ef;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 1.5rem;
}
.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1rem;
}
.hero h1 { color: #faf6ef; margin-bottom: 1.25rem; }
.hero p  { color: rgba(250,246,239,.85); font-size: 1.15rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: #1a3d2b;
  padding: 1.75rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #c9a84c;
  font-weight: 700;
}
.stat-item .stat-label {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250,246,239,.7);
}

/* ---------- Category Cards ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.category-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(26,61,43,.08);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid #c9a84c;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(26,61,43,.14);
}
.category-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.category-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.category-card p  { font-size: .9rem; margin-bottom: 1.25rem; }

/* ---------- Featured Books ---------- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.book-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(26,61,43,.08);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(26,61,43,.14);
}
.book-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8e0d0;
}
.book-cover-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a3d2b 0%, #2d6b4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.book-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-category-tag {
  font-family: 'Lato', sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9a84c;
  font-weight: 700;
  margin-bottom: .4rem;
}
.book-info h3 { font-size: 1rem; margin-bottom: .25rem; }
.book-author  { font-size: .85rem; color: #888; margin-bottom: .75rem; }
.book-price   {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3d2b;
  margin-bottom: 1rem;
}
.book-price .original {
  font-size: .85rem;
  color: #aaa;
  text-decoration: line-through;
  margin-left: .4rem;
  font-weight: 400;
}
.book-card .btn { margin-top: auto; width: 100%; text-align: center; }

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,61,43,.15);
}
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-text .section-subtitle { margin-bottom: .5rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: 1rem; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.value-text h4 { font-size: .95rem; color: #1a3d2b; margin-bottom: .15rem; }
.value-text p  { font-size: .85rem; margin: 0; }

/* ---------- Amazon Section ---------- */
.amazon-section {
  background: linear-gradient(135deg, #1a3d2b 0%, #0f2419 100%);
  padding: 5rem 0;
  text-align: center;
}
.amazon-section h2 { color: #faf6ef; margin-bottom: 1rem; }
.amazon-section p  { color: rgba(250,246,239,.8); max-width: 600px; margin: 0 auto 2rem; }
.amazon-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #FF9900;
  color: #111;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-bottom: 1rem;
}
.amazon-badge:hover {
  background: #e68a00;
  color: #111;
  transform: translateY(-2px);
}
.amazon-badge svg { width: 28px; height: 28px; }
.amazon-note {
  font-size: .8rem;
  color: rgba(250,246,239,.5);
  margin-top: 1rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(26,61,43,.07);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #c9a84c;
  opacity: .25;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}
.testimonial-text { font-style: italic; margin-bottom: 1.25rem; font-size: .95rem; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a3d2b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .9rem; color: #1a3d2b; }
.author-role { font-size: .8rem; color: #888; }
.star-rating { color: #c9a84c; font-size: .9rem; margin-bottom: .75rem; }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: #f0e8d8;
  padding: 4rem 0;
  text-align: center;
}
.newsletter-section h2 { margin-bottom: .75rem; }
.newsletter-section p  { max-width: 520px; margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: .85rem 1.25rem;
  border: 2px solid #c9a84c;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  background: #fff;
  color: #2c2c2c;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus { border-color: #1a3d2b; }
.newsletter-disclaimer { font-size: .78rem; color: #888; margin-top: .75rem; }

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #1a3d2b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text h4 { font-size: .95rem; color: #1a3d2b; margin-bottom: .1rem; }
.contact-detail-text p  { font-size: .9rem; margin: 0; }

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 6px 28px rgba(26,61,43,.1);
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1a3d2b;
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid #e0d8c8;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: #2c2c2c;
  background: #faf6ef;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1a3d2b; }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.footer {
  background: #0f2419;
  color: rgba(250,246,239,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .9rem;
  color: rgba(250,246,239,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: #c9a84c; }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,239,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(250,246,239,.65);
  transition: background .2s, color .2s, border-color .2s;
}
.social-link:hover {
  background: #c9a84c;
  color: #1a3d2b;
  border-color: #c9a84c;
}
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}
.footer-bottom a { color: #c9a84c; }
.footer-bottom a:hover { text-decoration: underline; }
.affiliate-disclaimer {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 6px;
  padding: .75rem 1.25rem;
  font-size: .8rem;
  color: rgba(250,246,239,.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #1a3d2b 0%, #2d6b4a 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: #faf6ef; margin-bottom: .75rem; }
.page-hero p  { color: rgba(250,246,239,.8); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  font-family: 'Lato', sans-serif;
  font-size: .82rem;
  color: rgba(250,246,239,.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: #c9a84c; }

/* ---------- Catalog Filters ---------- */
.catalog-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 30px;
  border: 2px solid #1a3d2b;
  background: transparent;
  color: #1a3d2b;
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: #1a3d2b;
  color: #faf6ef;
}
.filter-label {
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  color: #888;
  margin-right: .25rem;
}

/* ---------- Scroll-to-top ---------- */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: #1a3d2b;
  color: #c9a84c;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .2s;
  z-index: 900;
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover   { transform: translateY(-3px); }

/* ---------- Toast Notification ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a3d2b;
  color: #faf6ef;
  padding: .9rem 1.75rem;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  transition: transform .35s ease;
  z-index: 9999;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #1a3d2b; padding: 1.5rem; gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .navbar { position: relative; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-image img { height: 280px; }

  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-content { padding: 3rem 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
