/* ============================================================
   Harrison First Baptist Church — Rooted & Historic Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Colors — Rooted & Historic */
  --burgundy: #4A2530;
  --burgundy-light: #5C3340;
  --brass: #B8956A;
  --brass-light: #C9A87C;
  --parchment: #F5EDDC;
  --parchment-dark: #EDE3D3;
  --walnut: #3D2B1F;
  --stone-warm: #8B7B6B;
  --white: #FFFFFF;

  /* Typography */
  --serif: 'EB Garamond', 'Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Other */
  --max-width: 1100px;
  --border-radius: 4px;
  --transition: 0.2s ease;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.7;
  color: var(--walnut);
  background-color: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--brass);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--burgundy);
  line-height: 1.3;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); }

p + p { margin-top: var(--space-sm); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ── Skip Link (Accessibility) ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--burgundy);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  z-index: 1000;
  font-size: 18px;
}

.skip-link:focus {
  top: var(--space-xs);
}

/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--burgundy);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
}

.nav-brand a {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--parchment);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-brand a:hover {
  color: var(--brass-light);
}

.nav-brand .brand-accent {
  display: inline-block;
  width: 2px;
  height: 24px;
  background: var(--brass);
  margin: 0 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  color: rgba(245, 237, 220, 0.85);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--border-radius);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--brass-light);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  border-bottom: 2px solid var(--brass);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--parchment);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Page Banner ─────────────────────────────────────────── */
.page-banner {
  background: var(--burgundy);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  position: relative;
}


.page-banner h1 {
  color: var(--parchment);
  margin-bottom: var(--space-xs);
}

.page-banner .breadcrumb {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--brass-light);
}

.page-banner .breadcrumb a {
  color: rgba(245, 237, 220, 0.7);
}

.page-banner .breadcrumb a:hover {
  color: var(--parchment);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 36px;
  border: 2px solid var(--brass);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--parchment);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brass);
  color: var(--burgundy);
  border-color: var(--brass);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--burgundy);
  color: var(--parchment);
}

/* ── Section Headings ────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-heading h2 {
  display: inline-block;
  position: relative;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brass);
  margin: var(--space-xs) auto 0;
}

/* ── Service Time Cards ──────────────────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(184, 149, 106, 0.35);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(74, 37, 48, 0.12);
  transform: translateY(-2px);
}

.service-card .card-day {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-warm);
  margin-bottom: var(--space-xs);
}

.service-card .card-time {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: var(--space-xs);
}

.service-card .card-title {
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--walnut);
}

/* ── Event List ──────────────────────────────────────────── */
.event-list {
  max-width: 700px;
  margin: 0 auto;
}

.event-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(184, 149, 106, 0.25);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--burgundy);
  color: var(--parchment);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
}

.event-date .month {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--brass-light);
}

.event-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.event-info h3 {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.event-info .event-meta {
  font-size: 1rem;
  color: var(--stone-warm);
  margin-bottom: var(--space-xs);
}

.event-info .event-desc {
  font-size: 1.05rem;
  color: var(--walnut);
}

.event-empty {
  text-align: center;
  color: var(--stone-warm);
  font-style: italic;
  padding: var(--space-lg) 0;
}

/* ── Devotional List ─────────────────────────────────────── */
.devotional-list {
  max-width: 700px;
  margin: 0 auto;
}

.devotional-item {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(184, 149, 106, 0.25);
}

.devotional-item:last-child {
  border-bottom: none;
}

.devotional-item .devotional-date {
  font-size: 0.95rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 2px;
}

.devotional-item h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.devotional-item .devotional-excerpt {
  color: var(--walnut);
  margin-bottom: var(--space-xs);
}

.devotional-item .read-more {
  font-size: 1rem;
  font-weight: 600;
  color: var(--burgundy);
}

.devotional-item .read-more:hover {
  color: var(--brass);
}

/* ── Devotional Detail Page ──────────────────────────────── */
.devotional-detail .devotional-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.devotional-detail .devotional-header h2 {
  font-size: 2.4rem;
  color: var(--burgundy);
  margin-bottom: var(--space-xs);
}

.devotional-detail .devotional-scripture {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--stone-warm);
}

.devotional-detail .devotional-body p {
  max-width: 680px;
  margin: 0 auto var(--space-sm);
  line-height: 1.7;
}

.devotional-detail .devotional-prayer,
.devotional-detail .devotional-reflection {
  max-width: 680px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--parchment-dark);
  border-radius: var(--border-radius);
}

.devotional-detail .devotional-prayer h3,
.devotional-detail .devotional-reflection h3 {
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.devotional-detail .devotional-prayer p,
.devotional-detail .devotional-reflection p {
  line-height: 1.7;
}

.devotional-detail .devotional-back {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ── Contact Layout ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--space-sm);
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info .info-item .info-icon {
  color: var(--brass);
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info .giving-note {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--parchment-dark);
  border-left: 3px solid var(--brass);
  border-radius: var(--border-radius);
  font-size: 1.05rem;
  color: var(--stone-warm);
}

.contact-map iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: var(--border-radius);
}

.contact-image {
  margin-top: var(--space-md);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  object-fit: cover;
}

/* ── Contact Form ────────────────────────────────────────── */
.contact-form {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

.contact-form .form-group {
  margin-bottom: var(--space-sm);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(74, 37, 48, 0.2);
  border-radius: var(--border-radius);
  font-family: var(--sans);
  font-size: 1.05rem;
  background: var(--white);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.2);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-lg);
  color: var(--burgundy);
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--burgundy);
  color: var(--parchment);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  margin-top: var(--space-xl);
}

.footer-top {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.footer-top .footer-church-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-top .footer-verse {
  font-style: italic;
  color: rgba(245, 237, 220, 0.7);
  font-size: 1rem;
  margin-top: 4px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: var(--space-lg);
}

.footer-verse-of-the-day .daily-verse {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(245, 237, 220, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-columns h4 {
  color: var(--brass-light);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-columns p,
.footer-columns li {
  font-size: 1rem;
  color: rgba(245, 237, 220, 0.8);
  line-height: 1.7;
}

.footer-columns ul {
  list-style: none;
}

.footer-columns li a {
  color: rgba(245, 237, 220, 0.8);
}

.footer-columns li a:hover {
  color: var(--brass-light);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 237, 220, 0.12);
  font-size: 0.95rem;
  color: rgba(245, 237, 220, 0.5);
}

.footer-resource {
  margin-top: var(--space-xs);
  font-size: 0.85rem;
}

.footer-resource a {
  color: var(--brass);
  text-decoration: none;
}

.footer-resource a:hover {
  color: var(--brass-light);
  text-decoration: underline;
}

/* ── Page Sections ───────────────────────────────────────── */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-cream {
  background: var(--parchment);
}

.section-offwhite {
  background: var(--parchment-dark);
}

.section-navy {
  background: var(--burgundy);
  color: var(--parchment);
}

/* ── Home: Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--burgundy-light);
  overflow: hidden;
  padding: var(--space-md);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--parchment);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-sm);
}

.hero .hero-subtitle {
  color: rgba(245, 237, 220, 0.85);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--space-lg);
}

.hero .hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-greeting {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: rgba(245, 237, 220, 0.9);
  font-style: italic;
  margin-bottom: 4px;
}

.hero .btn {
  border-color: var(--brass);
}

.hero .btn-primary {
  background: var(--burgundy);
}

.hero .btn-primary:hover {
  background: var(--brass);
  color: var(--burgundy);
}

.hero .btn-outline {
  background: transparent;
  color: var(--parchment);
  border-color: var(--parchment);
}

.hero .btn-outline:hover {
  background: var(--parchment);
  color: var(--burgundy);
}

/* ── Home: Welcome ───────────────────────────────────────── */
.welcome-text {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.welcome-text .text-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-weight: 600;
  color: var(--burgundy);
}

.welcome-text .text-link::after {
  content: ' →';
  color: var(--brass);
}

/* ── Home: Service Times Teaser ──────────────────────────── */
.service-times-teaser {
  text-align: center;
}

.service-note {
  font-size: 1rem;
  color: var(--stone-warm);
  margin: var(--space-sm) 0 var(--space-sm);
}

.next-service-countdown {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--burgundy);
  line-height: 1.5;
}

.next-service-countdown .countdown-label {
  font-family: var(--sans);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone-warm);
  display: block;
  margin-bottom: var(--space-xs);
}

.next-service-countdown .countdown-time {
  color: var(--brass);
  font-weight: 700;
}

/* ── Home: Events Teaser ─────────────────────────────────── */
.events-teaser .text-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--burgundy);
  text-align: center;
}

.events-teaser .text-link::after {
  content: ' →';
  color: var(--brass);
}

/* ── Home: Location ──────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.location-text h3 {
  margin-bottom: var(--space-sm);
}

.location-text .address {
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

.location-text .tagline {
  color: var(--stone-warm);
  font-style: italic;
  font-size: 1.05rem;
  margin-top: var(--space-sm);
}

.location-map iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: var(--border-radius);
}

/* ── About: Story ────────────────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-story .story-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-story .story-image img {
  width: 100%;
  object-fit: cover;
}

.about-story h3 {
  margin-bottom: var(--space-sm);
}

.about-story .founded-note {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 6px 14px;
  background: var(--parchment-dark);
  border-left: 3px solid var(--brass);
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--stone-warm);
}

/* ── About: Pastor ───────────────────────────────────────── */
.about-pastor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-pastor .pastor-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  order: 2;
}

.about-pastor .pastor-info {
  order: 1;
}

.about-pastor .pastor-info h3 {
  margin-bottom: 4px;
}

.about-pastor .pastor-info .pastor-name {
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

/* ── About: Beliefs ──────────────────────────────────────── */
.beliefs-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.beliefs-text ul {
  list-style: none;
  text-align: left;
  margin-top: var(--space-md);
}

.beliefs-text li {
  padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
  position: relative;
}

.beliefs-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--brass);
  border-radius: 50%;
}

/* ── About: What to Expect ───────────────────────────────── */
.expect-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.expect-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px solid rgba(184, 149, 106, 0.25);
}

.expect-card .expect-icon {
  font-size: 2.25rem;
  margin-bottom: var(--space-sm);
  color: var(--brass);
}

.expect-card h4 {
  font-family: var(--serif);
  color: var(--burgundy);
  margin-bottom: var(--space-xs);
}

/* ── Service Times: Full Schedule ────────────────────────── */
.schedule {
  max-width: 650px;
  margin: 0 auto;
}

.schedule-block {
  background: var(--white);
  border: 1px solid rgba(184, 149, 106, 0.25);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.schedule-block .schedule-day {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--burgundy);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(184, 149, 106, 0.35);
}

.schedule-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
}

.schedule-row .time {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--brass);
  min-width: 100px;
  font-size: 1.1rem;
}

.schedule-row .desc {
  color: var(--walnut);
}

/* ── Visitor Note ────────────────────────────────────────── */
.visitor-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.visitor-image {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.visitor-image img {
  width: 100%;
  object-fit: cover;
}

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }

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

/* ── Focus ───────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ── Study Resource Section ─────────────────────────────── */
.study-resource {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.study-resource a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  transition: color var(--transition), border-color var(--transition);
}

.study-resource a:hover {
  color: var(--brass);
  border-color: var(--burgundy);
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-hidden.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-hidden,
  .reveal-hidden.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --space-xl: 48px;
    --space-lg: 32px;
  }

  body {
    font-size: 19px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--burgundy);
    padding: var(--space-sm) var(--space-md);
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

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

  .nav-links a {
    padding: 12px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(245, 237, 220, 0.1);
  }

  .nav-links a.active {
    border-bottom: 1px solid rgba(245, 237, 220, 0.1);
    background: rgba(184, 149, 106, 0.12);
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Location grid */
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-map iframe {
    min-height: 250px;
  }

  /* About */
  .about-story,
  .about-pastor {
    grid-template-columns: 1fr;
  }

  .about-pastor .pastor-image {
    order: 1;
  }

  .about-pastor .pastor-info {
    order: 2;
    text-align: center;
  }

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

  /* Service cards */
  .service-cards {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  /* Expect cards */
  .expect-cards {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  /* Buttons */
  .hero .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
