/* ===== Global page styles ===== */
body {
  /* chalky sky blue background */
  background-color: #b8cde2;

  /* daisies image in the bottom-right corner */


  font-family: "Georgia", "Times New Roman", serif;
  color: #222;
  margin: 0;
  padding: 0;
}

/* center the main content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* ===== Header & Navigation ===== */

header {
  background: linear-gradient(to bottom, #eaf2fb 0%, #ffffff 100%);
  border-bottom: 3px solid rgba(240, 230, 200, 0.6);
  padding: 1rem 1rem 0.5rem;
  box-shadow: 0 4px 6px rgba(184, 205, 226, 0.2);
}

h1 {
  margin: 0;
  text-align: center;
  font-size: 2rem;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-bottom: 0.5rem;
}

nav a {
  text-decoration: none;
  color: #1e3a5f;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* ===== Text helpers ===== */

.small {
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 0.75rem;
}

/* ===== Main button (book button, etc.) ===== */

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0;
  background: #e6eef7;
  color: #1e3a5f;
  border: none;
  border-radius: 999px;        /* pill shape */
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(96, 125, 155, 0.4);  /* soft smoky glow */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #d4e2f2;
  box-shadow: 0 0 18px rgba(96, 125, 155, 0.7);
}

/* ===== Card layout (Devotions / Scripture / Journal) ===== */

.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  flex: 1 1 220px;
  display: block;
  padding: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  text-decoration: none;
  color: #222;
  box-shadow: none;
  transition: background 0.3s ease;
}

.card h3 {
  margin-top: 0;
}

.card:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* ===== Devotions list (for devotions.html) ===== */

.devotion-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.devotion-list li {
  margin-bottom: 0.6rem;
}

.devotion-list a {
  text-decoration: none;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
}

.devotion-list a:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* ===== Ko-fi button ===== */

.kofi-button {
  display: inline-block;
  background: linear-gradient(135deg, #d8e8d8, #f6efe9);
  color: #4a4a4a;
  font-family: "Georgia", serif;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 22px;
  border: 2px solid #c7b8a0;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(199, 184, 160, 0.6);  /* soft warm glow */
  transition: all 0.3s ease;
}

.kofi-button:hover {
  background: linear-gradient(135deg, #f5f0ea, #e3f2e1);
  color: #3a3a3a;
  box-shadow: 0 0 16px rgba(199, 184, 160, 0.9);
}

/* ===== Facebook button (glow) ===== */

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #b8cde2;  /* soft sky blue */
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(184, 205, 226, 0.8);  /* adds a glow */
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #9ab7d3;
  box-shadow: 0 0 15px rgba(154, 183, 211, 1);    /* brighter glow on hover */
}

/* ===== Teaser card for next book ===== */

.teaser-card {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 0 14px rgba(184, 205, 226, 0.6);
  border-left: 4px solid rgba(96, 125, 155, 0.7);
}

.teaser-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #1e3a5f;
}

.teaser-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #4a3a2a;
}

.teaser-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

/* soft secondary button for teaser */
.btn-secondary {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: #f0e5d9;
  color: #4a3a2a;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(200, 175, 140, 0.6);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #e6d5c3;
  box-shadow: 0 0 16px rgba(200, 175, 140, 0.9);
}

/* ===== Footer ===== */

.footer {
  text-align: center;
  font-size: 0.85rem;
  color: #333;
  padding: 1rem 0 1.25rem;
  background: linear-gradient(
    to top,
    rgba(248, 221, 182, 0.8) 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
  border-top: 3px solid rgba(255, 200, 150, 0.5);
  box-shadow: 0 -4px 6px rgba(240, 210, 180, 0.2);
}
.footer-note {
  text-align: center;
  font-size: 0.9rem;
  color: #4a3a2a;
  padding: 0.6rem 0 1.6rem;
  background: linear-gradient(
    to top,
    rgba(248, 221, 182, 0.35) 0%,
    rgba(255, 255, 255, 0.25) 100%
  );
  border-top: 1px solid rgba(200, 175, 140, 0.5);
  box-shadow: 0 -3px 8px rgba(248, 221, 182, 0.4); /* soft golden glow */
  font-style: italic;
  border-radius: 0 0 1rem 1rem;
}
.blog-post {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid #c9a57d;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.blog-post h2 {
  color: #4a3a2a;
}
.blog-date {
  color: #777;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.under-construction {
  text-align: center;
  font-size: 0.95rem;
  color: #4a3a2a;
  background: rgba(255, 248, 230, 0.6);
  border-top: 2px solid rgba(248, 221, 182, 0.6);
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(248, 221, 182, 0.4);
  padding: 0.75rem 1rem;
  margin-top: 2rem;
  font-style: italic;
}
