/* Color system */
:root {
  --bg-dark: #0f172a;         /* deep navy / slate */
  --bg-light: #ffffff;
  --accent: #c9a227;          /* liturgical gold tone */
  --text-dark: #0f172a;
  --text-light: #ffffff;
  --text-muted: #64748b;
  --card-bg: #1e2539;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-card: 0 20px 40px rgba(0,0,0,0.4);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.12);
  --max-width: 1200px;
  --gap-lg: 2rem;
  --gap-md: 1rem;
  --gap-sm: 0.5rem;
  --section-padding: 4rem;
  --transition-fast: 0.18s ease-in-out;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* HEADER / NAV */
.site-header {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  row-gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  color: var(--text-light);
  text-decoration: none;
}

.logo-circle {
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
}

.logo-text .church-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}
.logo-text .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
  font-weight: 400;
  font-style: italic;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-md);
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover {
  background: rgba(255,255,255,0.08);
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.visit-btn {
  background: var(--accent);
  color: var(--bg-dark) !important;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.visit-btn:hover {
  background: #f5d97a;
  color: var(--bg-dark);
}

/* HERO */
.hero {
  position: relative;
  background-image: url("hero-placeholder.jpg"); /* replace with real parish photo */
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(201,162,39,0.35) 0%, rgba(0,0,0,0.7) 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.primary-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}
.primary-btn:hover {
  filter: brightness(1.07);
}

.primary-btn.light {
  background: var(--bg-light);
  color: var(--bg-dark);
}

.primary-btn.outline {
  background: transparent;
  color: var(--bg-dark);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.card .primary-btn.outline {
  color: var(--text-light);
  border-color: var(--accent);
}

/* INFO STRIP */
.info-strip {
  background: var(--bg-light);
  padding: var(--section-padding) 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: var(--gap-lg);
}

.info-card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.text-link {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
}

/* FEATURED CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px,100%),1fr));
  gap: var(--gap-lg);
  padding-bottom: var(--section-padding);
}

.card {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

/* DAILY READINGS */
.readings-section {
  background: var(--bg-light);
  padding: var(--section-padding) 0;
}

.readings-card {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  max-width: 800px;
}

.readings-heading {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.readings-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.reading-item {
  margin-bottom: 1.5rem;
}

.reading-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.reading-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  white-space: pre-wrap;
}

.reading-credit {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

/* CTA BAND */
.cta-band {
  background: var(--accent);
  color: var(--bg-dark);
  padding: var(--section-padding) 0;
  text-align: center;
}
.cta-inner {
  max-width: 600px;
}
.cta-band h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(15,23,42,0.8);
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

/* FOOTER */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--section-padding) 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px,100%),1fr));
  gap: var(--gap-lg);
  margin-bottom: 2rem;
}

.footer-church {
  font-weight: 600;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.site-footer h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}
.site-footer ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 600px) {
  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 3rem 0;
  }
}

/* ============================
   USCCB-STYLE DAILY READINGS
   ============================ */

.usccb-block {
  background: #f8f9fa; /* very light grey, similar to their page bg */
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 2.5rem 0;
  color: #1f2937; /* dark slate text */
  font-family: Georgia, "Times New Roman", Times, serif;
}

.usccb-inner {
  max-width: 800px;
}

/* Top date row: center date, small “arrows” on sides */
.usccb-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.9rem;
  color: #1f2937;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.usccb-date {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  flex: 1;
}
.usccb-date-arrow {
  font-size: 0.8rem;
  color: #1f2937;
  white-space: nowrap;
  cursor: pointer;
  padding: 0 0.5rem;
}
.usccb-date-arrow--disabled {
  opacity: 0.4;
  cursor: default;
}

/* The main card that holds feast title + readings */
.usccb-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 16px rgba(0,0,0,0.03);
  border-radius: 0;
  padding: 1.5rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
  color: #1f2937;
}

/* Feast/Title area */
.usccb-header {
  margin-bottom: 1.5rem;
}
.usccb-feast {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.usccb-lectionary {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
  font-weight: 400;
}

/* One reading block (Reading 1 / Psalm / Gospel) */
.usccb-reading-block {
  margin-bottom: 2rem;
}

/* Row with "Reading 1" and "Ephesians 2:19-22" on same line */
.usccb-reading-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 0.75rem 0 0.5rem 0;
  margin-bottom: 0.75rem;
}
.usccb-reading-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
}
.usccb-reading-ref {
  font-size: 0.8rem;
  color: #374151;
  white-space: nowrap;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
}

/* The scripture text */
.usccb-reading-body {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.7;
  white-space: pre-wrap;
  font-weight: 400;
}

/* Footer credit line */
.usccb-footer-note {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
}
.usccb-source {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, sans-serif;
}
.usccb-source a {
  color: #1f2937;
  text-decoration: underline;
  font-weight: 500;
}

/* Responsive tweaks for phone */
@media (max-width: 600px) {
  .usccb-card {
    padding: 1rem;
  }
  .usccb-feast {
    font-size: 1.25rem;
  }
  .usccb-date-row {
    font-size: 0.8rem;
  }
  .usccb-reading-heading-row {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
  .usccb-reading-ref {
    font-size: 0.75rem;
  }
  .usccb-reading-body {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/*    UNDER CONSTRUCTION / COMING SOON PAGE   */

body.coming-soon {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-stack);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.coming-soon-wrapper {
  max-width: 520px;
  width: 100%;
}

.coming-soon-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
  text-align: center;
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.coming-soon-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.coming-soon-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.coming-soon-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}


.coming-soon-card .primary-btn {
  background: var(--accent);
  color: var(--bg-dark);
}

.coming-soon-card .primary-btn:hover {
  filter: brightness(1.07);
}

