/* Prayer Section Styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lora', serif; /* Elegant, readable font */
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

.prayer-family {
  padding: 4rem 1rem;
  color: #2d2d2d;
  line-height: 1.8;
}

.family-container {
  max-width: 900px;
  margin: 0 auto;
}

.prayer-family h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2a3f5f;
  margin-bottom: 0.5rem;
  padding-top: 4rem;
}

.prayer-family h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: #3c2c1e;
  text-align: center;
}

#intentions {
  font-size: 1.2rem;
  color: #3c2c1e;
  text-align: center;
}

.family-prayer-text p,
.card p {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  hyphens: auto;
}

.family-intentions {
  margin-top: 1.2rem;
  margin-left: 1.5rem;
  padding-left: 1rem;
  list-style-type: disc;
  color: #4d3b2b;
}

.family-intentions li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card {
  background-color: #fffefc;
  border-left: 4px solid #d4af37;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.3rem;
  margin-top: 2rem;
}

.card h3 {
  color: #3c2c1e;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Responsive Text */

/* Prayer Section Styles */
body {
  font-family: 'Lora', serif; /* Elegant, readable font */
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}

.prayer-family {
  padding: 0rem 1rem;
  color: #2d2d2d;
  line-height: 1.8;
}

.family-container {
  max-width: 900px;
  margin: 0 auto;
}

.prayer-family h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2a3f5f;
  margin-bottom: 0.5rem;
}

.prayer-family h3 {
  font-size: 1.4rem;
  color: #3c2c1e;
  text-align: center;
}

#intentions {
  font-size: 1.2rem;
  color: #3c2c1e;
  text-align: center;
}

.family-prayer-text p,
.card p {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  hyphens: auto;
}

.family-intentions {
  margin-top: 1.2rem;
  margin-left: 1.5rem;
  padding-left: 1rem;
  list-style-type: disc;
  color: #4d3b2b;
}

.family-intentions li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card {
  background-color: #fffefc;
  border-left: 4px solid #d4af37;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.3rem;
  margin-top: 2rem;
}

.card h3 {
  color: #3c2c1e;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.back-home-wrapper {
  margin-top: 5rem;
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.back-home-button {
  font-size: 0.95rem;
  color: #2a3f5f; /* Royal Blue/Navy */
  text-decoration: none;
  border: 1px solid #2a3f5f;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.back-home-button:hover {
  background-color: #2a3f5f;
  color: #fff;
}

/* Elegant, Glowing Footer */

.site-footer {
  position: relative;
  background: #04132e;
  color: #f3f3f3;
  text-align: center;
  padding: 2rem 2rem 2rem;
  font-family: 'Lora', serif;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.site-footer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.footer-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #e0d9ce;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-nav a {
  color: #f3f3f3;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-h3 {
  border-bottom: none;
}

.footer-nav a:hover {
  color: #d4af37;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #ccc;
}

/*  MEDIA QUERIES */

/* Smaller desktops — 84em (1344px) */
@media (max-width: 84em) {
  .prayer-family h2 {
    font-size: 2.3rem;
  }
  .card {
    padding: 1.3rem 1.2rem;
  }
}

/* Large laptops/desktops — 75em (1200px) */
@media (max-width: 75em) {
  .prayer-family h2 {
    font-size: 2.1rem;
  }
  .prayer-family h3 {
    font-size: 1.3rem;
  }
  .card {
    padding: 1.2rem 1rem;
  }
}

/* Tablets landscape — 64em (1024px) */
@media (max-width: 64em) {
  .prayer-family h2 {
    font-size: 2rem;
  }
  .prayer-family h3 {
    font-size: 1.2rem;
  }
  .family-prayer-text p,
  .card p,
  .family-intentions li {
    font-size: 1rem;
  }
  .family-intentions {
    padding-left: 2rem;
  }
}

/* Tablets portrait — 48em (768px) */
@media (max-width: 48em) {
  .prayer-family h2 {
    font-size: 1.9rem;
  }
  .prayer-family h3 {
    font-size: 1.1rem;
  }
  .card {
    padding: 1rem;
  }

  .family-prayer-text p,
  .card p {
    text-align: left;
    hyphens: auto;
  }
}

/* Small tablets/phones — 34em (544px) */
@media (max-width: 34em) {
  .prayer-family h2 {
    font-size: 1.7rem;
  }
  .prayer-family h3 {
    font-size: 1rem;
  }
  .family-prayer-text p,
  .card p,
  .family-intentions li {
    font-size: 0.95rem;
  }
  .family-prayer-text p,
  .card p {
    text-align: left;
    hyphens: auto;
  }
}

/* Phones — 26em (416px) */
@media (max-width: 26em) {
  .prayer-family h2 {
    font-size: 1.5rem;
  }
  .prayer-family h3 {
    font-size: 0.95rem;
  }
  .card {
    padding: 0.9rem;
  }
  .family-prayer-text p,
  .card p {
    text-align: left;
    hyphens: auto;
  }
}

/* Extra small phones — 20em (320px) */
@media (max-width: 20em) {
  .prayer-family h2 {
    font-size: 1.4rem;
  }
  .prayer-family h3 {
    font-size: 0.9rem;
  }
  .family-prayer-text p,
  .card p,
  .family-intentions li {
    font-size: 0.9rem;
  }
  .card {
    padding: 0.8rem;
  }
  .family-prayer-text p,
  .card p {
    text-align: left;
    hyphens: auto;
  }
}

/* ============================
   📱 Responsive Media Queries for back home and footer page
   ============================ */

/* Smaller desktops — 84em (1344px) */
@media (max-width: 84em) {
  .back-home-button {
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
  }
  .site-footer h3 {
    font-size: 1.9rem;
  }
}

/* Large laptops/desktops — 75em (1200px) */
@media (max-width: 75em) {
  .back-home-button {
    font-size: 0.88rem;
  }
  .site-footer h3 {
    font-size: 1.8rem;
  }
  .footer-quote {
    font-size: 1rem;
  }
  .footer-nav a {
    font-size: 1rem;
  }
}

/* Tablets landscape — 64em (1024px) */
@media (max-width: 64em) {
  .back-home-wrapper {
    margin-top: 4rem;
    margin-bottom: 3rem;
  }
  .back-home-button {
    font-size: 0.85rem;
    padding: 0.45rem 0.8rem;
  }
  .site-footer h3 {
    font-size: 1.6rem;
  }
  .footer-quote {
    font-size: 0.95rem;
  }
}

/* Tablets portrait — 48em (768px) */
@media (max-width: 48em) {
  .back-home-wrapper {
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
  }
  .back-home-button {
    font-size: 0.82rem;
    padding: 0.4rem 0.7rem;
  }
  .site-footer {
    padding: 1.8rem 1rem;
  }
  .site-footer h3 {
    font-size: 1.5rem;
  }
  .footer-nav {
    gap: 1.2rem;
  }
}

/* Small tablets/phones — 34em (544px) */
@media (max-width: 34em) {
  .back-home-button {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
  }
  .site-footer {
    padding: 1.5rem 1rem;
  }
  .site-footer h3 {
    font-size: 1.4rem;
  }
  .footer-nav a {
    font-size: 0.95rem;
  }
}

/* Phones — 26em (416px) */
@media (max-width: 26em) {
  .back-home-button {
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
  }
  .site-footer h3 {
    font-size: 1.3rem;
  }
  .footer-quote {
    font-size: 0.9rem;
  }
  .footer-nav {
    gap: 1rem;
  }
  .footer-nav a {
    font-size: 0.9rem;
  }
}

/* Extra small phones — 20em (320px) */
@media (max-width: 20em) {
  .back-home-button {
    font-size: 0.75rem;
    padding: 0.3rem 0.45rem;
  }
  .site-footer h3 {
    font-size: 1.2rem;
  }
  .footer-quote {
    font-size: 0.85rem;
  }
  .footer-nav a {
    font-size: 0.85rem;
  }
}
