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

:root {
  --color-white: #ffffff;
  --color-black: #151502;
  --color-dark: #1a1a1a;
  --color-light: #f5f5f5;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'acumin-pro', 'Poppins', sans-serif;
  --max-width: 1500px;
  --site-gutter: 4vw;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-white);
  padding: 1.5rem var(--site-gutter);
}

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

.header-logo img {
  height: 70px;
  width: auto;
}

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

.header-nav a {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.header-nav a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.header-nav a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.header-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  margin: 5px 0;
  transition: 0.3s;
}

/* Sections */
.section {
  position: relative;
  padding: 4rem 0;
}

.section-full-height {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-medium {
  padding: 6rem 0;
}

.section-small {
  padding: 3rem 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-light {
  background-color: var(--color-light);
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

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

.section-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.15);
}

.section-content {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding-top: 120px;
}

.hero-content {
  max-width: 1000px;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-center {
  align-items: center;
}

/* Accordion */
.accordion {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-header:hover {
  opacity: 0.7;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
}

.accordion-icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.accordion-icon::after {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-content-inner {
  padding-bottom: 1.5rem;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 5rem var(--site-gutter);
}

.quote-section .section-content {
  max-width: 550px;
  margin: 0 auto;
}

.quote-section .quote {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.quote-section .quote-author {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.quote-section p {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Values Section */
.values-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.values-image {
  position: relative;
}

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

.values-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Collaborate Section */
.collaborate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.collaborate-item h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.collaborate-item p {
  text-align: left;
}

.collaborate-item .link {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.collaborate-item .link a {
  text-decoration: underline;
}

/* Discipleship Groups Section */
.dg-section {
  text-align: center;
  padding: 5rem var(--site-gutter);
  color: var(--color-white);
}

.dg-section h2 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dg-section p {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.dg-section a {
  text-decoration: underline;
}

.dg-section .section-bg-overlay {
  background-color: rgba(0, 0, 0, 0.35);
}

/* Newsletter Section */
.newsletter-section {
  text-align: center;
  padding: 4rem var(--site-gutter);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background-color: #333;
  text-decoration: none;
}

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

.btn-secondary:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: var(--color-white);
  padding: 3rem var(--site-gutter);
  text-align: center;
}

.footer a {
  font-weight: 600;
}

/* Text Utilities */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .header-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .values-section {
    grid-template-columns: 1fr;
  }

  .values-image {
    height: 300px;
  }

  .values-content {
    padding: 2rem var(--site-gutter);
  }

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

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

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

  .dg-section h2 {
    font-size: 3rem;
  }

  .dg-section p {
    font-size: 1.1rem;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 999;
  padding: 6rem 2rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  font-size: 1.5rem;
  padding: 1rem 0;
  text-transform: uppercase;
  font-weight: 500;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* About Page - DNA Grid */
.dna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.dna-column h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.dna-column h4:first-child {
  margin-top: 0;
}

/* About Page - Pastor Section */
.pastor-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pastor-image img {
  width: 100%;
  border-radius: 20px;
}

.pastor-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pastor-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* About Page - Scheduling Widget */
.scheduling-widget {
  max-width: 800px;
  margin: 0 auto;
}

.scheduling-widget iframe {
  border-radius: 8px;
}

/* About Page - Statement of Faith */
.statement-of-faith {
  max-width: 900px;
  margin: 0 auto;
}

.faith-statements {
  margin-top: 2rem;
}

.faith-item {
  margin-bottom: 2rem;
}

.faith-item h4 {
  margin-bottom: 0.5rem;
}

.faith-item p {
  margin-bottom: 0;
}

/* About Page Responsive */
@media (max-width: 768px) {
  .dna-grid {
    grid-template-columns: 1fr;
  }

  .pastor-section {
    grid-template-columns: 1fr;
  }

  .pastor-image {
    order: 2;
  }

  .pastor-content {
    order: 1;
  }

  .pastor-content h1 {
    font-size: 2rem;
  }

  .pastor-content h2 {
    font-size: 1.5rem;
  }
}

/* Give Page */
.giving-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.giving-image img {
  width: 100%;
  border-radius: 30px;
}

.giving-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.giving-actions {
  text-align: center;
  margin-top: 2rem;
}

.giving-mail {
  margin-top: 2rem;
}

.text-large {
  font-size: 1.1rem;
}

/* Give Page Responsive */
@media (max-width: 768px) {
  .giving-section {
    grid-template-columns: 1fr;
  }

  .giving-image {
    order: 1;
  }

  .giving-content {
    order: 2;
  }
}

/* Message Us Page */
.message-section {
  max-width: 800px;
  margin: 0 auto;
}

.message-content {
  text-align: center;
  margin-bottom: 3rem;
}

.message-content h2 {
  margin-bottom: 1.5rem;
}

.message-content a {
  text-decoration: underline;
}

.message-content a:hover {
  opacity: 0.7;
}

