/* ============================================================
   THE CANDLE LIGHT PROJECT — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:   #0D1B3E;
  --navy2:  #162050;
  --navy3:  #1E2D5A;
  --brass:  #B89A5A;
  --brass2: #A08448;
  --cream:  #F7F5F0;
  --sky:    #EBF4FB;
  --sky2:   #D6EAF8;
  --sky3:   #5BA4CF;
  --white:  #FFFFFF;
  --gray:   #7A7F8E;
  --lgray:  #E8E9ED;
  --dark:   #1A1A2E;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,154,90,0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1.2;
}

/* Icon sits to the RIGHT of the text, cropped to show only house+flame */
.nav-logo-img {
  height: 48px;
  width: 42px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 6px;
  flex-shrink: 0;
  order: 2;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  order: 1;
}

.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--brass);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--brass); }

.nav-cta {
  background: var(--brass) !important;
  color: var(--navy) !important;
  border-radius: 4px;
  padding: 0.45rem 1rem !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--brass2) !important; }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── PAGE HERO (non-home pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 60%, var(--navy2) 100%);
  padding: 140px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(91,164,207,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(184,154,90,0.08) 0%, transparent 50%);
}

.page-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.page-hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(184,154,90,0.35);
  border-radius: 2px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sky3);
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(235,244,251,0.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SECTIONS ── */
.section { padding: 90px 2rem; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy  { background: var(--navy);  }
.section-sky   { background: var(--sky);   }

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

p { line-height: 1.75; }

.lead {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 640px;
}

/* ── DIVIDER ── */
.brass-line {
  width: 48px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 2rem;
}

.brass-line-center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.85rem 2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-brass {
  background: var(--brass);
  color: var(--navy);
}
.btn-brass:hover { background: var(--brass2); box-shadow: 0 4px 16px rgba(184,154,90,0.3); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

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

.card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 2px 16px rgba(13,27,62,0.06);
  border-top: 3px solid var(--brass);
}

.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 1rem;
}

.card p { color: var(--gray); font-size: 0.95rem; }

/* ── STAT ROW ── */
.stat-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.stat { display: flex; flex-direction: column; }

.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.4rem;
}

/* ── TWO-COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--navy);
  border-radius: 8px;
  padding: 2.5rem;
  border-left: 4px solid var(--brass);
}

.highlight-box blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--sky2);
  line-height: 1.6;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}

.contact-info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.contact-info-value {
  font-size: 1rem;
  color: var(--navy);
}

.contact-info-value a {
  color: var(--navy);
  text-decoration: none;
}

.contact-info-value a:hover { color: var(--brass2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--lgray);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(184,154,90,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; padding: 0.95rem; font-size: 0.85rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.75rem;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand-tagline {
  font-size: 0.75rem;
  color: var(--brass);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-address {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-legal {
  font-size: 0.78rem;
  text-align: right;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-brass  { color: var(--brass) !important; }
.text-gray   { color: var(--gray) !important; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.flex-gap-1 { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-gap-1-5 { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── ORG INFO BADGE ── */
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,154,90,0.12);
  border: 1px solid rgba(184,154,90,0.3);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ── DISCLAIMER ── */
.disclaimer {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.65;
  border-top: 1px solid var(--lgray);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(13,27,62,0.99);
    padding: 1.5rem 2rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(184,154,90,0.2);
  }
  .nav-links.open a { padding: 0.65rem 0; font-size: 0.85rem; }
  .nav-toggle { display: flex; }
  .card-grid-3,
  .card-grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { gap: 2rem; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { text-align: left; }
}
