/* ===== Variables ===== */
:root {
    --primary: #2b5e3f;
    --primary-dark: #1d4229;
    --primary-light: #3a7d54;
    --accent: #c8a951;
    --accent-light: #e0c96e;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --bg: #fafaf7;
    --white: #ffffff;
    --border: #e8e5df;
    --shadow: rgba(43, 94, 63, 0.08);
    --font-main: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --max-width: 1100px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header / Nav ===== */
.site-logo img {
    width: 48px;
    height: auto;
    border-radius: 8px;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px var(--shadow);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-text .org-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.site-logo-text .org-tagline {
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary);
    color: var(--white);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 50%,
        var(--primary-light) 100%
    );
    color: var(--white);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero .badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-1px);
}

/* ===== Sections ===== */
.section {
    padding: 72px 24px;
}

.section-alt {
    background: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

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

.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

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

.section-alt .card {
    background: var(--bg);
}

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

.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

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

/* ===== Content Sections ===== */
.content-block {
    max-width: 820px;
    margin: 0 auto;
}

.content-block h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    margin-top: 48px;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 32px;
}

.content-block p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1rem;
}

.content-block ul,
.content-block ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-block li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.highlight-box {
    background: linear-gradient(
        135deg,
        rgba(43, 94, 63, 0.06),
        rgba(43, 94, 63, 0.02)
    );
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.highlight-box p {
    color: var(--text);
    margin-bottom: 0;
}

/* ===== About Page Specifics ===== */
.about-hero {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 100%
    );
    color: var(--white);
    padding: 64px 24px;
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.about-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border);
}

.info-card .number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.info-card .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Board Page Specifics ===== */
.board-section {
    margin-bottom: 48px;
}

.board-section-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-left: 4px;
}

.board-officers-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.board-members-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.board-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--shadow);
}

/* Featured (President) card */
.board-card--featured {
    border-color: var(--accent);
    background: linear-gradient(
        to bottom,
        var(--white),
        rgba(200, 169, 81, 0.04)
    );
}

.board-card--featured .board-avatar {
    width: 96px;
    height: 96px;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(43, 94, 63, 0.18);
}

.board-card--featured h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.board-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
}

.board-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.board-card .role {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

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

/* ===== Documents Page Specifics ===== */
.bylaw-article {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border);
}

.bylaw-article h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.bylaw-article p {
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ===== Contact Page Specifics ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-card a.email-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 12px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contact-card a.email-link:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 24px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

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

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 16px var(--shadow);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 8px 0;
    }

    .main-nav a {
        padding: 12px 24px;
    }

    .hero {
        padding: 48px 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 48px 16px;
    }

    .board-grid,
    .board-officers-row,
    .board-members-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-links {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Utility ===== */
.text-center {
    text-align: center;
}

.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}
