/* ============================================================
   Redeemer's Ranch — Main Stylesheet
   Aesthetic: Warm rustic · natural · welcoming · Christ-centered
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Source+Sans+3:wght@300;400;500;600;700&family=Dancing+Script:wght@500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-forest: #2C5530;
  --color-forest-dark: #1E3B22;
  --color-forest-light: #3A7240;
  --color-brown: #6B4226;
  --color-brown-light: #8B6914;
  --color-rust: #A0522D;
  --color-cream: #FFF8F0;
  --color-cream-dark: #F5EDE0;
  --color-wheat: #DEB887;
  --color-gold: #C8952E;
  --color-sky: #87CEEB;
  --color-white: #FFFFFF;
  --color-text: #2D2418;
  --color-text-light: #5C4A3A;
  --color-text-muted: #8B7D6B;
  --color-border: #D4C5B0;
  --color-danger: #C0392B;
  --color-success: #27AE60;
  --color-info: #2980B9;
  --color-urgent: #E74C3C;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-accent: 'Dancing Script', cursive;

  --shadow-sm: 0 1px 3px rgba(45,36,24,0.12);
  --shadow-md: 0 4px 12px rgba(45,36,24,0.15);
  --shadow-lg: 0 8px 30px rgba(45,36,24,0.2);
  --shadow-xl: 0 16px 50px rgba(45,36,24,0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-forest);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--color-rust); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-forest-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

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

/* --- Texture Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a08060' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* --- Skip to Content (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-forest);
  color: var(--color-white);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.5rem;
  color: var(--color-white);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--color-forest-dark) 0%, var(--color-forest) 100%);
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--color-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo .logo-sub {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--color-wheat);
  font-weight: 500;
}

/* Desktop Nav */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--color-cream);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

/* Mobile Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-cream);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--color-forest-dark);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
  }

  .main-nav.open { right: 0; }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(30,59,34,0.75) 0%, rgba(30,59,34,0.5) 50%, rgba(44,85,48,0.7) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  text-align: center;
  color: var(--color-cream);
  padding: 2rem;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--color-white);
  text-shadow: 2px 4px 12px rgba(0,0,0,0.4);
  margin-bottom: 0.25rem;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--color-wheat);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255,248,240,0.92);
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-forest-dark);
  box-shadow: 0 4px 15px rgba(200,149,46,0.35);
}

.btn-primary:hover {
  background: #D4A340;
  color: var(--color-forest-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,149,46,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  border: 2px solid var(--color-cream);
}

.btn-secondary:hover {
  background: var(--color-cream);
  color: var(--color-forest-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

.btn-outline:hover {
  background: var(--color-forest);
  color: var(--color-white);
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

.btn-danger {
  background: var(--color-danger);
  color: var(--color-white);
}

.btn-danger:hover {
  background: #A93226;
  color: var(--color-white);
}

/* ============================================================
   ANNOUNCEMENTS BAR
   ============================================================ */
.announcements-section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.announcements-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.announcements-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.announcement-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-forest);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeInUp 0.5s ease-out both;
}

.announcement-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.announcement-card.type-urgent {
  border-left-color: var(--color-urgent);
  background: #FFF5F5;
}

.announcement-card.type-event {
  border-left-color: var(--color-info);
}

.announcement-card .ann-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.announcement-card h3 {
  font-size: 1.1rem;
  color: var(--color-forest-dark);
}

.announcement-card .ann-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.announcement-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.no-announcements {
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  padding: 2rem;
}

/* ============================================================
   SERVICES / FEATURES CARDS
   ============================================================ */
.services-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.services-section .section-subtitle {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--color-rust);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-body h3 .icon {
  font-size: 1.6rem;
}

.service-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.service-card-body .btn {
  margin-top: 0.75rem;
}

/* ============================================================
   RESPONSIVE IMAGE SYSTEM
   ============================================================ */
.responsive-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.responsive-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.responsive-img-wrap.ratio-16-9 { aspect-ratio: 16/9; }
.responsive-img-wrap.ratio-4-3  { aspect-ratio: 4/3; }
.responsive-img-wrap.ratio-3-2  { aspect-ratio: 3/2; }
.responsive-img-wrap.ratio-1-1  { aspect-ratio: 1/1; }
.responsive-img-wrap.ratio-hero { aspect-ratio: 21/9; }

/* Placeholder styling */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ============================================================
   PAGE HERO (Interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-forest-dark) 0%, var(--color-forest) 100%);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-cream);
}

.page-hero-content h1 {
  color: var(--color-white);
  text-shadow: 2px 3px 10px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}

.page-hero-content p {
  font-size: 1.15rem;
  color: rgba(255,248,240,0.85);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.content-section.alt-bg {
  background: var(--color-white);
}

.content-section.dark-bg {
  background: var(--color-forest-dark);
  color: var(--color-cream);
}

.content-section.dark-bg h2,
.content-section.dark-bg h3 {
  color: var(--color-wheat);
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-content.reverse {
  direction: rtl;
}

.split-content.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-content.reverse { direction: ltr; }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 0.5rem; }

.section-header .accent {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--color-rust);
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 { font-size: 1rem; color: var(--color-white); }
.gallery-overlay p  { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.lightbox-close:hover { transform: scale(1.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  padding: 1rem 0.75rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}

/* ============================================================
   CALENDAR
   ============================================================ */
.calendar-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--color-forest);
  color: var(--color-cream);
}

.calendar-header h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin: 0;
}

.calendar-header button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--color-white);
  font-size: 1.3rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.calendar-header button:hover { background: rgba(255,255,255,0.3); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--color-cream-dark);
  border-bottom: 1px solid var(--color-border);
}

.calendar-weekdays span {
  text-align: center;
  padding: 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  min-height: 90px;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-width: 0 1px 1px 0;
  position: relative;
  cursor: default;
  transition: background 0.2s ease;
}

.calendar-day:hover { background: var(--color-cream); }

.calendar-day.today {
  background: rgba(44,85,48,0.08);
}

.calendar-day.today .day-number {
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day.other-month {
  background: var(--color-cream-dark);
  opacity: 0.5;
}

.day-number {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.calendar-event {
  font-size: 0.7rem;
  padding: 2px 5px;
  margin-bottom: 2px;
  border-radius: 3px;
  background: var(--color-forest-light);
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.calendar-event:hover {
  background: var(--color-forest-dark);
}

@media (max-width: 768px) {
  .calendar-day { min-height: 60px; padding: 0.25rem; }
  .calendar-event { font-size: 0.6rem; }
}

/* Upcoming events list (below calendar) */
.events-list {
  margin-top: 2rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}

.event-date-badge {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

.event-details h4 { margin-bottom: 0.25rem; }
.event-details p  { margin-bottom: 0; color: var(--color-text-light); font-size: 0.9rem; }
.event-details .event-time { color: var(--color-rust); font-weight: 500; font-size: 0.85rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(44,85,48,0.15);
}

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

/* Honeypot — visually hidden but accessible to bots */
.form-gotcha {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  tab-index: -1;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  display: none;
}

.form-status.success {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  display: block;
}

.form-status.error {
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
  display: block;
}

/* Contact info sidebar */
.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.contact-info-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-forest-dark);
  color: var(--color-cream);
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  color: var(--color-gold);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-col p {
  color: rgba(255,248,240,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
  color: rgba(255,248,240,0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--color-gold); }

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

.footer-bottom a { color: rgba(255,248,240,0.7); }

/* ============================================================
   ABOUT PAGE — Mission Cards
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-gold);
  transition: transform 0.3s ease;
}

.mission-card:hover { transform: translateY(-4px); }

.mission-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.mission-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ============================================================
   QUOTE / VERSE BLOCK
   ============================================================ */
.verse-block {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.verse-block blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.verse-block cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-rust);
  font-style: normal;
  font-weight: 600;
}

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  max-height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(44,85,48,0.2);
  border-top-color: var(--color-forest);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.pb-0 { padding-bottom: 0; }

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

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
