/* ==================================================
   What Love Was Carrying
   Because Jesus Saw Everything
   style.css
================================================== */
/* ==================================================
   Variables
================================================== */
:root {
  --primary-navy: #183A6B;
  --deep-navy: #102847;
  --gold: #C8A05A;
  --soft-gold: #D9BC7A;
  --light-gold: #E9D9B2;
  --ivory: #FAF7F2;
  --warm-white: #F5F1EA;
  --text-dark: #2B2B2B;
  --text-medium: #555555;
  --border-light: #E4DDD1;
  --border-medium: #D4CAB8;
  --shadow: rgba(0, 0, 0, 0.12);
  --shadow-dark: rgba(0, 0, 0, 0.25);
}
/* ==================================================
   Reset
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--ivory);
  color: var(--text-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.95;
}
/* ==================================================
   General Layout
================================================== */
.book-container,
.chapter-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 25px;
}
.chapter-content,
.book-description,
.contents-preview {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 8px 30px var(--shadow);
}
/* ==================================================
   Typography
================================================== */
h1 {
  color: var(--primary-navy);
  text-align: center;
  font-size: 3rem;
  margin-bottom: 15px;
}
h2 {
  color: var(--gold);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: normal;
}
h3 {
  color: var(--primary-navy);
  margin-bottom: 20px;
}
p {
  margin-bottom: 28px;
  max-width: 75ch;
}
/* ==================================================
   Links
================================================== */
a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--gold);
}
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
/* ==================================================
   Homepage Banner
================================================== */
.hero-banner {
  text-align: center;
  margin-bottom: 60px;
}

.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px var(--shadow-dark);
}

.hero-intro {
  margin: 35px auto;
  max-width: 850px;
}
/* ==================================================
   Navigation Buttons
================================================== */
.book-navigation,
.chapter-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.chapter-navigation {
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-medium);
}
.book-navigation a,
.chapter-navigation a {
  background: var(--primary-navy);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 10px var(--shadow);
}
.book-navigation a:hover,
.chapter-navigation a:hover {
  background: var(--gold);
  color: white;
}

/* ==================================================
   Book Description & Contents
================================================== */
.book-description {
  margin-bottom: 60px;
}
.contents-preview {
  margin-bottom: 40px;
}
.contents-preview h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.contents-preview ul {
  list-style: none;
  padding: 0;
}
.contents-preview li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.contents-preview li:last-child {
  border-bottom: none;
}
/* ==================================================
   Images
================================================== */
img {
  max-width: 100%;
  height: auto;
}
.book-cover {
  width: 100%;
  max-width: 450px;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 12px 35px var(--shadow-dark);
}
.book-banner {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 12px 35px var(--shadow-dark);
}
/* ==================================================
   Blockquotes
================================================== */
blockquote {
  border-left: 5px solid var(--gold);
  padding-left: 25px;
  margin: 35px 0;
  color: var(--text-medium);
  font-style: italic;
}
/* ==================================================
   Tables
================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}
th,
td {
  padding: 14px;
  border: 1px solid var(--border-medium);
}
th {
  background: var(--primary-navy);
  color: white;
}
/* ==================================================
   Selection
================================================== */
::selection {
  background: var(--gold);
  color: white;
}
::-moz-selection {
  background: var(--gold);
  color: white;
}
/* ==================================================
   Footer
================================================== */
footer {
  background: var(--deep-navy);
  color: white;
  text-align: center;
  padding: 70px 25px;
  margin-top: 80px;
  border-top: 4px solid var(--gold);
}
.footer-content{
max-width:800px;
margin:0 auto;
text-align:center;
}
.footer-content::before {
  content: "✦";
  display: block;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 25px;
}
footer h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: normal;
}
footer nav {
  margin: 35px 0;
}
footer nav a,
.footer-links a{
  color: var(--light-gold);
  text-decoration:none;
  margin:0 15px;
  font-weight:600;
}

footer nav a:hover,
.footer-links a:hover{
  color:#ffffff;
}

.footer-links{
display:flex;
justify-content:center;
align-items:center;
gap:30px;
flex-wrap:wrap;
margin:35px 0;
}

.footer-scripture {
  color: var(--light-gold);
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 20px;
}
.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.2);
  max-width: 250px;
  margin: 35px auto;
}
.copyright {
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links,
.donation-buttons{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
flex-wrap:wrap;
margin:35px 0;
}

.donate-btn{
display:inline-block;
padding:12px 24px;
background:var(--gold);
color:var(--deep-navy);
text-decoration:none;
font-weight:600;
border-radius:30px;
}

.donate-btn:hover{
background:var(--light-gold);
color:var(--deep-navy);
}

footer p{
max-width:850px;
margin:0 auto 24px;
text-align:center;
}

.footer-scripture{
text-align:center;
}

.copyright{
text-align:center;
}
/* ==================================================
   Responsive Design
================================================== */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
  .book-container,
  .chapter-container {
    padding: 20px 15px;
  }
  .chapter-content,
  .book-description,
  .contents-preview {
    padding: 30px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .chapter-navigation {
    flex-direction: column;
    gap: 15px;
  }
  .chapter-navigation a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.9rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .book-navigation,
  .chapter-navigation {
    flex-direction: column;
    gap: 15px;
  }
  .book-navigation a,
  .chapter-navigation a {
    width: 100%;
    text-align: center;
  }
  .chapter-content,
  .book-description,
  .contents-preview {
    padding: 25px;
  }
  footer nav a {
    display: block;
    margin: 10px 0;
  }
}
@media (min-width: 1400px) {
  .book-container,
  .chapter-container {
    max-width: 1200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
