/* ============================================================
   Template 4: Nature — Earthy / Organic
   Colors: Cream #FAFAF2, Forest Green #2A5F2A, Earth Brown #8B5E3C, Sage #9DC08B
   Fonts: Merriweather (headings) + Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --cream:       #FAFAF2;
    --cream-dark:  #f0f0e4;
    --green:       #2A5F2A;
    --green-mid:   #3a7d3a;
    --green-light: #d4edda;
    --green-xlight:#eef7f0;
    --sage:        #9DC08B;
    --sage-light:  #c8e0bc;
    --brown:       #8B5E3C;
    --brown-dark:  #6e4a2e;
    --brown-light: #f5ede4;
    --dark:        #2c2c1e;
    --mid:         #6b6350;
    --border:      #d8d4c4;
    --white:       #ffffff;
    --shadow:      0 2px 8px rgba(42,95,42,.06), 0 6px 20px rgba(0,0,0,.04);
}

* { box-sizing: border-box; }

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--cream);
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* ── Navbar ── */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background .35s ease, box-shadow .35s ease;
    background: transparent;
}

#mainNav.scrolled {
    background: var(--cream);
    box-shadow: 0 2px 0 var(--border), 0 4px 20px rgba(42,95,42,.06);
}

.navbar-brand-nature {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    transition: color .3s;
    line-height: 1.25;
}

#mainNav.scrolled .navbar-brand-nature { color: #ffffff; }

.brand-leaf {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 50% 50% 50% 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: background .3s;
}

#mainNav.scrolled .brand-leaf { background: var(--green-light); }

.brand-leaf img { width: 100%; height: 100%; object-fit: contain; }
.brand-leaf .material-icons-round { color: var(--white); font-size: 1.3rem; transition: color .3s; }
#mainNav.scrolled .brand-leaf .material-icons-round { color: var(--green); }

.nav-link-nature {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    padding: .45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: color .2s, background .2s;
    letter-spacing: .02em;
}

#mainNav.scrolled .nav-link-nature { color: #ffffff; }
.nav-link-nature:hover { color: var(--white); background: rgba(255,255,255,.12); }
#mainNav.scrolled .nav-link-nature:hover { color: var(--green); background: var(--green-xlight); }

.btn-nav-nature {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--green);
    color: var(--white) !important;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: .85rem;
    letter-spacing: .04em;
    padding: .5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
    margin-left: .5rem;
}

.btn-nav-nature:hover { background: var(--green-mid); }

.mobile-toggler-nature {
    border: none;
    background: rgba(255,255,255,.12);
    border-radius: 8px;
    padding: .4rem .6rem;
    cursor: pointer;
    transition: background .2s;
}

#mainNav.scrolled .mobile-toggler-nature { background: var(--border); }

/* ── Hero ── */
.hero {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Set hero-bg.jpg in assets/ to customize */
    /*
    background-image: url('https://s3.us-east-2.wasabisys.com/files.hoabooster.com/accounts/019cd5a5-9a87-7a87-8766-cc73c58b205c/website/assets/images/entrance.avif');
    background-size: contain;
    background-position: top center;
    */
    background-color: var(--green);
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(135deg, rgba(42,95,42,.85) 0%, rgba(42,95,42,.6) 50%, rgba(139,94,60,.5) 100%); */
}

/* Organic wave bottom */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg { display: block; width: 100%; }

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 2rem 1rem 10rem;
}

.hero-sprout {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(157,192,139,.25);
    border: 1.5px solid rgba(157,192,139,.5);
    border-radius: 100px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(2.0rem, 3.0vw, 3.5rem);
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 1.1rem;
    color: var(--white);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    max-width: 520px;
    margin: 0 0 2.25rem;
    line-height: 1.75;
    font-weight: 300;
}

.btn-hero-nature {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--sage);
    color: var(--dark);
    font-weight: 900;
    font-size: .95rem;
    padding: .85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    letter-spacing: .02em;
}

.btn-hero-nature:hover {
    background: var(--sage-light);
    color: var(--green);
    transform: translateY(-2px);
}

.btn-hero-outline-nature {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: rgba(255,255,255,.85);
    font-weight: 700;
    font-size: .95rem;
    padding: .85rem 2rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,.35);
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
    margin-left: .75rem;
}

.btn-hero-outline-nature:hover {
    border-color: var(--sage);
    color: var(--sage);
    background: rgba(157,192,139,.1);
}

/* ── Section Dividers (organic clip-path shapes) ── */
.section-clip-top {
    background: var(--cream);
    clip-path: ellipse(80% 60% at 50% 100%);
    height: 80px;
    margin-bottom: -4px;
}

.section-clip-bottom {
    background: var(--cream);
    clip-path: ellipse(80% 60% at 50% 0%);
    height: 80px;
    margin-top: -4px;
}

/* ── Sections ── */
.section { padding: 5rem 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Lato', sans-serif;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .5rem;
}

.section-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 .5rem;
    line-height: 1.28;
}

.section-title-light { color: var(--white); }

.section-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    color: var(--mid);
    margin: 0 0 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.nature-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.nature-divider-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: var(--border);
}

.nature-divider-icon {
    color: var(--sage);
    font-size: 1.3rem;
}

/* ── Announcement Cards ── */
.announcement-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--green);
    padding: 1.6rem 1.75rem;
    margin-bottom: 1.25rem;
    transition: box-shadow .2s, transform .2s;
    position: relative;
}

.announcement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(to right, rgba(157,192,139,.05), transparent);
    pointer-events: none;
}

.announcement-card:hover {
    box-shadow: 0 6px 28px rgba(42,95,42,.12);
    transform: translateX(3px);
}

.announcement-card-date {
    font-size: .78rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: .05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .5rem;
}

.announcement-card-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 .65rem;
}

.announcement-card-body {
    font-size: 1.5rem;
    color: var(--mid);
    line-height: 1.7;
    font-weight: 300;
}

.announcement-full {
    display: none;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px dashed var(--border);
    font-size: .92rem;
    line-height: 1.7;
    color: var(--dark);
}

.btn-read-more {
    background: none;
    border: none;
    font-family: 'Lato', sans-serif;
    color: var(--green);
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    padding: .4rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    letter-spacing: .03em;
    transition: color .2s;
}

.btn-read-more:hover { color: var(--green-mid); }

/* ── Events ── */
.event-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    transition: box-shadow .2s, transform .2s;
}

.event-card:hover {
    box-shadow: 0 6px 28px rgba(42,95,42,.1);
    transform: translateY(-2px);
}

.event-date-badge {
    background: var(--brown);
    min-width: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem .75rem;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.event-date-badge::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: var(--sage);
    border-radius: 2px;
}

.event-date-badge .month {
    font-family: 'Lato', sans-serif;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    line-height: 1;
    margin-bottom: .15rem;
}

.event-date-badge .day {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-date-badge .year {
    font-family: 'Lato', sans-serif;
    font-size: .65rem;
    color: rgba(255,255,255,.5);
    margin-top: .1rem;
}

.event-body {
    padding: 1.2rem 1.5rem;
    flex: 1;
}

.event-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 .4rem;
}

.event-meta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--brown);
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .55rem;
    align-items: center;
    letter-spacing: .02em;
}

.event-desc {
    font-size: .88rem;
    color: var(--mid);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Documents ── */
.document-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: .9rem;
    text-decoration: none;
    color: var(--dark);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.document-item:hover {
    box-shadow: 0 6px 24px rgba(42,95,42,.1);
    border-color: var(--sage);
    transform: translateX(3px);
    color: var(--dark);
}

.document-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
    font-size: 1.25rem;
}

.document-info { flex: 1; min-width: 0; }

.document-name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-desc {
    font-size: .82rem;
    color: var(--mid);
    margin: .1rem 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
}

.document-dl {
    color: var(--green);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* ── Empty States ── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--mid);
}

.empty-state .empty-icon {
    font-size: 2.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 1rem;
}

.empty-state p { font-size: .95rem; margin: 0; font-weight: 300; }

/* ── CTA ── */
.cta-section {
    background: var(--green);
    padding: 5.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Leaf pattern overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(157,192,139,.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(42,95,42,.3) 0%, transparent 50%);
}

.cta-section h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 .75rem;
    position: relative;
}

.cta-section p {
    font-size: 1.02rem;
    color: rgba(255,255,255,.75);
    margin: 0 0 2rem;
    font-weight: 300;
    position: relative;
}

.btn-cta-nature {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--white);
    color: var(--green);
    font-weight: 900;
    font-size: .95rem;
    padding: .9rem 2.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    position: relative;
    letter-spacing: .02em;
}

.btn-cta-nature:hover {
    background: var(--sage-light);
    color: var(--green);
    transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.6);
    padding: 4rem 0 2rem;
    font-family: 'Lato', sans-serif;
}

.footer-brand-nature {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
    text-decoration: none;
    line-height: 1.25;
}

.footer-leaf-icon {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50% 50% 50% 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-leaf-icon .material-icons-round { color: var(--white); font-size: 1rem; }

.footer-sage-line {
    width: 36px;
    height: 2px;
    background: var(--sage);
    margin: .5rem 0 .85rem;
}

.footer-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.45);
    line-height: 1.65;
    max-width: 260px;
    font-weight: 300;
}

.footer-heading {
    font-family: 'Lato', sans-serif;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 400;
    transition: color .2s;
}
.footer-links a:hover { color: var(--sage); }

.footer-social { display: flex; gap: .6rem; margin-top: .75rem; }
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--green); color: var(--white); }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(157,192,139,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .82rem;
    color: rgba(255,255,255,.3);
    font-weight: 400;
}

.footer-legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal-links a {
    color: rgba(255,255,255,.3);
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
}
.footer-legal-links a:hover { color: var(--sage); }

.legal-modal-body { max-height: 65vh; overflow-y: auto; font-size: .9rem; line-height: 1.75; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--cream);
        padding: 1.25rem;
        border-radius: 12px;
        margin-top: .75rem;
        box-shadow: 0 8px 32px rgba(42,95,42,.12);
    }
    #mainNav .nav-link-nature { color: var(--dark) !important; }
    #mainNav .nav-link-nature:hover { color: var(--green) !important; }
}

@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }
    .hero { min-height: auto; padding: 7rem 0 5rem; }
    .event-card { flex-direction: column; }
    .event-date-badge { flex-direction: row; gap: .75rem; padding: .75rem 1.25rem; min-width: auto; }
    .event-date-badge::after { display: none; }
    .event-date-badge .day { font-size: 1.6rem; }
    .btn-hero-outline-nature { margin-left: 0; margin-top: .75rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
