/* ── YWNA — Stylesheet ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:   #1e3a1a;
  --green-mid:    #2d5a23;
  --green-light:  #4a7c3f;
  --green-pale:   #e8f0e4;
  --cream:        #f8f5ef;
  --earth:        #7a6248;
  --gold:         #c8963c;
  --text-dark:    #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-light:   #777;
  --white:        #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,58,26,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 68px;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo .logo-main { font-family:'Playfair Display',serif; font-size:1.25rem; color:var(--white); letter-spacing:0.02em; }
.nav-logo .logo-sub  { font-size:0.65rem; color:rgba(255,255,255,0.55); letter-spacing:0.15em; text-transform:uppercase; }
.nav-links { display:flex; gap:0.25rem; list-style:none; }
.nav-links a { color:rgba(255,255,255,0.82); text-decoration:none; font-size:0.82rem; font-weight:500; letter-spacing:0.04em; padding:0.4rem 0.85rem; border-radius:4px; transition:all 0.2s; text-transform:uppercase; }
.nav-links a:hover { color:var(--white); background:rgba(255,255,255,0.1); }
.nav-links a.donate { background:var(--gold); color:var(--white); padding:0.4rem 1rem; }
.nav-links a.donate:hover { background:#b8862c; }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:0.5rem; }
.hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all 0.2s; }

.nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.45); z-index:150; }
.nav-overlay.open { display:block; }
.mobile-nav { display:none; position:fixed; top:0; right:-280px; width:280px; height:100vh; background:var(--green-deep); z-index:200; padding:4rem 1.5rem 2rem; flex-direction:column; gap:0.25rem; transition:right 0.3s; }
.mobile-nav.open { right:0; }
.mobile-nav a { display:block; color:rgba(255,255,255,0.85); text-decoration:none; font-size:1rem; padding:0.75rem 1rem; border-radius:6px; }
.mobile-nav a:hover { background:rgba(255,255,255,0.1); }
.mobile-nav .nav-join-btn { margin-top:1rem; background:var(--gold); color:var(--white); text-align:center; border-radius:6px; }

/* ── NOTICE BOARD ── */
.notice-board {
  position:fixed; top:68px; left:0; right:0; z-index:90;
  background:var(--gold); display:flex; align-items:center; justify-content:center;
  padding:0.55rem 1.5rem; gap:0.75rem;
}
.notice-label { font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:rgba(0,0,0,0.55); white-space:nowrap; }
.notice-text  { font-size:0.88rem; font-weight:500; color:var(--text-dark); }

/* ── HERO ── */
.hero {
  position:relative; min-height:100vh; display:flex; align-items:flex-end;
  overflow:hidden; background:var(--green-deep); padding-bottom:5rem;
}
.hero-bg {
  position:absolute; inset:0;
  background-image:url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1800&q=80');
  background-size:cover; background-position:center; opacity:0.45;
}
.hero-content { position:relative; z-index:2; padding:0 4rem; max-width:700px; }
.hero-label { font-size:0.72rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.hero-title { font-family:'Playfair Display',serif; font-size:clamp(2.8rem,6vw,4.5rem); line-height:1.08; color:var(--white); margin-bottom:1.25rem; }
.hero-desc  { font-size:1.05rem; color:rgba(255,255,255,0.82); max-width:520px; margin-bottom:2rem; line-height:1.7; }
.hero-cta   { display:inline-flex; gap:1rem; }
.btn { display:inline-block; padding:0.75rem 1.75rem; border-radius:4px; font-size:0.85rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; text-decoration:none; transition:all 0.2s; cursor:pointer; }
.btn-primary { background:var(--green-light); color:var(--white); }
.btn-primary:hover { background:var(--green-mid); }
.btn-outline { border:1.5px solid rgba(255,255,255,0.5); color:var(--white); background:transparent; }
.btn-outline:hover { background:rgba(255,255,255,0.1); border-color:var(--white); }
.btn-white { background:var(--white); color:var(--green-deep); }
.btn-white:hover { background:var(--cream); }
.btn-gold { background:var(--gold); color:var(--white); }
.btn-gold:hover { background:#b8862c; }

/* ── MISSION BANNER ── */
.mission-banner { background:var(--green-deep); color:var(--white); text-align:center; padding:4rem 2rem; }
.mission-banner blockquote { font-family:'Playfair Display',serif; font-style:italic; font-size:clamp(1.3rem,3vw,1.9rem); line-height:1.5; max-width:800px; margin:0 auto; color:rgba(255,255,255,0.92); }
.mission-banner cite { display:block; margin-top:1.25rem; font-family:'Inter',sans-serif; font-style:normal; font-size:0.78rem; font-weight:600; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); }

/* ── FEATURE CARDS ── */
.features { display:grid; grid-template-columns:repeat(3,1fr); min-height:480px; }
.feature-card { position:relative; overflow:hidden; cursor:pointer; }
.feature-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.6s ease; }
.feature-card:hover img { transform:scale(1.06); }
.feature-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,0.78) 0%,rgba(0,0,0,0.15) 60%,transparent 100%); display:flex; flex-direction:column; justify-content:flex-end; padding:2rem 1.75rem; color:var(--white); }
.feature-tag { font-size:0.68rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:0.5rem; }
.feature-title { font-family:'Playfair Display',serif; font-size:1.5rem; line-height:1.2; margin-bottom:0.75rem; }
.feature-desc { font-size:0.83rem; color:rgba(255,255,255,0.8); line-height:1.6; margin-bottom:1rem; }
.feature-link { font-size:0.75rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--white); text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.4); padding-bottom:2px; transition:border-color 0.2s; }
.feature-link:hover { border-color:var(--white); }

/* ── WHO WE ARE ── */
.who-we-are { display:grid; grid-template-columns:1fr 1fr; min-height:520px; }
.who-image { position:relative; overflow:hidden; }
.who-image img { width:100%; height:100%; object-fit:cover; }
.who-content { background:var(--cream); padding:5rem 4rem; display:flex; flex-direction:column; justify-content:center; }
.section-tag { font-size:0.7rem; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:var(--green-light); margin-bottom:0.75rem; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.5rem); line-height:1.15; color:var(--green-deep); margin-bottom:1.25rem; }
.section-body { color:var(--text-mid); line-height:1.8; font-size:0.95rem; margin-bottom:1.5rem; }
.stat-row { display:flex; gap:2.5rem; margin-top:0.5rem; }
.stat { text-align:center; }
.stat-num { font-family:'Playfair Display',serif; font-size:2.4rem; font-weight:700; color:var(--green-mid); line-height:1; }
.stat-label { font-size:0.72rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-light); margin-top:0.25rem; }

/* ── EVENTS SECTION ── */
.events-section { background:var(--green-deep); padding:5rem 2rem; }
.events-inner { max-width:1100px; margin:0 auto; }
.events-list { margin-top:2.5rem; display:flex; flex-direction:column; gap:1rem; }

/* Event card (rendered by middleware for content_items) */
.event-card {
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12);
  border-radius:8px; padding:1.25rem 1.5rem;
  display:grid; grid-template-columns:auto 1fr; gap:0 1.5rem; align-items:start;
}
.event-date {
  background:var(--gold); border-radius:6px; padding:0.5rem 0.75rem;
  text-align:center; min-width:52px;
}
.event-date .day  { font-family:'Playfair Display',serif; font-size:1.6rem; line-height:1; color:var(--white); display:block; }
.event-date .mon  { font-size:0.65rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:rgba(255,255,255,0.8); display:block; }
.event-info {}
.event-title  { font-weight:600; color:var(--white); font-size:1rem; margin-bottom:0.2rem; }
.event-meta   { font-size:0.82rem; color:rgba(255,255,255,0.6); }
.event-desc   { font-size:0.85rem; color:rgba(255,255,255,0.75); margin-top:0.4rem; line-height:1.55; }

/* Simple text event (content_values fallback) */
.event-text-item {
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12);
  border-radius:8px; padding:1.1rem 1.5rem;
  color:rgba(255,255,255,0.88); font-size:0.95rem; line-height:1.6;
  border-left:3px solid var(--gold);
}

/* Empty state */
.event-empty { text-align:center; padding:2.5rem; }
.event-empty p { color:rgba(255,255,255,0.55); font-size:0.92rem; }
.event-fb-link { color:var(--gold); text-decoration:none; }
.event-fb-link:hover { text-decoration:underline; }

/* ── REGULAR ACTIVITIES ── */
.activities-section { background:var(--cream); padding:5rem 2rem; }
.activities-inner { max-width:1100px; margin:0 auto; }
.activities-inner .section-title { color:var(--green-deep); }
.activity-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; margin-top:2.5rem; }
.activity-card {
  background:var(--white); border-radius:10px; padding:1.75rem;
  display:flex; gap:1.25rem; align-items:flex-start;
  box-shadow:0 2px 12px rgba(0,0,0,0.06); border:1px solid rgba(0,0,0,0.05);
  transition:box-shadow 0.2s;
}
.activity-card:hover { box-shadow:0 6px 24px rgba(0,0,0,0.1); }
.activity-icon { font-size:2rem; line-height:1; flex-shrink:0; margin-top:0.1rem; }
.activity-info {}
.activity-title { font-weight:700; font-size:1rem; color:var(--green-deep); margin-bottom:0.3rem; }
.activity-time  {
  font-size:0.88rem; font-weight:600; color:var(--green-light);
  background:var(--green-pale); display:inline-block;
  padding:0.2rem 0.65rem; border-radius:20px; margin-bottom:0.65rem;
  letter-spacing:0.01em;
}
.activity-desc { font-size:0.85rem; color:var(--text-mid); line-height:1.6; }
.activity-desc a { color:var(--green-light); text-decoration:none; }
.activity-desc a:hover { text-decoration:underline; }

@media (max-width:700px) {
  .activity-cards { grid-template-columns:1fr; }
}

/* ── CITIZEN SCIENCE STRIP ── */
.science-strip { background:var(--green-pale); padding:4rem 2rem; }
.science-strip-inner { max-width:1100px; margin:0 auto; }
.science-strip h2 { font-family:'Playfair Display',serif; font-size:2rem; color:var(--green-deep); margin-bottom:0.5rem; }
.science-strip p { color:var(--text-mid); font-size:0.92rem; margin-bottom:2.5rem; max-width:600px; }
.science-cards { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.science-card { background:var(--white); border-radius:8px; overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.06); transition:transform 0.2s,box-shadow 0.2s; text-decoration:none; color:inherit; }
.science-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.1); }
.science-card-img { height:140px; background-size:cover; background-position:center; }
.science-card-body { padding:1.1rem 1.25rem; }
.science-card-title { font-weight:600; font-size:0.9rem; color:var(--green-deep); margin-bottom:0.4rem; }
.science-card-desc  { font-size:0.8rem; color:var(--text-light); line-height:1.5; }

/* ── GET INVOLVED ── */
.get-involved { position:relative; padding:6rem 2rem; text-align:center; overflow:hidden; background:var(--green-mid); }
.get-involved-bg { position:absolute; inset:0; background-image:url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1600&q=70'); background-size:cover; background-position:center; opacity:0.2; }
.get-involved-inner { position:relative; z-index:1; max-width:650px; margin:0 auto; }
.get-involved h2 { font-family:'Playfair Display',serif; font-size:clamp(2rem,4vw,3rem); color:var(--white); margin-bottom:1rem; }
.get-involved p  { color:rgba(255,255,255,0.82); font-size:1rem; line-height:1.7; margin-bottom:2rem; }
.btn-group { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ── FOOTER ── */
footer { background:var(--text-dark); color:rgba(255,255,255,0.72); padding:4rem 2.5rem 2rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr 1fr; gap:2rem; max-width:1200px; margin:0 auto 3rem; }
.footer-brand .logo-main { font-family:'Playfair Display',serif; font-size:1.3rem; color:var(--white); margin-bottom:0.25rem; }
.footer-brand .logo-sub  { font-size:0.6rem; letter-spacing:0.15em; text-transform:uppercase; color:rgba(255,255,255,0.4); margin-bottom:1rem; }
.footer-brand p { font-size:0.82rem; line-height:1.7; color:rgba(255,255,255,0.55); margin-bottom:1.25rem; }
.social-icons { display:flex; gap:0.6rem; }
.social-icon { width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; text-decoration:none; color:rgba(255,255,255,0.7); font-size:0.8rem; font-weight:600; transition:background 0.2s; }
.social-icon:hover { background:var(--green-light); color:var(--white); }
.footer-col h5 { font-size:0.7rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--white); margin-bottom:1rem; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:0.5rem; }
.footer-col a  { color:rgba(255,255,255,0.55); text-decoration:none; font-size:0.82rem; transition:color 0.2s; }
.footer-col a:hover { color:var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:1.75rem; max-width:1200px; margin:0 auto; font-size:0.78rem; color:rgba(255,255,255,0.35); line-height:1.7; }
.footer-bottom strong { color:rgba(255,255,255,0.55); font-weight:500; }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .features { grid-template-columns:1fr; }
  .who-we-are { grid-template-columns:1fr; }
  .who-image  { height:300px; }
  .who-content { padding:3rem 2rem; }
  .science-cards { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  nav { padding:0 1.25rem; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .hero-content { padding:0 2rem; }
  .events-inner { padding:0; }
}
@media (max-width:500px) {
  .science-cards { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .event-card { grid-template-columns:1fr; }
}
