/* =========================================================
   Flowery Field Church, Hyde — Stylesheet
   Warm & traditional palette: cream, sage, warm wood
   ========================================================= */

:root {
  --cream: #faf6f0;
  --cream-soft: #f3ece0;
  --sage: #5b6e5a;
  --sage-dark: #3f4f3f;
  --wood: #8b5a3c;
  --wood-dark: #6b3f25;
  --burgundy: #7a2a2a;
  --ink: #2c2620;
  --ink-soft: #4a4239;
  --muted: #7a7064;
  --rule: #e2d8c6;
  --gold: #c9a96e;
  --shadow: 0 8px 28px rgba(58, 42, 24, 0.10);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--burgundy); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .5rem; }
h3 { font-size: 1.25rem; margin-bottom: .35rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }

.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: 2px solid var(--gold);
}

.brand-text { line-height: 1.1; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .2px;
}
.brand-sub {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: .3px;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: .5rem .65rem;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 4px 0;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-family: 'Lora', serif;
  font-size: .95rem;
  letter-spacing: .5px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--sage-dark);
  color: var(--cream);
  border-color: var(--sage-dark);
}
.btn-primary:hover { background: var(--sage); color: var(--cream); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}
.btn-outline:hover { background: var(--sage-dark); color: var(--cream); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  color: var(--cream);
  background-color: #1a1612;
  background-image:
    linear-gradient(rgba(20,15,10,.55), rgba(20,15,10,.65)),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  max-width: 760px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,.5);
  padding: .35rem .9rem;
  margin-bottom: 1.25rem;
  border-radius: 30px;
}
.hero h1 { color: var(--cream); margin-bottom: 1rem; }
.hero p {
  color: rgba(250,246,240,.92);
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn-outline { color: var(--cream); border-color: var(--cream); }
.hero-actions .btn-outline:hover { background: var(--cream); color: var(--ink); }

/* ---------------- Section ---------------- */
section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt { background: var(--cream-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head .kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: .75rem;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* ---------------- Cards / Grid ---------------- */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ---------------- Two-column with image ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
}
.split-image img { aspect-ratio: 4/3; object-fit: cover; }

/* ---------------- Quote / scripture ---------------- */
.scripture {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--sage-dark);
  color: var(--cream);
  position: relative;
}
.scripture blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.scripture cite {
  font-style: normal;
  font-size: .9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------- Service times list ---------------- */
.times-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.times-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
  flex-wrap: wrap;
}
.times-list .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--ink);
}
.times-list .time {
  font-weight: 600;
  color: var(--wood-dark);
  letter-spacing: 1px;
}
.times-list .meta { color: var(--muted); font-size: .92rem; flex-basis: 100%; }

/* ---------------- Contact / Info ---------------- */
.info-block {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 2.25rem 2rem;
  border-radius: var(--radius);
}
.info-block h3 { color: var(--sage-dark); margin-bottom: 1rem; }
.info-block .row {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--rule);
}
.info-block .row:last-child { border-bottom: none; }
.info-block .row strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: .15rem;
}
.info-block .row span, .info-block .row a { color: var(--ink-soft); }

/* Email CTA card */
.email-card {
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.email-card .label {
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: .75rem;
}
.email-card .email-large {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--sage-dark);
  word-break: break-all;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .25rem;
  margin: .25rem 0 1.5rem;
  text-decoration: none;
}
.email-card .email-large:hover { color: var(--burgundy); text-decoration: none; }

/* ---------------- Page header (interior pages) ---------------- */
.page-header {
  background: var(--cream-soft);
  text-align: center;
  padding: 5rem 1rem 4rem;
  border-bottom: 1px solid var(--rule);
}
.page-header .kicker {
  font-size: .8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 1rem;
  display: block;
}
.page-header h1::after {
  content: "";
  display: block;
  width: 70px; height: 2px;
  background: var(--gold);
  margin: 1.25rem auto 0;
}
.page-header p {
  max-width: 640px;
  margin: 1.25rem auto 0;
  color: var(--ink-soft);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #1f1a14;
  color: #d8cdb8;
  padding: 3.5rem 0 1.5rem;
}
.site-footer a { color: #e8dcc4; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .brand-mark { background: var(--gold); color: #1f1a14; border-color: var(--gold); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-sub { color: var(--gold); }
.footer-brand p { color: #b8ad97; margin-top: 1rem; max-width: 360px; }

.footer-col h4 {
  color: var(--cream);
  font-size: .85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: .35rem 0; }
.footer-col a { font-size: .95rem; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #3a3128;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #8e8472;
}

/* ---------------- Privacy notice block ---------------- */
.legal-block { max-width: 820px; margin: 0 auto; }
.legal-block h2 { margin-top: 2rem; }
.legal-block h3 { margin-top: 1.5rem; color: var(--sage-dark); }
.legal-block p, .legal-block li { color: var(--ink-soft); }
.legal-block ul { padding-left: 1.25rem; margin-bottom: 1rem; }

/* ---------------- Animations ---------------- */
@keyframes fadeUp { from { opacity:0; transform: translateY(14px);} to { opacity:1; transform:none; } }
.reveal { animation: fadeUp .7s ease both; }
.reveal-1 { animation-delay: .1s; }
.reveal-2 { animation-delay: .25s; }
.reveal-3 { animation-delay: .4s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: 70vh; }
  .hero-inner { padding: 4rem 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: .75rem 1.25rem 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: .85rem 0; }
  .page-header { padding: 3.5rem 1rem 3rem; }
  .scripture { padding: 3rem 1.25rem; }
  .info-block { padding: 1.75rem 1.25rem; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .65rem; letter-spacing: 1.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}
