/* =========================================
   GLOBAL RESET & BASE
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;

  /* Layout offsets */
  padding-top: 60px;   /* header height */
  padding-left: 40px;  /* sidebar offset (mobile/tablet) */
}

@media (min-width: 900px) {
  body {
    padding-left: 60px; /* sidebar offset (desktop) */
  }
}

/* Global justified text */
[class$="-text"] p {
  text-align: justify;
}

/* Global container width */
[class$="-container"] {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}

/* Section titles */
[class$="-title"] {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Subtitles */
[class$="-subtitle"] {
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-align: center;
  color: #555;
}

/* Paragraph spacing */
[class$="-text"] p,
.about-text p {
  margin-bottom: 20px;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  height: 60px;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav li {
  margin: 0 12px;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 8px 6px;
  display: inline-block;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
  color: #000;
  background-color: rgba(0,0,0,0.05);
  border-radius: 4px;
}

.main-nav a.highlight {
  color: #005bbb;
  font-weight: 600;
}

/* Mobile header adjustments */
@media (max-width: 700px) {
  .header-inner {
    height: 70px;
    padding: 0 16px;
  }

  .main-nav li {
    margin: 0 8px;
  }

  .main-nav a {
    padding: 10px 8px;
    font-size: 0.95rem;
  }
}

/* =========================================
   SIDEBAR NAVIGATION
========================================= */

.sidebar-nav {
  position: fixed;
  top: 60px;
  left: 0;
  width: 260px;
  height: calc(100vh - 60px);
  background-color: #111;
  color: #fff;
  overflow-y: auto;
  transform: translateX(-220px);
  transition: transform 0.3s ease;
  z-index: 900;
}

/* Desktop hover reveal */
.sidebar-nav:hover {
  transform: translateX(0);
}

.sidebar-inner {
  padding: 20px;
}

.sidebar-group-title {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #eee;
}

.sidebar-list {
  list-style: none;
}

.sidebar-item {
  margin-bottom: 8px;
}

.sidebar-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover {
  background-color: #333;
  color: #fff;
}

/* Mobile sidebar behavior */
@media (max-width: 900px) {
  .sidebar-nav {
    transform: translateX(-240px);
  }

  .sidebar-nav:active {
    transform: translateX(0);
  }
}

/* =========================================
   PROMO SECTION
========================================= */

.promo-section {
  background: #eef6ff;
  text-align: center;
  padding: 80px 0;
}

.promo-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.promo-intro {
  text-align: justify;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.promo-button {
  display: inline-block;
  padding: 12px 24px;
  background: #005bbb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
  background: #ffffff;
}

/* =========================================
   JOIN US SECTION
========================================= */

.join-section {
  background: #f7f7f7;
}

.join-social-list {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.join-social-item {
  font-weight: 500;
}

/* =========================================
   DONATE SECTION
========================================= */

.donate-section {
  background: #ffffff;
}

.donate-methods {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}

.donate-method-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.donate-button {
  display: inline-block;
  padding: 10px 20px;
  background: #005bbb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.donate-zelle-address {
  font-size: 1.1rem;
  font-weight: bold;
}
.join-social a {
  font-size: 1.6rem;   /* Increase size */
  font-weight: 600;    /* Optional: makes it feel more intentional */
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
  background: #f7f7f7;
}

.contact-address {
  text-align: center;
  margin-bottom: 40px;
}

.contact-email {
  color: #005bbb;
  text-decoration: none;
}

.contact-social-list {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.contact-social-link {
  font-size: 1.4rem;
  color: #005bbb;
  text-decoration: none;
}

/* =========================================
   BOOK LAYOUT
========================================= */

.book-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.book-image img {
  width: 220px;
  height: auto;
  border-radius: 4px;
}

.book-content {
  max-width: 600px;
}

.purchase-links ul {
  margin: 0;
  padding-left: 1.2rem;
}

.purchase-links li {
  margin-bottom: 0.3rem;
}

/* Mobile book layout */
@media (max-width: 700px) {
  .book-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-content {
    max-width: 100%;
  }
}

.content-container {
  padding-top: 0;
}

/* ===== More Section Pages ===== */

.content-section .content-container p {
  text-align: justify;
  text-justify: inter-word;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: #f7f7f7;
  color: #444;
  margin-top: 60px;
  border-top: 1px solid #ddd;
}

.footer-container p {
  margin: 6px 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
