﻿/*
  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: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", "Heiti SC", 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);
}

.language-select-wrap {
  display: inline-flex;
  align-items: center;
}

.language-select {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 34px 8px 12px;
  color: var(--blue-gray);
  background: var(--white);
  font: inherit;
  cursor: pointer;
}

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

.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;
  }

  .language-select-wrap {
    margin-left: auto;
  }

  .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;
  }

  .nav-wrap {
    gap: 10px;
  }

  .language-select {
    max-width: 128px;
    padding-right: 26px;
    font-size: 0.9rem;
  }

  .section {
    padding: 60px 0;
  }

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

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

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

/* Inner page image treatments: each page uses the same photo with a different crop and shape. */
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: center;
}

.page-hero-copy p {
  max-width: 760px;
}

.page-hero-media {
  margin: 0;
  height: 230px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  background: #3e2f2c;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.95) brightness(1.05);
}

.page-hero-about .page-hero-media {
  border-radius: 50% 50% 8px 8px;
}

.page-hero-about .page-hero-media img {
  object-position: center 58%;
}

.page-hero-ministries .page-hero-media {
  height: 260px;
  border-radius: 8px 56px 8px 56px;
  transform: rotate(-1.5deg);
}

.page-hero-ministries .page-hero-media img {
  object-position: 60% center;
  transform: scale(1.04);
}

.page-hero-events .page-hero-media {
  height: 210px;
  border-radius: 8px;
  border-left: 10px solid rgba(201, 143, 72, 0.62);
}

.page-hero-events .page-hero-media img {
  object-position: 48% 62%;
}

.page-hero-contact .page-hero-media {
  height: 250px;
  border-radius: 56px 8px 56px 8px;
}

.page-hero-contact .page-hero-media img {
  object-position: 72% center;
}

@media (max-width: 920px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-media,
  .page-hero-ministries .page-hero-media,
  .page-hero-events .page-hero-media,
  .page-hero-contact .page-hero-media {
    height: 230px;
    transform: none;
  }
}

@media (max-width: 560px) {
  .page-hero-media,
  .page-hero-ministries .page-hero-media,
  .page-hero-events .page-hero-media,
  .page-hero-contact .page-hero-media {
    height: 190px;
  }
}
/* Refined homepage hero: quiet editorial layout inspired by premium workshop sites. */
.hero {
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(255, 246, 234, 0.98) 0%, rgba(255, 246, 234, 0.92) 42%, rgba(240, 220, 194, 0.72) 100%),
    linear-gradient(135deg, #fff6ea, #f1dcc0);
}

.hero-grid {
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 88px);
  padding: 86px 0;
}

.hero .eyebrow {
  color: #8d6a44;
  text-transform: none;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(2.7rem, 5.7vw, 5.4rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 520px;
  color: #5f5c56;
}

.hero-visual {
  min-height: 560px;
  border-radius: 8px;
  border: 1px solid rgba(120, 86, 54, 0.18);
  box-shadow: 0 28px 70px rgba(92, 61, 38, 0.18);
  overflow: hidden;
  background: #3e2f2c;
}

.hero-visual img {
  min-height: 560px;
  object-position: center 58%;
  filter: sepia(0.06) saturate(0.92) brightness(1.08) contrast(0.96);
  transform: scale(1.015);
}

.hero-visual figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.92);
  background: rgba(38, 31, 27, 0.52);
  font-size: 0.82rem;
  letter-spacing: 0;
  backdrop-filter: blur(8px);
}

.page-hero-simple {
  max-width: 860px;
}

.page-hero-media {
  display: none;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

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

  .hero-visual figcaption {
    display: none;
  }
}
/* Typography and navigation refinement. */
body {
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.brand,
.button,
.tag,
.ministry-icon,
.event-date,
.footer-title,
.form-field label {
  font-family: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", "Heiti SC", Arial, sans-serif;
}

h1,
h2,
h3 {
  font-weight: 700;
}

.hero h1 {
  font-weight: 700;
}

.card p,
.info-panel p,
.card li,
.page-hero p,
.hero-copy,
.lead,
.site-nav a,
.language-select {
  font-weight: 400;
}

.nav-wrap {
  justify-content: flex-start;
}

.site-nav {
  margin-left: auto;
  margin-right: 16px;
  gap: 8px;
}

.language-select-wrap {
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .site-nav {
    margin-left: 0;
    margin-right: 0;
  }
}