/* ============================================================
   Acorn Valley HOA - homepage.css
   Page-specific styles (imported after common.css)
   ============================================================ */

/* --- index.jsp --- */
:root {
--oak: #5B3A29;
--oak-light: #7A5640;
--leaf: #4A7C59;
--leaf-light: #6B9E78;
--leaf-dark: #345A3E;
--gold: #C8A951;
--gold-light: #E8D48B;
--cream: #FAF6F0;
--warm-white: #FFFDF9;
--stone: #8B8178;
--charcoal: #2C2C2C;
--text: #3A3530;
--text-light: #6B6560;
--border: #E5DDD3;
--shadow: rgba(91, 58, 41, 0.08);
--shadow-md: rgba(91, 58, 41, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
font-family: 'Inter', -apple-system, sans-serif;
color: var(--text);
background: var(--warm-white);
line-height: 1.7;
}

/* ===== HEADER & NAV ===== */
header {
background: linear-gradient(135deg, var(--oak) 0%, var(--oak-light) 100%);
color: white;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 20px var(--shadow-md);
}

.top-bar {
background: rgba(0,0,0,0.15);
padding: 6px 0;
font-size: 0.8rem;
text-align: center;
letter-spacing: 0.5px;
}

.top-bar a { color: var(--gold-light); text-decoration: none; }

nav {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
height: 70px;
}

.logo {
display: flex;
align-items: center;
gap: 14px;
text-decoration: none;
color: white;
}

.logo-icon {
width: 46px;
height: 46px;
background: var(--leaf);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text h1 {
font-family: 'Playfair Display', serif;
font-size: 1.35rem;
font-weight: 700;
line-height: 1.2;
}

.logo-text span {
font-size: 0.7rem;
opacity: 0.8;
letter-spacing: 1.5px;
text-transform: uppercase;
}

.nav-links {
display: flex;
list-style: none;
gap: 4px;
}

.nav-links a {
color: rgba(255,255,255,0.85);
text-decoration: none;
padding: 8px 16px;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.2s;
}

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

.nav-links .members-link {
background: var(--leaf);
color: white;
margin-left: 8px;
}

.nav-links .members-link:hover {
background: var(--leaf-light);
}

.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 8px;
background: none;
border: none;
}

.hamburger span {
width: 26px;
height: 2.5px;
background: white;
border-radius: 2px;
transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
background: linear-gradient(170deg, #2a4a35 0%, #3d6b4e 40%, #4a7c59 100%);
color: white;
padding: 100px 24px 80px;
text-align: center;
position: relative;
overflow: hidden;
}

.hero::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}

.hero-content {
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 1;
}

.hero-badge {
display: inline-block;
background: rgba(200,169,81,0.2);
border: 1px solid rgba(200,169,81,0.4);
color: var(--gold-light);
padding: 6px 20px;
border-radius: 30px;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
margin-bottom: 24px;
}

.hero h2 {
font-family: 'Playfair Display', serif;
font-size: 3.2rem;
font-weight: 700;
line-height: 1.15;
margin-bottom: 20px;
}

.hero p {
font-size: 1.15rem;
opacity: 0.9;
max-width: 600px;
margin: 0 auto 36px;
line-height: 1.8;
}

.hero-actions {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}

.btn {
padding: 14px 32px;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
border: none;
transition: all 0.25s;
display: inline-flex;
align-items: center;
gap: 8px;
}

.btn-primary {
background: var(--gold);
color: var(--oak);
}

.btn-primary:hover {
background: var(--gold-light);
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(200,169,81,0.3);
}

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

.btn-outline:hover {
border-color: white;
background: rgba(255,255,255,0.1);
}

.btn-green {
background: var(--leaf);
color: white;
}

.btn-green:hover {
background: var(--leaf-dark);
transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
section {
padding: 80px 24px;
}

.section-header {
text-align: center;
margin-bottom: 56px;
}

.section-header h2 {
font-family: 'Playfair Display', serif;
font-size: 2.2rem;
color: var(--oak);
margin-bottom: 12px;
}

.section-header p {
color: var(--text-light);
font-size: 1.05rem;
max-width: 600px;
margin: 0 auto;
}

.section-label {
display: inline-block;
color: var(--leaf);
font-weight: 600;
font-size: 0.8rem;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 8px;
}

.container {
max-width: 1200px;
margin: 0 auto;
}

/* ===== ABOUT / HISTORY ===== */
#about {
background: var(--cream);
}

.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}

.about-text h3 {
font-family: 'Playfair Display', serif;
font-size: 1.6rem;
color: var(--oak);
margin-bottom: 16px;
}

.about-text p {
margin-bottom: 16px;
color: var(--text);
}

.history-timeline {
background: white;
border-radius: 16px;
padding: 36px;
box-shadow: 0 4px 20px var(--shadow);
}

.history-timeline h3 {
font-family: 'Playfair Display', serif;
font-size: 1.4rem;
color: var(--oak);
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 10px;
}

.timeline-item {
display: flex;
gap: 16px;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}

.timeline-year {
background: var(--leaf);
color: white;
font-weight: 700;
font-size: 0.8rem;
padding: 4px 12px;
border-radius: 20px;
white-space: nowrap;
height: fit-content;
margin-top: 2px;
}

.timeline-text strong {
display: block;
margin-bottom: 2px;
color: var(--oak);
}

.timeline-text span {
font-size: 0.9rem;
color: var(--text-light);
}

/* ===== STATS BAR ===== */
.stats-bar {
background: var(--oak);
color: white;
padding: 40px 24px;
}

.stats-grid {
max-width: 1000px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 32px;
text-align: center;
}

.stat-item .stat-number {
font-family: 'Playfair Display', serif;
font-size: 2.4rem;
font-weight: 700;
color: var(--gold);
}

.stat-item .stat-label {
font-size: 0.85rem;
opacity: 0.8;
margin-top: 4px;
}

/* ===== BOARD SECTION ===== */
.board-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}

.board-card {
background: white;
border-radius: 16px;
padding: 32px 24px;
text-align: center;
box-shadow: 0 4px 16px var(--shadow);
transition: transform 0.2s, box-shadow 0.2s;
border: 1px solid var(--border);
}

.board-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 30px var(--shadow-md);
}

.board-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
margin: 0 auto 16px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
font-weight: 700;
color: white;
}

.board-card:nth-child(1) .board-avatar { background: linear-gradient(135deg, var(--leaf), var(--leaf-light)); }
.board-card:nth-child(2) .board-avatar { background: linear-gradient(135deg, var(--oak), var(--oak-light)); }
.board-card:nth-child(3) .board-avatar { background: linear-gradient(135deg, var(--gold), #D4B85C); }
.board-card:nth-child(4) .board-avatar { background: linear-gradient(135deg, var(--stone), #A09890); }

.board-card h4 {
font-size: 1.05rem;
color: var(--oak);
margin-bottom: 4px;
}

.board-card .role {
color: var(--leaf);
font-weight: 600;
font-size: 0.85rem;
margin-bottom: 10px;
}

.board-card .email {
color: var(--text-light);
font-size: 0.82rem;
word-break: break-all;
}

.board-card .email a {
color: var(--text-light);
text-decoration: none;
}

.board-card .email a:hover {
color: var(--leaf);
}

/* ===== WELCOME PACKAGE ===== */
#welcome {
background: var(--cream);
}

.welcome-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32px;
}

.welcome-card {
background: white;
border-radius: 16px;
padding: 32px;
box-shadow: 0 4px 16px var(--shadow);
border: 1px solid var(--border);
}

.welcome-card h3 {
font-family: 'Playfair Display', serif;
font-size: 1.3rem;
color: var(--oak);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
}

.checklist {
list-style: none;
}

.checklist li {
padding: 10px 0;
border-bottom: 1px solid var(--border);
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 0.95rem;
}

.checklist li:last-child { border-bottom: none; }

.check-icon {
width: 22px;
height: 22px;
min-width: 22px;
background: var(--leaf);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
margin-top: 2px;
}

.welcome-info p {
margin-bottom: 12px;
font-size: 0.95rem;
}

.welcome-info strong {
color: var(--oak);
}

/* ===== VENDORS / DIRECTORY ===== */
.directory-tabs {
display: flex;
gap: 8px;
justify-content: center;
margin-bottom: 40px;
flex-wrap: wrap;
}

.tab-btn {
padding: 10px 22px;
border: 2px solid var(--border);
border-radius: 30px;
background: white;
color: var(--text);
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}

.tab-btn:hover, .tab-btn.active {
border-color: var(--leaf);
background: var(--leaf);
color: white;
}

.directory-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

.vendor-card {
background: white;
border-radius: 12px;
padding: 24px;
box-shadow: 0 2px 12px var(--shadow);
border: 1px solid var(--border);
transition: transform 0.2s;
}

.vendor-card:hover {
transform: translateY(-2px);
}

.vendor-card .category-badge {
display: inline-block;
background: var(--cream);
color: var(--leaf);
font-size: 0.75rem;
font-weight: 600;
padding: 3px 12px;
border-radius: 20px;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.vendor-card h4 {
color: var(--oak);
font-size: 1rem;
margin-bottom: 6px;
}

.vendor-card p {
color: var(--text-light);
font-size: 0.88rem;
margin-bottom: 4px;
}

.vendor-card .phone {
color: var(--leaf);
font-weight: 600;
font-size: 0.9rem;
}

/* ===== CONTACT ===== */
#contact {
background: var(--cream);
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
}

.contact-form {
background: white;
border-radius: 16px;
padding: 40px;
box-shadow: 0 4px 20px var(--shadow);
}

.contact-form h3 {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
color: var(--oak);
margin-bottom: 24px;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
font-weight: 500;
margin-bottom: 6px;
color: var(--text);
font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 12px 16px;
border: 2px solid var(--border);
border-radius: 8px;
font-family: inherit;
font-size: 0.95rem;
transition: border-color 0.2s;
background: var(--warm-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--leaf);
}

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

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

.contact-info-panel h3 {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
color: var(--oak);
margin-bottom: 16px;
}

.contact-info-panel > p {
color: var(--text-light);
margin-bottom: 32px;
}

.contact-detail {
display: flex;
gap: 16px;
margin-bottom: 24px;
align-items: flex-start;
}

.contact-icon {
width: 48px;
height: 48px;
min-width: 48px;
background: white;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
box-shadow: 0 2px 10px var(--shadow);
}

.contact-detail h4 {
font-size: 0.95rem;
color: var(--oak);
margin-bottom: 2px;
}

.contact-detail p {
color: var(--text-light);
font-size: 0.9rem;
}

.contact-detail a {
color: var(--leaf);
text-decoration: none;
}

/* ===== MEMBERS SECTION ===== */
#members {
background: linear-gradient(135deg, #f7f3ed 0%, #eee8df 100%);
}

.login-container {
max-width: 480px;
margin: 0 auto;
}

.login-card {
background: white;
border-radius: 20px;
padding: 48px 40px;
box-shadow: 0 8px 40px var(--shadow-md);
text-align: center;
}

.login-card .lock-icon {
width: 64px;
height: 64px;
background: var(--leaf);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
margin: 0 auto 20px;
color: white;
}

.login-card h3 {
font-family: 'Playfair Display', serif;
font-size: 1.6rem;
color: var(--oak);
margin-bottom: 8px;
}

.login-card > p {
color: var(--text-light);
margin-bottom: 28px;
font-size: 0.95rem;
}

.login-card .form-group {
text-align: left;
}

.login-card .btn {
width: 100%;
justify-content: center;
padding: 14px;
font-size: 1rem;
}

.login-help {
margin-top: 20px;
font-size: 0.85rem;
color: var(--text-light);
}

.login-help a {
color: var(--leaf);
text-decoration: none;
font-weight: 500;
}

/* ===== MEMBERS PORTAL (hidden by default) ===== */
.members-portal {
display: none;
}

.members-portal.active {
display: block;
}

.portal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
flex-wrap: wrap;
gap: 16px;
}

.portal-header h3 {
font-family: 'Playfair Display', serif;
font-size: 1.8rem;
color: var(--oak);
}

.logout-btn {
padding: 8px 20px;
background: transparent;
border: 2px solid var(--border);
border-radius: 8px;
color: var(--text-light);
cursor: pointer;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.2s;
}

.logout-btn:hover {
border-color: #c0392b;
color: #c0392b;
}

.portal-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 48px;
}

.portal-card {
background: white;
border-radius: 16px;
padding: 28px;
box-shadow: 0 4px 16px var(--shadow);
border: 1px solid var(--border);
cursor: pointer;
transition: all 0.2s;
text-align: center;
}

.portal-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 30px var(--shadow-md);
border-color: var(--leaf);
}

.portal-card .card-icon {
width: 56px;
height: 56px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin: 0 auto 14px;
}

.portal-card:nth-child(1) .card-icon { background: #E8F5E9; }
.portal-card:nth-child(2) .card-icon { background: #FFF3E0; }
.portal-card:nth-child(3) .card-icon { background: #E3F2FD; }
.portal-card:nth-child(4) .card-icon { background: #F3E5F5; }
.portal-card:nth-child(5) .card-icon { background: #FBE9E7; }
.portal-card:nth-child(6) .card-icon { background: #E0F2F1; }

.portal-card h4 {
font-size: 1rem;
color: var(--oak);
margin-bottom: 6px;
}

.portal-card p {
font-size: 0.85rem;
color: var(--text-light);
}

.portal-section {
background: white;
border-radius: 16px;
padding: 36px;
box-shadow: 0 4px 16px var(--shadow);
margin-bottom: 24px;
}

.portal-section h4 {
font-family: 'Playfair Display', serif;
font-size: 1.3rem;
color: var(--oak);
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}

.doc-list {
list-style: none;
}

.doc-list li {
padding: 14px 16px;
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.15s;
border-radius: 8px;
}

.doc-list li:hover {
background: var(--cream);
}

.doc-list li:last-child { border-bottom: none; }

.doc-info {
display: flex;
align-items: center;
gap: 12px;
}

.doc-icon {
font-size: 1.3rem;
}

.doc-name {
font-weight: 500;
color: var(--oak);
}

.doc-date {
font-size: 0.82rem;
color: var(--text-light);
}

.doc-action {
padding: 6px 16px;
background: var(--cream);
color: var(--leaf);
border: none;
border-radius: 6px;
font-weight: 600;
font-size: 0.82rem;
cursor: pointer;
transition: all 0.2s;
}

.doc-action:hover {
background: var(--leaf);
color: white;
}

.event-list {
list-style: none;
}

.event-item {
display: flex;
gap: 20px;
padding: 18px 0;
border-bottom: 1px solid var(--border);
align-items: flex-start;
}

.event-item:last-child { border-bottom: none; }

.event-date-box {
min-width: 56px;
text-align: center;
background: var(--leaf);
color: white;
border-radius: 10px;
padding: 8px 12px;
}

.event-date-box .month {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}

.event-date-box .day {
font-size: 1.5rem;
font-weight: 700;
line-height: 1.2;
}

.event-details h5 {
color: var(--oak);
font-size: 1rem;
margin-bottom: 4px;
}

.event-details p {
font-size: 0.88rem;
color: var(--text-light);
}

/* ===== EVENTS & ANNOUNCEMENTS ===== */
#events {
background: var(--cream);
}

.events-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 24px;
}

.event-card {
background: white;
border-radius: 16px;
padding: 28px;
box-shadow: 0 4px 16px var(--shadow);
border: 1px solid var(--border);
display: flex;
gap: 20px;
transition: transform 0.2s;
}

.event-card:hover {
transform: translateY(-3px);
box-shadow: 0 6px 24px var(--shadow-md);
}

.event-date-badge {
min-width: 64px;
text-align: center;
background: var(--leaf);
color: white;
border-radius: 12px;
padding: 10px 14px;
height: fit-content;
}

.event-date-badge .month {
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}

.event-date-badge .day {
font-size: 1.6rem;
font-weight: 700;
line-height: 1.2;
}

.event-info h4 {
color: var(--oak);
font-size: 1.05rem;
margin-bottom: 6px;
}

.event-info p {
font-size: 0.9rem;
color: var(--text-light);
margin-bottom: 6px;
}

.event-meta-line {
font-size: 0.84rem;
color: var(--leaf);
font-weight: 500;
}

.announcements-list {
max-width: 800px;
margin: 0 auto;
}

.announcement-card {
background: white;
border-radius: 16px;
padding: 28px 32px;
box-shadow: 0 4px 16px var(--shadow);
border: 1px solid var(--border);
margin-bottom: 20px;
border-left: 4px solid var(--gold);
}

.announcement-card:last-child {
margin-bottom: 0;
}

.announcement-card h4 {
color: var(--oak);
font-size: 1.05rem;
margin-bottom: 4px;
}

.announcement-card .ann-date {
font-size: 0.82rem;
color: var(--leaf);
font-weight: 500;
margin-bottom: 10px;
}

.announcement-card p {
font-size: 0.93rem;
color: var(--text-light);
}

@media (max-width: 768px) {
.events-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
footer {
background: var(--charcoal);
color: rgba(255,255,255,0.7);
padding: 60px 24px 30px;
}

.footer-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 48px;
margin-bottom: 40px;
}

.footer-brand h3 {
font-family: 'Playfair Display', serif;
color: white;
font-size: 1.3rem;
margin-bottom: 12px;
}

.footer-brand p {
font-size: 0.9rem;
line-height: 1.7;
}

.footer-col h4 {
color: var(--gold);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 1.5px;
margin-bottom: 16px;
}

.footer-col a {
display: block;
color: rgba(255,255,255,0.6);
text-decoration: none;
padding: 4px 0;
font-size: 0.9rem;
transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
max-width: 1200px;
margin: 0 auto;
padding-top: 24px;
border-top: 1px solid rgba(255,255,255,0.1);
text-align: center;
font-size: 0.82rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
position: fixed;
bottom: 32px;
right: 32px;
width: 48px;
height: 48px;
background: var(--leaf);
color: white;
border: none;
border-radius: 50%;
font-size: 1.3rem;
cursor: pointer;
box-shadow: 0 4px 15px rgba(74,124,89,0.3);
opacity: 0;
visibility: hidden;
transition: all 0.3s;
z-index: 999;
}

.scroll-top.visible {
opacity: 1;
visibility: visible;
}

.scroll-top:hover {
background: var(--leaf-dark);
transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.board-grid { grid-template-columns: repeat(2, 1fr); }
.portal-grid { grid-template-columns: repeat(2, 1fr); }
.directory-grid { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

@media (max-width: 768px) {
.hamburger { display: flex; }

.nav-links {
display: none;
position: absolute;
top: 70px;
left: 0;
right: 0;
background: var(--oak);
flex-direction: column;
padding: 16px 24px;
box-shadow: 0 8px 20px var(--shadow-md);
}

.nav-links.open { display: flex; }

.nav-links .members-link { margin-left: 0; }

.hero h2 { font-size: 2.2rem; }
.hero { padding: 70px 24px 60px; }

.about-grid,
.welcome-grid,
.contact-grid { grid-template-columns: 1fr; gap: 32px; }

.board-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.directory-grid { grid-template-columns: 1fr; }
.portal-grid { grid-template-columns: 1fr; }
.form-row { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; }

/* ===== MODAL ===== */
.modal-overlay {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 2000;
align-items: center;
justify-content: center;
padding: 24px;
}

.modal-overlay.active {
display: flex;
}

.modal {
background: white;
border-radius: 20px;
max-width: 600px;
width: 100%;
max-height: 80vh;
overflow-y: auto;
padding: 40px;
position: relative;
}

.modal-close {
position: absolute;
top: 16px;
right: 16px;
width: 36px;
height: 36px;
border: none;
background: var(--cream);
border-radius: 50%;
font-size: 1.2rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-light);
transition: all 0.2s;
}

.modal-close:hover {
background: #eee;
color: var(--text);
}

.success-msg {
display: none;
background: #E8F5E9;
border: 1px solid #A5D6A7;
color: var(--leaf-dark);
padding: 16px 20px;
border-radius: 10px;
margin-top: 16px;
font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }

.animate-in {
animation: fadeInUp 0.6s ease-out forwards;
}
