/* Fremont Parent Staff Association — FPSA */
:root {
  --navy: #1a2744;
  --navy-light: #243456;
  --gold: #c9a227;
  --gold-light: #e4c04d;
  --green: #2d6a4f;
  --green-light: #40916c;
  --brown: #7c5c3e;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text: #2c3e50;
  --text-muted: #5a6a7a;
  --shadow: 0 4px 24px rgba(26, 39, 68, 0.1);
  --radius: 12px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
.container { width: min(1140px, 92%); margin: 0 auto; }
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; gap: 1rem; position: relative; }
.logo-link { display: flex; align-items: center; gap: 0.75rem; color: var(--white); text-decoration: none; }
.logo-link:hover { color: var(--white); opacity: 0.92; }
.logo-img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 0.95rem; letter-spacing: 0.02em; }
.logo-text span { font-size: 0.72rem; color: var(--gold-light); font-weight: 500; }
.nav-toggle { display: none; background: none; border: 2px solid var(--gold); color: var(--white); padding: 0.4rem 0.7rem; border-radius: 6px; cursor: pointer; font-size: 1.1rem; }
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; flex-wrap: wrap; align-items: center; }
.main-nav a { color: rgba(255,255,255,0.88); padding: 0.5rem 0.85rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.main-nav a:hover, .main-nav a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.btn-donate-nav { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; }
.btn-donate-nav:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.hero { background: linear-gradient(135deg, rgba(26,39,68,0.92) 0%, rgba(36,52,86,0.88) 55%, rgba(45,106,79,0.85) 100%), url('../images/charity-community.jpg') center/cover no-repeat; color: var(--white); padding: 5rem 0 4.5rem; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-badge { display: inline-block; background: rgba(201,162,39,0.2); border: 1px solid var(--gold); color: var(--gold-light); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.1rem; opacity: 0.92; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo { width: min(320px, 100%); margin: 0 auto; filter: drop-shadow(0 8px 32px rgba(0,0,0,0.35)); border-radius: 50%; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-light); border-color: var(--green-light); color: var(--white); }
section { padding: 4.5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--navy); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-label { display: block; color: var(--gold); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,39,68,0.14); }
.card-img { height: 200px; object-fit: cover; width: 100%; background: var(--cream); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; margin-bottom: 0.5rem; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; }
.card-tag { display: inline-block; background: rgba(45,106,79,0.1); color: var(--green); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-item { padding: 2rem 1rem; background: rgba(255,255,255,0.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1); }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); font-weight: 700; line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.9rem; opacity: 0.85; }
.page-hero { background: linear-gradient(135deg, var(--navy), var(--green)); color: var(--white); padding: 3.5rem 0; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.88; max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; background: var(--cream); }
.content-block h2 { font-family: var(--font-display); color: var(--navy); font-size: 1.75rem; margin-bottom: 1rem; }
.content-block p { color: var(--text-muted); margin-bottom: 1rem; }
.content-block ul { list-style: none; margin: 1rem 0; }
.content-block ul li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; color: var(--text-muted); }
.content-block ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.leader-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); }
.leader-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--gold); }
.leader-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 0.25rem; }
.leader-role { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.leader-card p { color: var(--text-muted); font-size: 0.9rem; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.tier-card { border: 2px solid #e8e4dc; border-radius: var(--radius); padding: 2rem; text-align: center; transition: border-color 0.2s; }
.tier-card.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,39,0.06), transparent); position: relative; }
.tier-card.featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.tier-name { font-family: var(--font-display); color: var(--navy); font-size: 1.3rem; margin-bottom: 0.5rem; }
.tier-price { font-size: 2rem; font-weight: 700; color: var(--green); margin-bottom: 1rem; }
.tier-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.tier-card ul { list-style: none; text-align: left; margin: 1.5rem 0; }
.tier-card ul li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px solid #f0ece4; }
.donate-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem; max-width: 640px; margin: 0 auto; }
.donate-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
.amount-btn { padding: 0.75rem; border: 2px solid #e0dcd4; border-radius: 8px; background: var(--white); font-weight: 600; cursor: pointer; transition: all 0.2s; color: var(--navy); }
.amount-btn:hover, .amount-btn.selected { border-color: var(--gold); background: rgba(201,162,39,0.1); color: var(--navy); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 2px solid #e0dcd4; border-radius: 8px; font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 120px; resize: vertical; }
.tax-notice { background: rgba(45,106,79,0.08); border-left: 4px solid var(--green); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--text-muted); margin: 1.5rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-card .card-body { padding: 1.75rem; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card h3 a { color: var(--navy); text-decoration: none; }
.blog-card h3 a:hover { color: var(--green); }
.read-more { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; margin-top: 1rem; }
.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { font-family: var(--font-display); color: var(--navy); font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.article-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.article-featured-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e8e4dc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.contact-grid .donate-box { max-width: none; width: 100%; padding: 3rem 3.25rem; }
.contact-grid .form-heading { font-size: 1.85rem; margin-bottom: 1.75rem; }
.contact-grid .form-group { margin-bottom: 1.6rem; }
.contact-grid .form-group label { font-size: 1.05rem; margin-bottom: 0.55rem; }
.contact-grid .form-group input,
.contact-grid .form-group textarea,
.contact-grid .form-group select { padding: 1rem 1.2rem; font-size: 1.05rem; border-radius: 10px; }
.contact-grid .form-group textarea { min-height: 220px; }
.contact-grid .btn-primary { width: 100%; justify-content: center; padding: 1.05rem 1.5rem; font-size: 1.1rem; min-height: 56px; border-radius: 10px; }
.contact-grid .form-success { font-size: 1rem; margin-top: 1.25rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info-item h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.contact-icon { width: 48px; height: 48px; background: rgba(45,106,79,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.map-embed { width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin-top: 1.5rem; }
.map-link { display: inline-block; margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; }
.events-list { list-style: none; max-width: 720px; margin: 0 auto; }
.events-list li { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid #e8e4dc; align-items: flex-start; }
.event-date { flex-shrink: 0; width: 64px; text-align: center; background: var(--navy); color: var(--white); border-radius: 8px; padding: 0.5rem; line-height: 1.2; }
.event-date strong { display: block; font-size: 1.4rem; font-family: var(--font-display); color: var(--gold); }
.event-date span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }
.event-body h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.35rem; }
.event-body p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.donate-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.donate-method { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.donate-method h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1rem; }
.donate-method p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.scroll-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--gold); color: var(--navy); font-size: 1.25rem; font-weight: 700; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s, transform 0.2s; z-index: 90; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-2px); background: var(--gold-light); }
.form-success { margin-top: 1rem; color: var(--green); font-weight: 600; text-align: center; }
.form-heading { font-family: var(--font-display); color: var(--navy); margin-bottom: 1rem; }
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; }
.footer-ein { color: var(--gold-light); font-weight: 600; }
.cta-band { background: linear-gradient(90deg, var(--green), var(--green-light)); color: var(--white); padding: 3rem 0; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); border-color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); box-shadow: 0 8px 28px rgba(26,39,68,0.18); }
.lightbox { position: fixed; inset: 0; background: rgba(26,39,68,0.92); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(960px, 100%); max-height: 85vh; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: 2px solid var(--white); color: var(--white); width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.lightbox-close:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 900px) {
  .hero-grid, .split-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .split-grid.reverse { direction: ltr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-light); padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { display: block; padding: 0.75rem 1rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
}
