/* St. Augustine's — copy of the Wix site, hosted on Netlify. */
:root {
  --blue: #395f7f;
  --nav-blue: #034c8c;
  --red: #8b0000;
  --grey: #605e5e;
  --band: #f4f5f6;
  --footer: #84a4a9;
  --line: #e2e2e2;
  --serif-display: 'Playfair Display', Georgia, serif;
  --serif-logo: 'Libre Baskerville', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--nav-blue); }
h1, h2, h3, h4, h5 { font-weight: 400; margin: 0; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* Header */
.site-header { text-align: center; padding-top: 28px; }
.logo-link { display: inline-block; text-decoration: none; }
.logo-link img { width: 64px; margin: 0 auto 10px; }
.logo-name { font-family: var(--serif-logo); color: var(--grey); font-size: 28px; letter-spacing: .06em; line-height: 1.2; }
.logo-sub { font-family: var(--serif-logo); color: var(--red); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
nav.main {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 40px;
  padding: 14px 20px;
}
nav.main a {
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: #7f9bb0; font-weight: 400;
}
nav.main a:hover, nav.main a.current { color: var(--nav-blue); }

/* Banners */
.banner { width: 100%; height: 360px; object-fit: cover; }
.hero { position: relative; }
.hero img { width: 100%; height: 487px; object-fit: cover; }
.hero-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: center; color: #fff; text-align: center;
  text-shadow: 0 1px 12px rgba(0,0,0,.45); padding: 0 20px;
}
.hero-text .kicker { font-family: var(--serif-display); font-size: 21px; }
.hero-text h1 { font-family: var(--serif-display); font-size: clamp(34px, 6vw, 52px); margin-top: 6px; }

/* Sections */
section { padding: 56px 0; }
.intro p { margin: 0 0 4px; font-size: 19px; }
.come { color: var(--red); font-size: 22px !important; margin-top: 10px !important; }
.band { background: var(--band); }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.columns h5 { color: var(--nav-blue); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.columns .big { font-size: 22px; line-height: 1.3; margin: 0; }
.columns p { font-size: 15px; margin: 12px 0 0; }
h2.title { font-family: var(--serif-display); color: var(--red); font-size: 26px; margin-bottom: 18px; }
h3.title { font-family: var(--serif-display); color: var(--red); font-size: 21px; margin: 32px 0 10px; }
.page-copy p { margin: 0 0 16px; }
.year { font-family: var(--serif-display); color: var(--red); font-size: 21px; margin: 32px 0 8px !important; }
.mission-head { font-size: 31px; margin: 36px 0 6px; }
.wide-photo { width: 100%; max-height: 900px; object-fit: cover; }
.flyer { max-width: 600px; margin: 24px auto 0; }
.paypal { display: flex; justify-content: center; margin-top: 28px; }
.paypal input { width: auto; border: 0; padding: 0; background: none; }

/* Sermons */
.videos { display: grid; gap: 32px; margin-top: 28px; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-title { margin: 8px 0 0; font-size: 15px; }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: block; font-size: 14px; margin: 14px 0 4px; }
form input, form textarea {
  width: 100%; font: inherit; font-size: 16px; color: #222;
  border: 1px solid #b9c7cf; padding: 10px 12px; background: #fff;
}
form textarea { min-height: 130px; }
form button {
  margin-top: 16px; font: inherit; font-weight: 400; font-size: 15px; letter-spacing: .06em;
  background: var(--blue); color: #fff; border: 0; padding: 12px 34px; cursor: pointer;
}
form button:hover { background: var(--nav-blue); }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.map { width: 100%; height: 340px; border: 0; }

/* Footer */
footer { background: var(--footer); color: #fff; padding: 44px 0 0; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
footer h6 { font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
footer p { margin: 0 0 12px; font-size: 16px; }
footer a { color: #fff; }
footer .map { height: 230px; }
footer form input { border: 1px solid #fff; padding: 7px 10px; font-size: 14px; margin-bottom: 8px; }
footer form button { background: transparent; padding: 4px 0; font-size: 14px; margin-top: 4px; }
footer form button:hover { background: transparent; text-decoration: underline; }
.social { display: flex; gap: 14px; justify-content: center; padding: 28px 0 22px; }
.social a { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; }
.social svg { width: 16px; height: 16px; fill: var(--footer); }
.footer-bar { background: #6c8a8f; height: 26px; }

@media (max-width: 760px) {
  .columns, footer .cols, .contact-grid, form .row { grid-template-columns: 1fr; }
  nav.main { gap: 4px 20px; }
  .banner { height: 220px; }
  .hero img { height: 360px; }
}
