/*
  GCF Church Website
  This file controls the colors, layout, spacing, and mobile design.
  Search for the color names below if you want to adjust the visual style.
*/

:root {
  --cream: #f8ecdc;
  --cream-soft: #fff6ea;
  --green: #8d9f79;
  --green-light: #e3ead5;
  --blue-gray: #263844;
  --blue-gray-soft: #5d6970;
  --gold: #c98f48;
  --white: #ffffff;
  --border: #ead9c2;
  --shadow: 0 18px 50px rgba(92, 61, 38, 0.14);
  --radius: 8px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--blue-gray);
  background: var(--cream-soft);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 246, 234, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, #b88a59, var(--blue-gray));
  border-radius: 50%;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text span {
  color: var(--blue-gray-soft);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--blue-gray);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--blue-gray-soft);
  font-size: 0.96rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue-gray);
  background: var(--green-light);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(255, 246, 234, 0.98) 0%, rgba(255, 246, 234, 0.8) 46%, rgba(201, 143, 72, 0.22) 100%),
    radial-gradient(circle at 78% 30%, rgba(201, 143, 72, 0.32), transparent 34%),
    linear-gradient(135deg, var(--cream-soft), var(--cream));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.hero-copy {
  margin: 22px 0 32px;
  max-width: 620px;
  color: var(--blue-gray-soft);
  font-size: 1.15rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: #7b5739;
}

.button.secondary {
  color: var(--blue-gray);
  background: var(--white);
  border-color: var(--border);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-visual {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #3e2f2c;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.08) saturate(0.96) brightness(1.06);
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: #f4e7d4;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-header p,
.lead {
  max-width: 720px;
  color: var(--blue-gray-soft);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.info-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(38, 56, 68, 0.06);
}

.card h3,
.info-panel h3 {
  margin-bottom: 10px;
}

.card p,
.info-panel p,
.card li {
  color: var(--blue-gray-soft);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue-gray);
  background: var(--green-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.meeting-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meeting-list li,
.plain-list li {
  padding-left: 18px;
  border-left: 3px solid var(--green);
}

.event-card time {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 700;
}

.event-card .button {
  margin-top: 18px;
}

.ministry-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--blue-gray);
  background: var(--green-light);
  font-weight: 700;
}

.page-hero {
  padding: 92px 0 72px;
  background:
    linear-gradient(135deg, rgba(255, 246, 234, 0.96), rgba(227, 234, 213, 0.76)),
    linear-gradient(90deg, var(--cream-soft), var(--cream));
}

.page-hero p {
  margin-top: 18px;
  max-width: 760px;
  color: var(--blue-gray-soft);
  font-size: 1.12rem;
}

.values-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.team-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--blue-gray-soft);
  border: 1px dashed var(--green);
  border-radius: var(--radius);
  background: rgba(220, 232, 216, 0.42);
  text-align: center;
}

.event-list {
  display: grid;
  gap: 20px;
}

.event-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  align-items: center;
}

.event-date {
  color: var(--green);
  font-weight: 800;
}

.form-note {
  padding: 16px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(214, 170, 95, 0.16);
  color: var(--blue-gray);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--blue-gray);
  background: var(--white);
  font: inherit;
}

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

.site-footer {
  padding: 42px 0;
  color: rgba(255, 250, 242, 0.86);
  background: var(--blue-gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: rgba(255, 250, 242, 0.9);
}

.footer-title {
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 800;
}

.copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, 0.18);
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--border);
  }

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

  .site-nav a {
    padding: 13px 14px;
  }

  .hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 34px;
    padding: 56px 0;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-visual img {
    min-height: 300px;
  }

  .section-header {
    display: grid;
  }

  .event-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--content-width));
  }

  .brand-text span {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 66px 0 54px;
  }

  .card,
  .info-panel {
    padding: 20px;
  }

  .button,
  .hero-actions a,
  .button-row a {
    width: 100%;
  }
}
