:root {
  --brand-blue: #2e5673;   /* exact header/hero blue */
}
:root { --max: 960px; --fg: #222; --muted:#555; --line:#e8e8e8; --tint:#f7f9fc; --link:#0b57d0; }
* { box-sizing: border-box; }

/* Universal wrapper (like a container) */
.wrap {
  max-width: 1200px;   /* cap content width */
  margin: 0 auto;      /* center it */
  padding: 0 1rem;     /* keep edges from touching screen */
}

.wrap.small {
  max-width: 800px;    /* optional narrower version */
}

body { margin:0; font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; color:var(--fg); background:#ffff; }
a { color:var(--link); text-decoration:none; }
a:hover { text-decoration:underline; }
header { position:sticky; top:0; background:#fff; border-bottom:1px solid var(--line); z-index:5; }
.wrap { max-width:var(--max); margin:0 auto; padding:16px; }
.brand { display:flex; align-items:center; gap:12px; }
.brand h1 { margin:0; font-size:18px; letter-spacing:.3px; }
nav { display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; }
nav a { padding:6px 8px; border-radius:6px; }
nav a:hover, nav a:focus { background:#eef3ff; }
section { padding:32px 0; }
.hero { background:linear-gradient(180deg, var(--tint), #fff); border-bottom:1px solid var(--line); }
.hero h2 { margin:0 0 8px; font-size:28px; }
.kicker { text-transform:uppercase; letter-spacing:.12em; color:#666; font-size:12px; }
.grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { border:1px solid var(--line); border-radius:10px; padding:16px; background:#fff; }
h3 { margin:0 0 8px; font-size:22px; }
h4 { margin:0 0 6px; font-size:18px; }
ul { margin:8px 0 0 18px; }
.muted { color:var(--muted); }
.notice { background:#fff8e1; border:1px solid #ffe08a; padding:12px 14px; border-radius:8px; }
footer { border-top:1px solid var(--line); background:#fafafa; }
.small { font-size:14px; color:var(--muted); }
.pill { display:inline-block; font-size:12px; padding:2px 8px; border:1px solid #ddd; border-radius:999px; color:#444; }
.toc { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 0; }
.footernav { display:flex; gap:12px; flex-wrap:wrap; }
/* === Global Reset & Typography === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* === Layout Container === */
.container {
  width: 90%;
  max-width: 1200px;   /* keeps content centered and not too wide */
  margin: 0 auto;
}

/* === Header === */
header {
  background: #4a6c85;  /* blue background you liked */
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  font-size: 2.2rem;
  font-weight: bold;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #4a6c85; /* replace or layer with an image later */
  color: #fff;
}

.hero .wrap {
  text-align: center;
  z-index: 1;
}

/* === Main Sections === */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

/* === Footer === */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
html { scrollbar-gutter: stable; }


/* Nav link styles */
nav a {
  color: #E6F0FA;   /* very light blue text by default */
  font-weight: normal; /* not bold */
  text-decoration: none;
}

/* Hover and focus */
nav a:hover,
nav a:focus {
  background: #0b57d0;  /* dark blue background */
  color: #ffffff;       /* white text on hover */
}

/* After click (visited link) */
nav a:visited {
  color: #0b57d0;   /* dark blue letters to blend into background */
}

/* Active/current page */
nav a.active {
  background: #0b57d0;  /* dark blue background */
  color: #ffffff;       /* white text always on active page */
  border-radius: 6px;
}

nav a {
  color: #E6F0FA !important;   /* force very light blue */
  font-weight: normal;
  text-decoration: none;
}

nav a:visited {
  color: #0b57d0 !important;  /* dark blue after clicking */
}
/* Full-bleed image section */
.bridge-block {
  margin: 40px 0 0;
  background: #000;           /* helps during image load */
}

/* Make the image edge-to-edge, but keep a nice aspect */
.bridge-figure {
  margin: 0;
}
.bridge-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;       /* adjust to your photo’s shape (e.g., 16/9, 3/1) */
  object-fit: cover;          /* crops gracefully if needed */
}

/* Tasteful caption */
.bridge-figure figcaption {
  max-width: 960px;           /* match your .wrap width */
  margin: 8px auto 0;
  padding: 0 16px 16px;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}
Optional: Subtle overlay for readability (if the photo is bright)
css
Copy
Edit
.bridge-figure {
  position: relative;
}
.bridge-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.15));
  pointer-events: none;
}
.bridge-figure img { position: relative; z-index: 0; }

/* Force nav links to be light blue by default */
nav a {
  color: #E6F0FA !important;   /* very light blue */
  font-weight: normal;
  text-decoration: none;
}

/* Hover and focus */
nav a:hover,
nav a:focus {
  background: #0b57d0;  /* dark blue background */
  color: #ffffff;       /* white text on hover */
}

/* After click (visited) */
nav a:visited {
  color: #0b57d0 !important;  /* dark blue after clicking */
}

/* Active/current page */
nav a.active {
  background: #0b57d0;
  color: #ffffff;
  border-radius: 6px;
}

/* NAV COLORS — keep this block at the very bottom */
nav a {
  text-decoration: none;
  font-weight: normal;
}

/* Unvisited */
nav a:link {
  color: #E6F0FA !important;   /* very light blue before any clicks */
}

/* Visited */
nav a:visited {
  color: #0b57d0 !important;   /* dark blue after clicking */
}

/* Hover / Focus */
nav a:hover,
nav a:focus {
  background: #0b57d0;
  color: #ffffff !important;
  border-radius: 6px;
}

/* Active (while mouse-down) */
nav a:active {
  background: #0b57d0;
  color: #ffffff !important;
}

/* --- NAV COLORS --- */
nav a:link {
  color: #E6F0FA !important;   /* very light blue before any click */
  font-weight: normal;
  text-decoration: none;
}

nav a:visited {
  color: #E6F0FA !important;   /* keep visited links same light blue */
}

nav a:hover,
nav a:focus {
  background: #0b57d0;
  color: #ffffff !important;   /* white when hovered */
  border-radius: 6px;
}

nav a:active,
nav a.active {
  background: #0b57d0;
  color: #ffffff !important;   /* white when clicked/current */
}

/* Normal (unclicked & visited) */
nav a:link,
nav a:visited {
  color: #E6F0FA !important;  /* very light blue */
  font-weight: normal;
  text-decoration: none;
}

/* Hover */
nav a:hover,
nav a:focus {
  background: #0b57d0;
  color: #ffffff !important;  /* white on hover */
  border-radius: 6px;
}

/* Active (while clicking) */
nav a:active,
nav a.active {
  background: #0b57d0;
  color: #ffffff !important;  /* dark background + white text when clicked/current */
}

/* Logo styling */
.logo {
  height: 80px;       /* adjust size as needed */
  width: auto;        /* keep proportions */
  margin-right: 12px; /* space between logo and text */
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}






/* --- NAV COLORS (keep at end of stylesheet) --- */
nav a:link,
nav a:visited {
  color: #E6F0FA !important;   /* very light blue by default */
  font-weight: normal;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  background: #0b57d0;
  color: #ffffff !important;   /* white on hover */
  border-radius: 6px;
}

/* Current page + while clicking */
nav a.active:link,
nav a.active:visited,
nav a:active {
  background: #0b57d0;
  color: #ffffff !important;   /* white text when current or pressed */
  border-radius: 6px;
}

header {
  display: flex;
  justify-content: space-between; /* logo/title on left, nav on right */
  align-items: center;            /* vertically center them */
  padding: 0 16px;                /* optional: some left/right breathing room */
}

header .wrap.brand {
  margin: 0;   /* remove extra margin if needed */
}

nav {
  margin-top: 0; /* kill the extra top margin that pushes nav down */
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 350px;  /* shift everything inward */
  padding-right: -50px; /* keep nav comfortable */
}

.brand h1 {
  font-family: "Segoe Script", cursive;
  color: white;   /* gold */
  font-size: 2.5em;
  font-weight: normal;
  margin: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* everything starts from the left */
  gap: 40px;                    /* space between logo/title and nav */
}

nav {
  margin-top: 0;  /* removes any extra top offset */
}

/* === Full-screen home hero === */
:root { --hero-blue: #2f5f73; } /* adjust to your exact blue */

.home-hero {
  background: var(--hero-blue);
  color: #fff;
  min-height: 100vh;                 /* fill the viewport */
  display: flex;
  align-items: center;                /* vertical centering */
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
  display: flex;
  gap: 32px;
}

/* Left: text area (about two-thirds) */
.hero-copy {
  flex: 0 1 66%;
}
.hero-copy h1 { 
  margin: 0 0 12px;
  font-size: 42px;                    /* tweak as you like */
  line-height: 1.2;
}
.hero-copy p {
  font-size: 18px;
  opacity: 0.95;
}

/* Right: image area (about one-third) */
.hero-art {
  flex: 0 1 34%;
  display: flex;
  align-items: flex-end;              /* sit on bottom edge */
  justify-content: flex-end;          /* right side */
}
.hero-art img {
  height: 75vh;                       /* ~75% of screen height */
  max-height: 900px;                  /* reasonable cap */
  width: auto;
  object-fit: contain;                 /* keep proportions */
  display: block;
}

header {
  background: var(--brand-blue);
}

.home-hero {
  background: var(--brand-blue);
}

/* About Sally section */
.about-sally {
  margin: 3rem 0;
}

.about-sally-inner {
  display: flex;
  align-items: center;
  gap: 2rem;                /* space between photo and text */
}

/* photo block with background color */
.about-sally-photo {
  background-color: #f4f4f4; /* change to any brand color */
  padding: 1rem;
  border-radius: 8px;       /* soften edges */
  flex: 0 0 300px;          /* fixed width for photo block */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-sally-photo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-sally-text {
  flex: 1;                  /* take remaining space */
}

/* responsive stacking on small screens */


/* mobile adjustments */
@media (max-width: 768px) {
  .about-sally-inner {
    flex-direction: column;
    text-align: center;
  }
  .about-sally-photo {
    flex: none;
    width: 100%;
  }
}

.about-sally-photo {
  /* your existing styles… */
  background-color: #c1ddf4; /*var(--brand-blue);*/
  padding: 0;                 /* remove extra padding if you had it */
  border-radius: 8px;
  width: 300px;               /* or flex: 0 0 300px; */
  height: 380px;              /* pick a pleasing portrait height */
  overflow: hidden;           /* crops anything that overflows */
  display: flex;
}

.about-sally-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fills box without distortion */
  object-position: center top;/* nudge what part is visible (try center 20%) */
}

/* Keeps footer at bottom even if content is short */
body {
  min-height: 100svh;           /* full viewport height */
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;                      /* expand to push footer down */
}

/* Contact block styling */
.contact-block {
  padding: 3rem 0;
  background-color: #f9f9f9;    /* subtle background (optional) */
  text-align: center;
}

.contact-block h2 {
  margin-bottom: 1rem;
  color: var(--brand-blue, #0a3d62); /* matches your hero blue */
}

.contact-block p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.contact-block a {
  color: var(--brand-blue, #0a3d62);
  text-decoration: none;
}
.contact-block a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 1rem;
  font-style: italic;
  color: #444;
}

/* ---- quick knobs you can change in one place ---- */
:root{
  --gallery-card-bg: var(--brand-blue);   /* background behind each image (use 'transparent' to show page bg) */
  --gallery-page-bg: transparent;/* page/section bg; set a color if you want full-bleed */
}

.gallery-section{
  background: var(--gallery-page-bg);
  padding: 2rem 0 3rem;
}

.gallery{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);  /* two across */
}

.gallery-item{
  background: var(--gallery-card-bg);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* stack on small screens */
@media (max-width: 768px){
  .gallery{ grid-template-columns: 1fr; }
}

.gallery-item img.zoomed {
  transform: scale(1.1);   /* 10% zoom */
  transform-origin: center center; /* zoom from center */
}

.gallery-item {
  background: var(--gallery-card-bg);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* <-- keeps zoomed images inside the frame */
}


/* White header only on the home page */
#home header {
  background-color: #ffffff; /* white */
}

#home header nav a {
  color: var(--brand-blue);
}

#home header .brand h1 {
  color: var(--brand-blue);
}

/* White header only on the home page */
#home header {
  background-color: #ffffff; /* white */
}

#home header nav a {
  color: #000000; /* darker text for better contrast */
}

#home header .brand h1 {
  color: var(--brand-blue);
}



/* Smooth fade for hover states */
header nav a {
  transition: background-color 0.2s ease-in-out;
}

/* Hover on home page: blue overlay */
#home header nav a:hover {
  background-color: rgba(46, 86, 115, 0.5);
}

/* Hover on all other pages: white overlay */
body:not(#home) header nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Darker nav text only on the home page */
#home header nav a {
  color: #000000 !important; /* solid black */
}

/* Active nav link (current page) */
header nav a.active {
  background-color: #1f3c52 !important; /* darker blue */
  color: #ffffff !important;            /* light text so it pops */
}

/* Make the "Home" link lighter only when on the home page */
#home header nav a.active {
  color: #fff !important;  /* try a light gray */
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

header h1 {
  font-size: clamp(1.2rem, 2.5vw, 2rem); /* shrinks gracefully */
  white-space: nowrap; /* optional: forces single line */
}

header .brand h1 {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-weight: 400;  /* try 600 if you want bolder */
  color: #2e5673;    /* your brand blue */
}

/* Keep header text white on all non-home pages (blue header) */
body:not(#home) header .brand h1 { color: #ffffff; }
body:not(#home) header nav a    { color: #ffffff; }

/* You already have these, but keep for completeness */
body:not(#home) header nav a:hover { background-color: rgba(255,255,255,0.2); }
header nav a { transition: background-color 0.2s ease-in-out; }

/* 1) Stop the horizontal jump when a scrollbar appears */
html {
  /* modern way */
  scrollbar-gutter: stable;
  /* fallback for older browsers */
  overflow-y: scroll;
}

/* 2) Reserve consistent header height + alignment */
header .wrap {
  min-height: 64px;                 /* adjust to your taste */
  display: flex;
  align-items: center;
}

/* Keep brand title from changing line-height between pages */
header .brand h1 {
  margin: 0;
  line-height: 1;
}

/* Make nav items consistent (no size change on hover/active) */
header nav a {
  display: inline-block;
  line-height: 1;
  padding: 8px 12px;
  text-decoration: none;
  border: 0;                         /* ensure no border flash */
}

/* Active/hover use background only — no border that could change size */
header nav a.active {
  background-color: #1f3c52;         /* your darker blue */
  color: #fff;
}
#home header nav a:hover {
  background-color: rgba(46,86,115,.5);
}
body:not(#home) header nav a:hover {
  background-color: rgba(255,255,255,.2);
}

/* If needed to win over other rules */
body:not(#home) header nav a { color: #fff !important; }

/* modern fix — supported in Chrome/Edge/Firefox */
html {
  scrollbar-gutter: stable both-edges;
}

/* fallback for older browsers (forces a scrollbar slot even if not needed) */
html {
  overflow-y: scroll;
}

/* 1) Stop the horizontal jump when a scrollbar appears */
html {
  /* modern way */
  scrollbar-gutter: stable;
  /* fallback for older browsers */
  overflow-y: scroll;
}

/* 2) Reserve consistent header height + alignment */
header .wrap {
  min-height: 64px;                 /* adjust to your taste */
  display: flex;
  align-items: center;
}

/* Keep brand title from changing line-height between pages */
header .brand h1 {
  margin: 0;
  line-height: 1;
}

/* Make nav items consistent (no size change on hover/active) */
header nav a {
  display: inline-block;
  line-height: 1;
  padding: 8px 12px;
  text-decoration: none;
  border: 0;                         /* ensure no border flash */
}

/* Active/hover use background only — no border that could change size */
header nav a.active {
  background-color: #1f3c52;         /* your darker blue */
  color: #fff;
}
#home header nav a:hover {
  background-color: rgba(46,86,115,.5);
}
body:not(#home) header nav a:hover {
  background-color: rgba(255,255,255,.2);
}

/* If needed to win over other rules */
body:not(#home) header nav a { color: #fff !important; }

/* 1) Always reserve space for the vertical scrollbar */
@supports (scrollbar-gutter: stable) {
  html { scrollbar-gutter: stable both-edges; }
}
html { overflow-y: scroll; } /* fallback so a slot is always reserved */

/* 2) Prevent nav width changes between pages */
header nav { display: flex; gap: 0.25rem; }
header nav a {
  white-space: nowrap;
  font-weight: 600;           /* same weight everywhere */
  line-height: 1;
  padding: 8px 12px;
  border: 0;                  /* no borders that appear/disappear */
}
header nav a.active { font-weight: 600; } /* don’t bump weight on active */

/* 3) Stabilize font swap (EB Garamond) metrics */
header .brand h1 {
  font-size-adjust: 0.46;     /* close to EB Garamond’s x-height */
  margin: 0; line-height: 1;
}

/* 4) Lock header block height so it doesn’t reflow */
header .wrap {
  min-height: 64px;           /* adjust if your header is taller */
  display: flex; align-items: center;
}

footer {
  background-color: #1f3c52;            /* darker “footerish” blue */
  color: #e6edf2;                       /* soft light text */
  padding: 3rem 1rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

/* Centered footer nav with readable links */
footer .footernav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0;
  background: transparent;
  border: 0;
}
footer .footernav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
}
footer .footernav a:hover { color: #ffffff; }

/* Scripture a bit lower and soft */
footer .scripture {
  font-style: italic;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  color: #f0f4f8;
  background: transparent;
  border: 0;
}

/* Lighter address text to match footer tone */
footer .contact-info p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #e6edf2;                        /* lighter than before */
}
footer .contact-info a {
  color: #ffffff;
  text-decoration: underline;
}
footer .contact-info a:hover { color: #dfe7ee; }

/* Copyright */
footer .copyright {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #cdd6dd;
}

/* Kill any accidental borders/backgrounds that create “white stripes” */
footer * {
  background: transparent;
  border: 0;
}
footer hr { display: none; }