/* =========================================
   GLOBAL STYLES
   ========================================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f6fb;
  color: #222;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
  background: linear-gradient(135deg, #0b8b6f, #067257);
  color: #fff;
  padding: 18px 24px 12px;
  text-align: center;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-logo-large {
  display: block;
  width: 200px;
  height: auto;
  max-width: 90%;
  margin: 0 auto;
}

.main-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  color: #e8fff8;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* =========================================
   MAIN LAYOUT & COMPONENTS
   ========================================= */
.page {
  max-width: 960px;
  margin: 32px auto;
  padding: 0 24px;
}

.hero {
  max-width: 960px;
  margin: 32px auto 24px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b8b6f0d, #0b8b6f22);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: 28px;
  margin: 0 0 8px;
  color: #064b3b;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: 16px;
  color: #345;
}

.hero-highlight {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0b8b6f;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.hero-info {
  font-size: 14px;
  margin-top: 10px;
  color: #345;
}

.hero-grid {
  display: grid;
  gap: 10px;
}

.card {
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.card h2 {
  font-size: 15px;
  margin: 0 0 6px;
  color: #064b3b;
}

.two-col {
  max-width: 960px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 24px;
}

.link-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0b8b6f;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.link-button.secondary {
  background: #fff;
  color: #0b8b6f;
  border: 1px solid #0b8b6f;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e4f4ef;
  color: #0b8b6f;
  font-size: 12px;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 16px 24px 24px;
  font-size: 12px;
  color: #556;
}

/* =========================================
   HOMEPAGE HERO STYLES
   ========================================= */
.hero-content-left {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-info-links {
  display: inline-block;
  margin-right: auto;
  text-align: left;
  line-height: 1.6;
}

.hero-info-links a {
  color: #064b3b;
  text-decoration: none;
  font-weight: 500;
}

.hero-info-links a:hover {
  text-decoration: underline;
}

.prayer-card-container {
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.prayer-widget-wrapper {
  margin: 0;
  width: 100%;
  max-width: 560px;
}

/* =========================================
   ANNOUNCEMENT SLIDER STYLES (DYNAMIC)
   ========================================= */
.slider-container {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.slider-wrapper {
  width: 100%;
  height: 650px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  background: #064b3b;
}

.slider-images {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.8s ease;
  will-change: transform;
}

.slider-images img {
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  flex: 0 0 100%;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.contact-info-card h2 {
  font-size: 24px;
  color: #064b3b;
  margin-top: 0;
  margin-bottom: 24px;
}

.info-group {
  margin-bottom: 24px;
}

.info-group h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0b8b6f;
  margin: 0 0 8px 0;
}

.info-group p {
  margin: 0;
  color: #345;
  font-size: 16px;
  line-height: 1.6;
}

.info-group a {
  color: #064b3b;
  text-decoration: none;
  font-weight: 500;
}

.info-group a:hover {
  text-decoration: underline;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  height: 100%;
  min-height: 400px;
}

/* =========================================
   DONATE PAGE STYLES
   ========================================= */
.donate-hero {
  text-align: center;
  margin-bottom: 40px;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.donate-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.donate-card h3 {
  font-size: 20px;
  color: #064b3b;
  margin-top: 0;
  margin-bottom: 12px;
}

.donate-card p {
  color: #556;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.zelle-info {
  background: #f8fbfb;
  border: 1px dashed #0b8b6f;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  color: #064b3b;
  font-size: 16px;
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */
.about-hero {
  text-align: center;
  margin-bottom: 40px;
}

.about-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
  line-height: 1.7;
  color: #345;
  font-size: 16px;
}

.about-content h2 {
  color: #064b3b;
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 16px;
}

.mission-box {
  background: #f8fbfb;
  border-left: 4px solid #0b8b6f;
  padding: 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-weight: 500;
  color: #064b3b;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.program-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-top: 4px solid #0b8b6f;
}

.program-card h3 {
  font-size: 18px;
  color: #064b3b;
  margin-top: 0;
  margin-bottom: 12px;
}

.program-card p {
  color: #556;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================
   PARKING PAGE STYLES
   ========================================= */
.parking-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

.parking-map-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.legend-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.legend-card h2 {
  font-size: 20px;
  color: #064b3b;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f6fb;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.color-box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.color-red { background-color: #ff3b30; }
.color-purple { background-color: #c026d3; }
.color-orange { background-color: #f97316; }
.color-green { background-color: #22c55e; }
.color-blue { background-color: #3b82f6; }

.legend-text h3 {
  margin: 0 0 4px 0;
  font-size: 15px;
  color: #222;
}

.legend-text p {
  margin: 0;
  font-size: 13px;
  color: #556;
  line-height: 1.4;
}

.parking-warning {
  background: #fff1f2;
  border-left: 4px solid #e11d48;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 24px;
  font-weight: 500;
  color: #9f1239;
  font-size: 14px;
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content-left {
    text-align: center;
  }

  .hero-info-links {
    margin: 0 auto;
    text-align: center;
  }

  .prayer-card-container {
    align-items: stretch;
  }

  .prayer-widget-wrapper {
    max-width: 100%;
  }

  .site-logo-large {
    width: 200px;
    height: auto;
    max-width: 85%;
  }

  .main-nav {
    gap: 12px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .map-container {
    min-height: 300px;
  }

  .parking-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .slider-wrapper {
    height: 450px;
  }

  .site-logo-large {
    width: 200px;
    height: auto;
    max-width: 80%;
  }
}