/* ═══════════════════════════════════════════
   LOLU — Light of Life Union
   Shared stylesheet v2
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1a1a1a; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── DESIGN TOKENS ── */
:root {
  --green:   #1A3C34;
  --green2:  #2D5A4F;
  --green3:  #3A7264;
  --gold:    #C9A94A;
  --gold2:   #E8CB7A;
  --gold3:   #F5DFA0;
  --cream:   #FFF8EB;
  --cream2:  #F5EDD8;
  --navy:    #0D1E3A;
  --navy2:   #162844;
  --blue:    #4A9FD4;
  --blue2:   #6ABFFF;
  --muted:   #666;
  --light:   #f4f4f4;
  --border:  rgba(0,0,0,.08);
  --shadow:  0 2px 16px rgba(0,0,0,.08);
  --shadow2: 0 8px 32px rgba(0,0,0,.12);
  --r:       10px;
  --r2:      6px;
  --max:     1080px;
}

/* ── LAYOUT HELPERS ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; height: 1px; background: currentColor; opacity: .3; max-width: 40px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-label { justify-content: center; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px,3.5vw,44px); color: var(--green); margin-bottom: 14px; line-height: 1.15; }
.section-header p { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,.65); }
.section-header.light .section-label { color: var(--gold2); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r2); font-size: 15px;
  font-weight: 600; transition: all .2s; border: none; cursor: pointer;
  font-family: inherit; line-height: 1;
}
.btn-gold  { background: var(--gold); color: var(--green); }
.btn-gold:hover  { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,74,.3); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green2); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-green { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover  { background: var(--blue2); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── NAV ── */
.site-nav {
  background: var(--green);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.nav-brand-text { line-height: 1; }
.nav-brand-name { color: #fff; font-size: 15px; font-weight: 700; display: block; margin-bottom: 3px; }
.nav-brand-sub  { color: var(--gold2); font-size: 10.5px; font-weight: 400; display: block; letter-spacing: .02em; }
.nav-center { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav-center a {
  color: rgba(255,255,255,.8); font-size: 13.5px; padding: 8px 13px;
  border-radius: var(--r2); transition: .2s; font-weight: 500;
}
.nav-center a:hover, .nav-center a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 20px; padding: 3px; }
.lang-btn {
  background: none; border: none; cursor: pointer; font-size: 12px;
  font-weight: 600; padding: 4px 12px; border-radius: 16px;
  color: rgba(255,255,255,.65); transition: .2s; font-family: inherit;
}
.lang-btn.active { background: var(--gold); color: var(--green); }
.nav-donate {
  background: var(--gold); color: var(--green) !important;
  font-size: 13.5px; font-weight: 700; padding: 9px 18px;
  border-radius: var(--r2); transition: .2s;
}
.nav-donate:hover { background: var(--gold2) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ── FOOTER ── */
.site-footer { background: #0a0a0a; color: rgba(255,255,255,.5); padding: 72px 48px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand-logo { width: 68px; height: 68px; border-radius: 50%; object-fit: contain; margin-bottom: 16px; }
.footer-name { font-family: 'Playfair Display', serif; color: #fff; font-size: 18px; margin-bottom: 2px; }
.footer-name-zh { color: var(--gold2); font-size: 12px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact { list-style: none; }
.footer-contact li { font-size: 13px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact a { color: rgba(255,255,255,.5); }
.footer-contact a:hover { color: var(--gold2); }
.footer-col h4 { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.45); font-size: 13.5px; transition: .2s; }
.footer-col ul li a:hover { color: var(--gold2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); font-size: 12px; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }
.footer-ein { color: rgba(255,255,255,.25); font-size: 11px; }

/* ── LANG VISIBILITY ── */
.zh { display: none; }
.en { display: inline; }
body.lang-zh .zh { display: inline; }
body.lang-zh .en { display: none; }
/* block-level overrides */
p.zh, div.zh, li.zh, h1.zh, h2.zh, h3.zh, h4.zh, span.zh { display: none; }
body.lang-zh p.zh, body.lang-zh div.zh, body.lang-zh li.zh,
body.lang-zh h1.zh, body.lang-zh h2.zh, body.lang-zh h3.zh,
body.lang-zh h4.zh, body.lang-zh span.zh { display: block; }
body.lang-zh span.zh { display: inline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 16px; }
  .nav-brand-sub { display: none; }
  .nav-logo { width: 44px; height: 44px; }
  .nav-donate { font-size: 12px; padding: 7px 12px; }
  .nav-center {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--green);
    padding: 12px 16px 20px; gap: 2px;
    box-shadow: 0 6px 20px rgba(0,0,0,.3); z-index: 199;
  }
  .nav-center.open { display: flex; }
  .nav-center li { width: 100%; }
  .nav-center a { padding: 12px 16px; font-size: 15px; display: block; width: 100%; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding: 48px 24px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .container { padding: 0 20px; }
}
@media (max-width: 560px) {
  .section-header h2 { font-size: 26px; }
  .section-header { margin-bottom: 36px; }
}

/* ── FLOATING LANG TOGGLE ── */
.lang-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: var(--green); color: #fff; border: 2px solid var(--gold);
  border-radius: 50px; padding: 10px 18px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(0,0,0,.3); transition: .2s;
}
.lang-float:hover { background: var(--gold); color: var(--green); }

