/* =========================================================
   SITE HEADER (CONSOLIDATED)
   ========================================================= */
.site-header {
  position: relative;
  /* background-image: url('/images/pastoral-image-pexel.png'); */
 /* background-image: url('/images/Barn Snow Sceen - No Words.png'); */
/*background-image: url('/images/index-desktop.png'); */
 /* background-image: url('/images/easter/easter-desktop.webp'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 260px;

  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
  text-align: center;
}

/* Header overlay — tuned for image text clarity */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12); /* desktop */
  z-index: 0;
}

/* Stronger overlay on mobile only */
@media (max-width: 768px) {
  .site-header::before {
    background: rgba(0, 0, 0, 0.16);
  }
}

.site-header > * {
  position: relative;
  z-index: 1;
}

/* Unified index-style.css with devotion styling integrated and unified font family */

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

body {
  font-family: Georgia, serif;
  margin: 0;
  background-color: #f9fafb;
  color: #1f2937;
  padding: clamp(15px, 4vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */

/* Make header text white */
.site-header .site-title {
  color: #ffffff;
}

/* Site Subtitle — Soft Complement to Header */
.site-header .site-subtitle {
  text-align: center;
  font-family: "Georgia", serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  font-weight: 500;
  margin-top: 0.3rem;
  letter-spacing: 0.03em;

  /* Soft gradient text (lighter and gentler than title) */
  background: linear-gradient(90deg, #93c5fd, #dbeafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  /* Gentle fade-in animation */
  opacity: 0;
  animation: fadeInSubtitle 1s ease-in forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInSubtitle {
  to {
    opacity: 1;
  }
}

.site-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.site-subtitle {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Navigation Bar */
nav.navbar {
  background: #1e3a8a;
  display: flex;
justify-content: center;
  gap: 2rem;
  padding: 0.75rem 1rem;
  flex-shrink: 0; /* ← NEW: Prevents shrinking */
  font-size: 0.95rem;
}


nav.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav.navbar a:hover {
  color: #a5b4fc;
}

/* Bottom Navigation (used at page bottom) */
.bottom-nav {
  flex-shrink: 0; /* ← NEW: Keeps bottom nav fixed */
}
.navbar.bottom-nav {
    text-align: center;
    justify-content: center;
}

/* Page Wrapper – Full Viewport Flex Layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Devotion Area – Takes Remaining Space */
.devotion-area {
  flex: 1 1 auto;
  padding: 1rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
}

/* Section Styling */
.section {
  padding: 3rem 1rem;
}

.section--dark {
  background: linear-gradient(145deg, #eef2ff, #f9fafb);
}

/* Buttons */
.btn-row a.btn--primary {
  font-size: 1.25rem;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-row a.btn--primary:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
}

.btn--accent {
  background: #1e3a8a;
  border-radius: 9999px;
  color: white;
  padding: 0.75rem 2rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn--accent:hover {
  background: #3b82f6;
}

/* Featured Card */
.card {
  background: #fff;
  color: #333;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 2rem auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.featured__heading {
  text-align: center;
  color: #1e3a8a;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.subheading {
  font-size: 1.3rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

/* Devotion Container */
.devotional-container {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  max-height: 80vh;
  overflow-y: auto;
}

/* Devotion Heading */
.devotion-heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

/* Devotion Subtitle */
.devotion-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

/* Devotion Date */
.devotion-date {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Devotion Verse */
.devotion-verse {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f3f4f6;
  border-left: 4px solid #1e3a8a;
  border-radius: 0.25rem;
}

/* Devotion Content */
.devotion-content {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #374151;
}

/* Devotion Content Paragraphs */
.devotion-content p {
  margin-bottom: 1.5rem;
}

/* Devotion Content Links */
.devotion-content a {
  color: #1e3a8a;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.devotion-content a:hover {
  color: #3b82f6;
}

/* Devotion Content Bold Text */
.devotion-content strong {
  font-weight: 700;
  color: #1f2937;
}

/* Devotion Content Italic Text */
.devotion-content em {
  font-style: italic;
}

/* Devotion Content Blockquote */
.devotion-content blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid #d1d5db;
  color: #4b5563;
  font-style: italic;
}

/* Devotion Footer */
.devotion-footer {
  font-size: 0.95rem;
  color: darkblue;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.devotion-footer a {
  color: darkblue;
  text-decoration: none;
}

.devotion-footer a:hover {
  text-decoration: underline;
}

.devotion-extras {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  margin-bottom: 1rem;
}

.devotion-extras summary {
  cursor: pointer;
  font-weight: bold;
  color: #1e3a8a;
}

.devotion-extras summary::after {
  content: " (down arrow)";
}

.devotion-extras[open] summary::after {
  content: " (up arrow)";
}

.devotion-extras .takeaways {
  margin-top: 0.75rem;
}

.devotion-extras ol {
  margin-left: 1.25rem;
}

.devotion-extras ul {
  list-style-type: disc;
  margin-left: 1.25rem;
}

blockquote p strong {
  color: #1e3a8a;
}

/* Responsive Navigation and Devotions */


/* -----------------------------------------------
   Today's Devotion Heading — Elegant Gradient Style
   ----------------------------------------------- */
.todays-devotion-heading {
  text-align: center;
  font-family: "Georgia", serif;
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 700;
  font-style: italic;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem; /* ← ADDED: Your requested spacing */
  letter-spacing: 0.05em;

  /* Gradient text effect in your brand colors */
  background: linear-gradient(90deg, #8a1e73, #f63b89);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  /* Subtle depth and polish */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.todays-devotion-heading:hover {
  transform: scale(1.03);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}
/* Footer / Bottom Blue Box */
.bottom-nav {
  background-color: #1e3a8a;   /* Same deep blue as header/nav */
  color: white;
  text-align: center;
  padding: 1.25rem 1rem;
  margin-top: auto;            /* Pushes it to the bottom */
}

/* Optional: Text inside footer */
.bottom-nav p {
  margin: 0;
  font-size: 0.95rem;
}

.site-header .site-title {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* Header with image and text positioned in the grass */


/* Optional overlay for better readability */


.site-header .site-title {
  position: relative;
  z-index: 1;
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}



/* =========================================================
   DEVOTIONAL LIBRARY GRID – MOVED FROM HTML
   ========================================================= */

.devotion-area {
    flex: 1 1 auto;
    padding: 1rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 2.2rem;
    background: #000;
    color: #fff;
    padding: 0.35rem 0.75rem;
    display: inline-block;
}
.follow-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: #c00;
}
.follow-link:hover { text-decoration: underline; }

.intro {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #444;
    max-width: 800px;
}

.intro {
    margin-bottom: 2rem;
    font-size: 1.2rem;           /* Increased from 1rem */
    font-weight: 600;            /* Makes it bold */
    color: #333;                 /* Slightly darker for emphasis */
    max-width: 800px;
    line-height: 1.6;
    text-align: center;         /* Optional: centers it like a title */
}
.intro span {
  display: block;
}



.dev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem 3rem;
    margin-top: 1rem;
}

.dev-pair {
    display: contents;
}

.dev-item {
    display: flex;
    flex-direction: column;
}

.dev-title {
    font-weight: 600;
    color: #c00;
    font-size: 1.1rem;
    border-bottom: 2px solid #c00;        /* ← Keeps the red line */
    padding-bottom: 0.2rem;
    display: inline-block;
    margin-bottom: 0.3rem;
    transition: color 0.2s;
    text-decoration: none !important;
}

.dev-title:hover { color: #900; }

.dev-date {
    color: #444;                 /* Darker than #777 */
    font-size: 0.95rem;
    font-weight: 500;            /* Optional: slightly bolder */
}

.loading {
    text-align: center;
    color: #888;
    font-style: italic;
    margin: 2rem 0;
}

.home-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .dev-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .page-header h1 { font-size: 1.8rem; }
}

/* =========================================================
   MOBILE — CENTER NAV LINKS ON SMALL SCREENS (NEW)
   ========================================================= */
@media (max-width: 600px) {
    nav.navbar {
        display: flex;
        justify-content: center !important;
        gap: 2rem;
        text-align: center;
        flex-wrap: wrap;
    }

    nav.navbar a {
        display: inline-block;
        text-align: center;
        width: auto;
        padding: 0.4rem 0.75rem;
    }
}\n\n
/* =========================================================
   MOBILE HEADER IMAGE — SMALL SCREENS (ADDED)
   ========================================================= */
@media (max-width: 600px) {
  
}

/* =========================================================
   MOBILE / TABLET LAYOUT ADJUSTMENTS
   ========================================================= */
@media (max-width: 768px) {
  .dev-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* =========================================================
   MOBILE HEADER IMAGE
       background-image: url('/images/index-mobile.png'); used before 2026-03-28
   ========================================================= */


@media (max-width: 768px) {
  .site-header {
    height: 300px;
    background-size: cover;
    background-position: center center;
    padding-bottom: 30px;
  }
}


  nav.navbar {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.4rem;
    column-gap: 1.5rem;
  }

  nav.navbar a {
    line-height: 1.2;
  }

