/* ======================================================
   DOOR COUNTY GOSPEL HALL — Main Stylesheet
   Color Palette:
     Primary Navy:    #1B2A4A
     Secondary Blue:  #2C4A7C
     Warm Gold:       #C9A227
     Cream:           #F5F3EF
     White:           #FFFFFF
   Fonts:
     Headings: "Lora", serif
     Body:     "Inter", sans-serif
   ====================================================== */

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", "Source Sans Pro", Arial, sans-serif;
  color: #333;
  background-color: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", "Merriweather", Georgia, serif;
  color: #1B2A4A;
  line-height: 1.3;
}

a {
  color: #2C4A7C;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #C9A227;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- UTILITY --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #C9A227;
  color: #1B2A4A;
}

.btn-primary:hover {
  background-color: #b8911f;
  color: #1B2A4A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-secondary {
  background-color: transparent;
  color: #F5F3EF;
  border: 2px solid #F5F3EF;
}

.btn-secondary:hover {
  background-color: #F5F3EF;
  color: #1B2A4A;
}

.btn-outline {
  background-color: transparent;
  color: #2C4A7C;
  border: 2px solid #2C4A7C;
}

.btn-outline:hover {
  background-color: #2C4A7C;
  color: #FFFFFF;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  background-color: #1B2A4A;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

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

.site-logo {
  font-family: "Lora", serif;
  font-size: 1.25rem;
  color: #F5F3EF;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-logo span {
  color: #C9A227;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #F5F3EF;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C9A227;
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #C9A227;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #F5F3EF;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- HERO --- */
.hero {
  background-color: #1B2A4A;
  color: #F5F3EF;
  padding: 6rem 0 5rem;
  text-align: center;
  background-image: linear-gradient(135deg, #1B2A4A 0%, #2C4A7C 100%);
}

.hero h1 {
  font-size: 2.75rem;
  color: #F5F3EF;
  margin-bottom: 0.5rem;
}

.hero .hero-verse {
  font-style: italic;
  color: #C9A227;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.92;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SECTIONS --- */
.section {
  padding: 4.5rem 0;
}

.section-cream {
  background-color: #F5F3EF;
}

.section-white {
  background-color: #FFFFFF;
}

.section-navy {
  background-color: #1B2A4A;
  color: #F5F3EF;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-navy .section-title {
  color: #F5F3EF;
}

.section-navy .section-subtitle {
  color: #d0d0d0;
}

/* --- ABOUT SNAPSHOT --- */
.about-snapshot {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-snapshot p {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.learn-more-link {
  font-weight: 600;
  color: #2C4A7C;
  font-size: 1rem;
}

.learn-more-link:hover {
  color: #C9A227;
}

/* --- SCHEDULE --- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.schedule-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border-left: 4px solid #C9A227;
}

.schedule-card .day {
  font-family: "Lora", serif;
  font-weight: 700;
  color: #1B2A4A;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule-card .time {
  color: #C9A227;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.25rem 0;
}

.schedule-card .meeting-name {
  font-family: "Lora", serif;
  font-size: 1.15rem;
  color: #1B2A4A;
  margin: 0.5rem 0 0.5rem;
}

.schedule-card .meeting-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.schedule-note {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* --- SCRIPTURE HIGHLIGHT --- */
.scripture-highlight {
  text-align: center;
  padding: 4rem 2rem;
}

.scripture-highlight blockquote {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: #F5F3EF;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.scripture-highlight .verse-ref {
  display: block;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  color: #C9A227;
  font-weight: 600;
}

/* --- WHAT TO EXPECT CARDS --- */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.expect-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expect-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  height: 2rem;
  line-height: 1;
}

.expect-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.expect-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-top: auto;
}

/* --- ABOUT PAGE: DISTINCTIVES --- */
.distinctive-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.distinctive-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.distinctive-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #C9A227;
  color: #1B2A4A;
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.distinctive-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.distinctive-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.distinctive-content .verse-ref {
  font-size: 0.85rem;
  color: #C9A227;
  font-weight: 600;
}

/* --- PROSE SECTIONS --- */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: #444;
  line-height: 1.8;
}

.prose h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.prose strong {
  color: #1B2A4A;
}

.prose blockquote {
  border-left: 4px solid #C9A227;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #F5F3EF;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #333;
}

/* --- FIRST VISIT BLOCKS --- */
.visit-block {
  margin-bottom: 2rem;
  padding: 1.75rem;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.visit-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #1B2A4A;
}

.visit-block p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* --- BELIEF SECTION --- */
.belief-section {
  max-width: 720px;
  margin: 0 auto;
}

.belief-section h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1B2A4A;
  border-bottom: 2px solid #C9A227;
  padding-bottom: 0.35rem;
  display: inline-block;
}

.belief-section p {
  font-size: 0.98rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.contact-info .info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info .info-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: #C9A227;
  font-weight: 700;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  background-color: #e8e6e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px dashed #ccc;
}

/* --- FORM --- */
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1B2A4A;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2C4A7C;
  box-shadow: 0 0 0 3px rgba(44,74,124,0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #1B2A4A;
  color: #ccc;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h4,
.footer-links h4,
.footer-schedule h4 {
  font-family: "Lora", serif;
  color: #F5F3EF;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #aaa;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #C9A227;
}

.footer-schedule p {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.35rem;
}

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

.footer-bottom .assembly-tagline {
  font-style: italic;
  margin-bottom: 0.5rem;
  color: #aaa;
}

/* --- PAGE HERO (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1B2A4A 0%, #2C4A7C 100%);
  color: #F5F3EF;
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: #F5F3EF;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto;
}

/* --- CTA BANNER --- */
.cta-banner {
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-banner h2 {
  color: #F5F3EF;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #d0d0d0;
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1B2A4A;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-hero {
    padding: 2.5rem 0;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .scripture-highlight blockquote {
    font-size: 1.2rem;
  }
}

/* --- PRINT --- */
@media print {
  .site-header,
  .nav-toggle,
  .hero-buttons,
  .cta-banner,
  .contact-form,
  .map-placeholder {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3 {
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
  }

  .footer-links a,
  .footer-about p,
  .footer-schedule p {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .section-cream {
    background: #fff;
  }

  .section-navy {
    background: #fff;
    color: #000;
  }

  .section-navy .section-title,
  .section-navy .section-subtitle {
    color: #000;
  }

  .scripture-highlight blockquote {
    color: #000;
  }

  .scripture-highlight .verse-ref {
    color: #333;
  }
}

/* --- FOCUS STATES (Accessibility) --- */
a:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #C9A227;
  outline-offset: 2px;
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #C9A227;
  color: #1B2A4A;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 600;
  z-index: 200;
}

.skip-link:focus {
  top: 0;
}
