/* ============================================================
   SMCA · Centrum Annoor — stylesheet
   Brand: dark green + gold accent on warm off-white
   ============================================================ */

:root {
  --green:        #2d5a37;
  --green-deep:   #234a2c;
  --green-dark:   #1c3a23;
  --gold:         #c39a52;
  --gold-dark:    #a8823e;
  --cream:        #f4f3ef;
  --cream-warm:   #efece4;
  --ink:          #25302a;
  --muted:        #5c685f;
  --white:        #ffffff;
  --border:       rgba(45, 90, 55, 0.14);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1140px;
  --radius: 4px;
  --shadow: 0 18px 50px -25px rgba(28, 58, 35, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green-deep); margin: 0; letter-spacing: .2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 243, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; color: var(--green); }
.brand-logo { height: 66px; width: auto; display: block; }
.brand-mark img { width: 100%; height: 100%; }
.brand .brand-mark { width: 44px; height: 44px; color: var(--green); display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 600; letter-spacing: 4px; font-size: 1.05rem; color: var(--green); }
.brand-sub { font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; font-weight: 400; }

.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.primary-nav a:hover { color: var(--green); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-dark) !important;
  padding: 9px 20px; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green); transition: .25s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 56px 0 84px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(195,154,82,0.10), transparent 55%),
    linear-gradient(180deg, var(--cream-warm), var(--cream));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/mark-green.png");
  background-repeat: no-repeat; background-position: 50% 46%;
  background-size: 760px; opacity: 0.04;
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(210px, 55%); margin: 0 auto 22px; }
.hero-logo img { width: 100%; height: auto; }

.eyebrow, .section-eyebrow {
  font-size: .76rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 500; margin: 0 0 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero-lead { max-width: 620px; margin: 0 auto 30px; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-size: .82rem; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: all .22s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }

/* ---------- Pillars ---------- */
.pillars { margin-top: -56px; position: relative; z-index: 2; padding-bottom: 40px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 30px; text-align: center; box-shadow: var(--shadow);
}
.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream-warm); color: var(--gold-dark); font-size: 1.3rem; margin-bottom: 18px;
}
.pillar h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--cream-warm); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: 22px; }
.section-text { color: var(--muted); font-size: 1.08rem; margin: 0 0 18px; }
.section-text:last-child { margin-bottom: 0; }
.section-eyebrow { display: block; }

/* ---------- Mission ---------- */
.mission-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.mission-list li {
  display: flex; align-items: center; gap: 20px;
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 18px 24px; font-size: 1.08rem; color: var(--ink);
}
.mission-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold-dark); min-width: 36px; }

/* ---------- Donate ---------- */
.donate { background: var(--green-deep); position: relative; overflow: hidden; }
.donate::before {
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px;
  background-image: url("../assets/mark-white.png"); background-size: contain; background-repeat: no-repeat;
  opacity: 0.07;
}
.light { color: var(--white) !important; }
.donate .section-eyebrow.light { color: var(--gold); }
.donate-actions { margin: 30px 0 22px; }
.donate-note { color: rgba(255,255,255,0.75); font-size: .98rem; margin: 0; }
.donate-note a { color: var(--gold); }
.donate-note a:hover { color: var(--white); }

/* ---------- Contact ---------- */
.contact-center { text-align: center; }
.contact-center .section-eyebrow { display: block; }
.contact-center .section-text { margin-left: auto; margin-right: auto; }
.contact-actions { margin: 30px 0 8px; }
.contact-details {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px;
}
.contact-details li { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.contact-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.8); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mark { width: 46px; height: 46px; color: var(--white); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--gold); max-width: 240px; line-height: 1.4; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.open { max-height: 380px; }
  .primary-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-cta { border: 0; border-radius: 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars { margin-top: -36px; }
  .contact-details { gap: 16px 32px; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 90px; }
}
