:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --yellow: #fdd835;
    --dark: #222;
    --text: #333;
    --bg: #f8f9fa;
    --border: #e0e0e0;
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; padding-top: 20px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Buttons */
.btn {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 10px 22px; border-radius: var(--radius); font-weight: 600;
    transition: background .2s;
}
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: #fbc02d; color: var(--dark); }
.center { text-align: center; margin-top: 30px; }

/* Header */
.top-bar { background: var(--primary); color: #fff; padding: 6px 0; font-size: .85rem; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-contact a { color: #fff; margin-left: 15px; }

.main-nav { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--primary); font-size: 1.3rem; }
.logo img { height: 45px; }

.nav-menu { list-style: none; display: flex; gap: 4px; }
.nav-menu a { padding: 10px 14px; color: var(--text); font-weight: 600; font-size: .95rem; border-radius: 6px; }
.nav-menu a:hover, .nav-menu li.active a { background: var(--primary); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* Hero Slider */
.hero-slider { position: relative; height: 500px; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.slide-content { position: relative; z-index: 3; color: #fff; max-width: 700px; }
.slide-content h1 { font-size: 2.6rem; margin-bottom: 16px; }
.slide-content p { font-size: 1.15rem; margin-bottom: 24px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.dot.active { background: #fff; }

/* Sections */
.section { padding: 60px 0; }
.section h2 { color: var(--primary-dark); margin-bottom: 20px; font-size: 1.9rem; }
.section h3.subtitle { color: var(--primary); margin-bottom: 20px; }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* Cards */
.announcement-card, .project-card, .news-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s;
}
.project-card:hover, .news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.project-card a { color: inherit; }
.project-card img, .news-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.project-body, .news-body { padding: 20px; }
.link-more { color: var(--primary); font-weight: 600; display: inline-block; margin-top: 12px; }

.announcement-card { padding: 24px; border-top: 5px solid var(--primary); }
.announcement-card h3 { color: var(--primary); margin-bottom: 6px; }
.announcement-card h4 { color: var(--dark); margin-bottom: 12px; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; }

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; padding: 70px 0; text-align: center;
    background-size: cover; background-position: center;
}
.page-hero h1 { font-size: 2.4rem; }

/* Accordion */
.accordion details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 14px 18px; }
.accordion summary { cursor: pointer; font-weight: 600; color: var(--primary-dark); }
.accordion ol, .accordion ul { margin: 12px 0 0 24px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 10px; border: 1px solid var(--border);
    border-radius: 6px; font-size: 1rem; font-family: inherit; margin-top: 6px;
}

.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; color: var(--primary-dark); border-left: 4px solid var(--primary); }
.alert-error { background: #ffebee; color: #c62828; border-left: 4px solid #c62828; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* Downloads */
.downloads-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.download-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: #fff; border-left: 4px solid var(--primary); border-radius: 6px; }

/* Footer */
.site-footer { background: #1a1a1a; color: #bbb; padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; margin-bottom: 14px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: var(--primary-light); }
.copyright { background: #111; padding: 16px 0; text-align: center; font-size: .85rem; }
.copyright a { color: #999; }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 10px; box-shadow: 0 4px 8px rgba(0,0,0,.1); }
    .nav-menu.open { display: flex; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 380px; }
    .slide-content h1 { font-size: 1.8rem; }
}

/* Gallery filters */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; justify-content: center; }
.filter-btn {
    padding: 8px 18px; border-radius: 20px; background: #fff;
    border: 1px solid var(--border); color: var(--text);
    font-weight: 600; font-size: .9rem; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Gallery items */
.gallery-item { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.gallery-item img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff; padding: 30px 12px 10px; font-size: .85rem;
}

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.92); z-index: 9999;
    align-items: center; justify-content: center; cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 4px; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 2.5rem; line-height: 1;
}

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; color: #888; }

/* Downloads */
.downloads-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.download-item {
    display: flex; align-items: center; gap: 20px;
    background: #fff; padding: 18px 22px;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}
.download-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.download-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: .7rem; font-weight: 700;
    color: #fff; background: #666; letter-spacing: .5px;
}
.download-icon.pdf { background: #e53935; }
.download-icon.doc, .download-icon.docx { background: #1565c0; }
.download-icon.xls, .download-icon.xlsx { background: #2e7d32; }
.download-icon.zip { background: #6a1b9a; }
.download-info { flex: 1; min-width: 0; }
.download-info h4 { margin-bottom: 4px; color: var(--primary-dark); }
.download-info p { font-size: .9rem; color: #666; margin-bottom: 4px; }
.download-meta { color: #888; font-size: .8rem; }
.download-btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 600px) {
    .download-item { flex-direction: column; align-items: flex-start; }
    .download-btn { width: 100%; text-align: center; }
}

/* ---- News / Blog cards ---- */
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card a { color: inherit; }
.news-card-placeholder { aspect-ratio: 16/10; background: #e8e8e8; }
.news-date { color: #888; font-size: .82rem; }
.news-category { color: var(--primary); font-weight: 600; }
.news-body h3 { font-size: 1.15rem; margin: 8px 0; line-height: 1.3; }
.news-body h3 a { color: var(--primary-dark); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { color: #555; font-size: .92rem; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 6px;
    border: 1px solid var(--border); background: #fff;
    color: var(--text); font-weight: 600; font-size: .9rem;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Single post ---- */
.single-post-container { max-width: 860px; margin: 0 auto; padding-top: 30px; }
.breadcrumb { font-size: .88rem; color: #888; margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

.post-featured { margin: 0 0 30px; border-radius: 10px; overflow: hidden; }
.post-featured img { width: 100%; max-height: 480px; object-fit: cover; }

.post-content { font-size: 1.05rem; line-height: 1.75; color: #333; }
.post-content p { margin-bottom: 18px; }
.post-content h2, .post-content h3, .post-content h4 {
    color: var(--primary-dark);
    margin: 28px 0 12px;
}
.post-content ul, .post-content ol { margin: 0 0 18px 26px; }
.post-content img { border-radius: 8px; margin: 18px 0; }
.post-content blockquote {
    border-left: 4px solid var(--primary); margin: 20px 0;
    padding: 10px 20px; background: #f3f8f3; color: #555; font-style: italic;
}
.post-content a { color: var(--primary); text-decoration: underline; }

.post-meta { opacity: .85; font-size: .95rem; margin-top: 8px; }

.post-share {
    margin: 40px 0 20px; padding: 18px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.post-share a {
    padding: 6px 12px; border-radius: 5px;
    background: #f0f0f0; color: #444; font-size: .88rem; font-weight: 600;
}
.post-share a:hover { background: var(--primary); color: #fff; }

.post-back { text-align: center; margin: 30px 0 40px; }
.related-posts { margin-top: 60px; }
.related-posts h2 { color: var(--primary-dark); margin-bottom: 20px; }

.album-card { display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; color: inherit; }
.album-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.album-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-cover--placeholder { background: #e8e8e8; display: flex; align-items: center; justify-content: center; color: #999; }
.album-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: .75rem; }
.album-body { padding: 16px; }
.album-category { color: #2e7d32; font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .5px; }
.album-body h3 { margin: 6px 0 8px; font-size: 1.1rem; color: #1b5e20; }
.album-body p { font-size: .9rem; color: #555; margin-bottom: 8px; }
.album-meta { color: #888; font-size: .8rem; }