/* =========================
   ROOT VARIABLES
========================= */

:root {
  --bg-main: #EDE3D6;
  --bg-secondary: #E2D6C6;

  --text-main: #3A2E2A;
  --text-secondary: #5A4A45;
  --text-muted: #8A7A70;

  --accent-red: #A63A3A;

  --rainbow: linear-gradient(
    to right,
    #C46A6A,
    #D89A5B,
    #E3C46A,
    #7FAF8F,
    #6A8FBF,
    #9A7AC4
  );
}

/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;

  padding-top: 80px; /* for fixed header */
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

p {
  color: var(--text-secondary);
}

/* =========================
   NAVBAR FINAL (CLEAN + FIXED)
========================= */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 15px 20px;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #5A4A45;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-red);
}
/* =========================
   HERO
========================= */

.hero {
  text-align: center;
  padding: 20px 20px 60px;
  background: linear-gradient(
    to bottom,
    #E2D6C6,
    #EDE3D6 60%,
    #F4ECE2
  );
}

/* =========================
   MAIN HERO BANNER (INDEX)
========================= */

.banner-main {
  display: block;
  width: 100%;
  max-width: 650px;
  margin: 0 auto 25px;

  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* =========================
   BOOK COVER (SMALL)
========================= */

.banner-book {
  display: block;
  width: 180px;
  max-width: 100%;
  margin: 0 auto 25px;

  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* MOBILE */
@media (max-width: 768px) {
  .banner-book {
    width: 140px;
  }
}

/* =========================
   HERO TEXT
========================= */

.hero-text {
  max-width: 650px;
  margin: 20px auto 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4A3B35;
}

/* =========================
   BUTTON
========================= */

.button {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.button:hover {
  background: #8F2F2F;
}

/* =========================
   RAINBOW LINE
========================= */

.rainbow-line {
  height: 3px;
  width: 100%;
  background: var(--rainbow);
  margin: 20px 0;
}

/* =========================
   CARDS SYSTEM
========================= */

.cards-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  width: 280px;

  background: linear-gradient(135deg, #E8D8C3, #D8CBB8);
  border-radius: 16px;
  padding: 22px;

  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
}

.card h2 {
  color: #2F2421;
}

.card p {
  color: #5B4A43;
}

.card::before,
.patch::before {
  content: "";
  display: block;
  height: 4px;
  width: 40px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--rainbow);
}

/* =========================
   CONTENT SECTIONS
========================= */

.book-content {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.book-section {
  margin-bottom: 60px;
}

.book-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.book-section p {
  max-width: 600px;
  margin: 0 auto 18px;
  line-height: 1.85;
}

/* =========================
   STORIES GRID
========================= */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.patch {
  background: #D8CBB8;
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  color: #3E302B;

  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}

.patch:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* =========================
   RESOURCE CARDS
========================= */

.resource-card {
  background: #D8CBB8;
  padding: 18px;
  border-radius: 12px;
  margin: 15px 0;
}

.resource-card a {
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  color: #2F2421;
  font-size: 1.1rem;
}

.resource-card p {
  font-size: 0.95rem;
  color: #5B4A43;
}

/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-name {
  font-family: 'Playfair Display', serif;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-divider{

border:none;

height:1px;

background:#e7d7dc;

max-width:220px;

margin:35px auto;

}

.support-title{

margin-bottom:20px;

color:#8b5a73;

}

.donation-buttons{

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

margin:30px 0;

}

.donate-btn{

display:inline-block;

padding:12px 24px;

border-radius:30px;

background:#8b5a73;

color:white;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.donate-btn:hover{

opacity:.85;

transform:translateY(-3px);

}

/* =========================
   FIXED HEADER
========================= */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* =========================
   NAVBAR LAYOUT
========================= */

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;

  padding: 15px 20px;
}

/* =========================
   NAV LINKS
========================= */

.navbar a {
  color: #5A4A45;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: var(--accent-red);
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.patch {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.patch:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}
.patch {
  transition: all 0.25s ease;
}
.patch p {
  opacity: 0.85;
}

.patch:nth-child(1) { background: #D8CBB8; }
.patch:nth-child(2) { background: #DCC6B0; }
.patch:nth-child(3) { background: #CFC2B8; }
.patch:nth-child(4) { background: #E0D2BF; }
.patch:nth-child(5) { background: #D6C7B2; }
.patch:nth-child(6) { background: #E6D8C8; }
.patch:nth-child(7) { background: #D9CBB9; }

/* =========================
   STORE PAGE
========================= */

.store-book {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;

  margin-top: 30px;
}

.store-book img {
  width: 260px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.store-info {
  max-width: 420px;
}

.store-info h3 {
  margin-bottom: 10px;
}

.coming-soon {
  margin: 15px 0;
  font-weight: 600;
  color: var(--accent-red);
}

.button.disabled {
  background: #B8AAA0;
  pointer-events: none;
}

/* =========================
   BOOK PAGE BACKGROUND LAYER
========================= */

.book-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px 20px;

  background: linear-gradient(
    to bottom,
    #F4ECE2,
    #EDE3D6 60%,
    #F4ECE2
  );

  border-radius: 18px;
}

/* =========================
   BOOK CARDS ENHANCED
========================= */

.book-card-full {
  width: 100%;
  max-width: 720px;

  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);

  border-radius: 18px;
  padding: 26px;

  box-shadow: 0 10px 26px rgba(0,0,0,0.14);

  transition: transform 0.2s ease;
}

.book-card-full:hover {
  transform: translateY(-3px);
}

.book-card-full:nth-child(1) {
  background: linear-gradient(135deg, #E8D8C3, #D8CBB8);
}

.book-card-full:nth-child(2) {
  background: linear-gradient(135deg, #E3D5C8, #CFC2B8);
}

.book-card-full h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #2F2421;
}

.book-card-full h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--rainbow);
}

.book-card-full p {
  line-height: 1.85;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
}

/* =========================
   ABOUT PAGE ENHANCEMENT
========================= */

.about-card-full {
  width: 100%;
  max-width: 720px;

  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);

  border-radius: 18px;
  padding: 26px;

  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}

.about-card-full h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-card-full h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--rainbow);
}

.about-card-full p {
  line-height: 1.85;
  margin-bottom: 16px;
}

/* =========================
   STORIES PAGE ENHANCEMENT
========================= */

.stories-grid {
  background: linear-gradient(
    to bottom,
    #F4ECE2,
    #EDE3D6 60%,
    #F4ECE2
  );
  padding: 30px 20px;
  border-radius: 20px;
}

/* Slight depth boost */
.patch {
  border: 1px solid rgba(0,0,0,0.05);
}

/* Soft variation for special patches */
.patch.soft {
  background: #E6D8C8;
}

/* =========================
   RESOURCES PAGE ENHANCEMENT
========================= */

.resource-full {
  width: 100%;
  max-width: 720px;
  text-align: left;
}

/* subtle variation between sections */
.resource-full:nth-child(1) {
  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);
}

.resource-full:nth-child(2) {
  background: linear-gradient(135deg, #E3D5C8, #CFC2B8);
}

.resource-full:nth-child(3) {
  background: linear-gradient(135deg, #E6D8C8, #D6C7B2);
}

.resource-full:nth-child(4) {
  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);
}

/* spacing inside */
.resource-full p {
  line-height: 1.8;
  margin-bottom: 16px;
}

/* upgrade resource cards slightly */
.resource-card {
  transition: 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* =========================
   CONTACT PAGE ENHANCEMENT
========================= */

.contact-full {
  width: 100%;
  max-width: 720px;
  text-align: left;
}

/* section variation */
.contact-full:nth-child(1) {
  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);
}

.contact-full:nth-child(2) {
  background: linear-gradient(135deg, #E3D5C8, #CFC2B8);
}

.contact-full:nth-child(3) {
  background: linear-gradient(135deg, #E6D8C8, #D6C7B2);
}

/* spacing + readability */
.contact-full p {
  line-height: 1.8;
  margin-bottom: 16px;
}

/* link emphasis */
.resource-card a {
  color: var(--accent-red);
}

/* =========================
   CHAPTER PAGE ENHANCEMENT
========================= */

.chapter-full {
  width: 100%;
  max-width: 720px;

  background: linear-gradient(135deg, #EFE1D2, #D8CBB8);

  border-radius: 18px;
  padding: 28px;

  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}

.chapter-full h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.chapter-full h3 {
  color: var(--text-muted);
}

.chapter-full p {
  line-height: 1.9;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

/* =========================
   PRAYER PAGE (UNIQUE STYLE)
========================= */

.prayer-hero {
  text-align: center;
  padding: 60px 20px 20px;
}

.prayer-divider {
  width: 60px;
  height: 3px;
  margin: 15px auto 0;
  border-radius: 2px;
  background: var(--rainbow);
}

/* main prayer space */
.prayer-space {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
}

.prayer-text {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4A3B35;
}

/* spacing rhythm */
.prayer-text p {
  margin-bottom: 22px;
}

/* emphasis */
.prayer-text .amen {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 30px;
}

/* closing line */
.prayer-closing {
  text-align: center;
  margin: 60px 20px;
  color: #6B5A52;
  font-size: 0.95rem;
}