/* ====================================================================
   Willow Branch Capital — Brand Fonts, Colors & Theme Overrides
   Paste this entire block at the BOTTOM of assets/css/main.css
   (it will override the template defaults via CSS cascade)
   ==================================================================== */

/* 1) Fonts ----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap');

/* 2) Brand Palette --------------------------------------------------- */
:root {
  --green: #194C3B;      /* primary brand green */
  --green-dark: #103B2F; /* deeper green for hover/overlay */
  --beige: #E8E1D6;      /* light neutral background */
  --gold: #A98758;       /* accent */
  --charcoal: #1B1B1B;   /* main headings */
  --ink: #2A2A2A;        /* body text */
  --offwhite: #F7F4EE;   /* alt background */
}

/* 3) Base Typography & Colors --------------------------------------- */
body {
  background: var(--offwhite);
}

body, input, select, textarea {
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15pt;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.75em;
}

/* Links */
a {
  transition: color .2s ease-in-out, border-color .2s ease-in-out, background-color .2s ease-in-out;
  color: var(--green);
  text-decoration: none;
  border-bottom: dotted 1px;
}
a:hover { color: var(--green-dark); border-bottom-color: transparent; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--charcoal);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.35em;
  margin-bottom: 0.75em;
  text-transform: none;   /* remove template all-caps */
  letter-spacing: 0;
}

/* 4) Buttons --------------------------------------------------------- */
.button.primary,
button.primary,
input[type="button"].primary,
input[type="submit"].primary,
input[type="reset"].primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff !important;
}
.button.primary:hover,
button.primary:hover,
input[type="button"].primary:hover,
input[type="submit"].primary:hover,
input[type="reset"].primary:hover {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
}
/* default hover tint for non-primary buttons */
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background: rgba(25, 76, 59, 0.08);
  border-color: inherit;
}

/* 5) Header/Nav minor polish ---------------------------------------- */
#header nav ul li.active > a,
#header nav ul li:hover > a {
  background: rgba(25, 76, 59, 0.10);
}

/* 6) Wrapper & Footer backgrounds ----------------------------------- */
/* If your template uses .wrapper.style2 as a colored band, brand it: */
.wrapper.style2 {
  background-color: var(--green);
  color: #fff;
}
.wrapper.style2 .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--green) !important;
}
.wrapper.style2 .button.primary:hover {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
}

/* Footer */
#footer { background: var(--beige); color: var(--ink); }

/* 7) Banner (Hero) --------------------------------------------------- */
/* Move hero styling from inline HTML into CSS. The HTML can remove <style> now. */
#banner {
  color: #fff;
  cursor: default;
  padding: 6em 0;            /* preserves template spacing */
  text-align: center;
  background: url('../images/banner.jpg') center center / cover no-repeat; /* path is relative to CSS file */
  position: relative;
  min-height: 480px;
  max-height: 800px;
  display: grid;
  place-items: center;
}
#banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 59, 47, 0.35); /* overlay for legibility */
}
#banner .inner { position: relative; z-index: 1; background: none; }
#banner .inner header h2 { font-weight: 700; letter-spacing: .02em; text-transform: none; }
@media (min-width: 980px) { #banner { min-height: 560px; } }

/* 8) Value icons (SVG sizing) --------------------------------------- */
.value-icon { width: 56px; height: auto; margin-bottom: 0.75rem; opacity: 0.95; }

/* 9) Utility --------------------------------------------------------- */
/* If you use beige sections elsewhere: */
.section--beige { background: var(--beige); }
.text-green { color: var(--green) !important; }
.bg-green { background: var(--green) !important; color:#fff !important; }

/* ================= Willow Branch layout overrides ================= */

/* Section container + centering */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}
.center { text-align: center; }
.lead { font-size: 1.1em; max-width: 70ch; margin: 0.75rem auto 0; }

/* Header: just the brand */
#header { padding: 1.25rem 1rem; text-align: center; }
#header #logo a {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green);
  border: 0;
}

/* HERO background + overlay + card */
.hero {
  position: relative;
  background: url('../images/banner.jpg') center center / cover no-repeat;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16,59,47,.35);
}
.hero-card {
  position: relative; z-index: 1;
  max-width: 720px;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  text-align: center;
}
.hero-title {
  margin: 0 0 .5rem;
  font-size: clamp(28px, 4.2vw, 44px);
  color: #fff;
}
.hero-subtitle {
  margin: 0 0 1.25rem;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  color: #fff;
  opacity: .95;
}
.hero-cta { font-weight: 700; }

/* Our Story image sizing */
.logo-main { width: 200px; height: auto; margin-bottom: 1rem; }

/* Stacked value items like the demo */
.stack { display: grid; gap: 3.5rem; }
.stack-item { max-width: 720px; margin: 0 auto; }
.stack-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: .02em;
  margin: .5rem 0 .4rem;
}
.value-icon { width: 64px; height: auto; opacity: .95; }

/* Contact band with background image */
.contact-band {
  position: relative;
  background: url('../images/banner.jpg') center center / cover no-repeat; /* you can use a different image e.g. contact.jpg */
  padding: 6rem 1.25rem;
  text-align: center;
  color: #fff;
}
.contact-band::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16,59,47,.35);
}
.contact-band .contact-card {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.contact-band h2 { color: #fff; }
.contact-band p { color: #fff; opacity: .95; }

/* Footer minimal */
#footer { background: var(--beige); text-align: center; padding: 2rem 1rem; }
#footer p { margin: 0; color: var(--ink); }

/* =========================
   Willow Branch — Spacing (Balanced)
   64px sections, 32px inner gaps, 40px dividers
   ========================= */

/* Scale */
:root {
  --space-section: 4rem;   /* 64px */
  --space-item: 2rem;      /* 32px */
  --space-divider: 2.5rem; /* 40px */
}

/* Section container rhythm */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-section) 1.25rem;
  text-align: center;
}

/* Typography gaps (headings + paragraphs) */
h1, h2, h3, h4, h5, h6 { margin-bottom: 0.75rem; }
p { margin: 0.75rem auto 0; }

/* HERO: ~50% shorter than the template + tighter card padding */
.hero {
  min-height: 400px;   /* tighter, consistent */
  max-height: 480px;
}
.hero-card {
  padding: 1.5rem 1.25rem; /* reduced from earlier */
}

/* Tighten space between Our Story (#story) and Value (#value) */
#story { padding-bottom: calc(var(--space-section) - 1rem); }
#value { padding-top: calc(var(--space-section) - 1rem); }

/* Stacked Value items + clean dividers */
.stack { display: grid; gap: var(--space-item); }
.stack-item { max-width: 720px; margin: 0 auto; }
.stack-item + .stack-item {
  margin-top: var(--space-divider);
  padding-top: var(--space-divider);
  border-top: 1px solid rgba(25, 76, 59, 0.25); /* brand green at 25% */
}

/* Contact band uses the same section rhythm for balance */
.contact-band { padding: var(--space-section) 1.25rem; }

/* Mobile: slightly tighter sections */
@media (max-width: 640px) {
  :root {
    --space-section: 3rem;   /* 48px */
    --space-item: 1.5rem;    /* 24px */
    --space-divider: 2rem;   /* 32px */
  }
}

/* ================== Willow Branch Capital Typography ================== */

body, input, select, textarea {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; /* regular */
  font-size: 18px;   /* comfortable reading size */
  line-height: 1.6;
  color: var(--ink);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; /* bold for all headings */
  line-height: 1.3;
  text-transform: none;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4, h5, h6 { font-size: 1.2rem; }

:root {
  --beige-logo: #EFE9DD;
}

#story,
#value {
  background-color: var(--beige-logo);
}


