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

:root {
    --bg: #f5f0e8;
    --bg-dark: #1a2e1a;
    --bg-card: #ffffff;
    --accent: #2d5a27;
    --accent-light: #4a8c3f;
    --accent-gold: #c9a84c;
    --accent-blue: #2a6496;
    --text: #2c2c2c;
    --text-light: #666;
    --text-white: #f5f0e8;
    --border: #ddd;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* NAV */
nav {
    background: var(--bg-dark);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-logo {
    color: var(--accent-gold);
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 16px 0;
}
.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
}
.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.88em;
    transition: background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.1);
    color: var(--accent-gold);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5em;
    cursor: pointer;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(26,46,26,0.7), rgba(26,46,26,0.8)),
        url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?w=1920&q=80') center/cover;
    color: white;
    text-align: center;
    padding: 100px 24px 80px;
}
.hero h1 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 3em;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 32px;
    opacity: 0.95;
}
.hero-btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.hero-btn:hover { background: #d4b35a; }

.hero-sub {
    padding: 60px 24px 50px;
    background: linear-gradient(rgba(26,46,26,0.75), rgba(26,46,26,0.85)),
        url('https://images.unsplash.com/photo-1523987355523-c7b5b0dd90a7?w=1920&q=80') center/cover;
    color: white;
    text-align: center;
}
.hero-sub h1 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 2.4em;
    margin-bottom: 12px;
}
.hero-sub p {
    font-size: 1.15em;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
}

/* SECTIONS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: 60px 0;
}
section:nth-child(even) {
    background: #eee8d9;
}
section h2 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 2em;
    color: var(--accent);
    margin-bottom: 24px;
    text-align: center;
}
section h3 {
    font-size: 1.3em;
    color: var(--accent);
    margin: 24px 0 12px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
}
.card h3 {
    color: var(--accent);
    margin: 0 0 12px;
    font-size: 1.2em;
}
.card p { color: var(--text-light); }
.card ul {
    list-style: none;
    margin-top: 12px;
}
.card ul li {
    padding: 4px 0;
    color: var(--text);
}
.card ul li::before {
    content: '✓ ';
    color: var(--accent-light);
    font-weight: bold;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.feature {
    text-align: center;
    padding: 24px;
}
.feature-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}
.feature h3 {
    margin-bottom: 8px;
    text-align: center;
}
.feature p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
th {
    background: var(--accent);
    color: white;
    font-weight: 600;
}
tr:hover { background: rgba(45,90,39,0.04); }

/* CTA */
.cta {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 50px 24px;
}
.cta h2 {
    color: var(--accent-gold);
    margin-bottom: 16px;
}
.cta p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 24px;
}
.cta-btn {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    margin: 0 8px;
}
.cta-btn:hover { background: #d4b35a; }
.cta-btn.outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}
.cta-btn.outline:hover { background: var(--accent-gold); color: var(--bg-dark); }

/* EVENTS */
.event-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-gold);
}
.event-card h3 {
    color: var(--accent);
    margin: 0 0 8px;
}
.event-card .date {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95em;
}
.event-card p { margin-top: 8px; color: var(--text-light); }

/* BLOG */
.blog-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.blog-card-body {
    padding: 24px;
}
.blog-card h3 { margin: 0 0 8px; }
.blog-card h3 a {
    color: var(--accent);
    text-decoration: none;
}
.blog-card h3 a:hover { color: var(--accent-light); }
.blog-card p { color: var(--text-light); font-size: 0.95em; }
.blog-card .meta {
    font-size: 0.82em;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* FOOTER */
footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 40px 24px;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
footer h3 {
    color: var(--accent-gold);
    font-size: 1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
footer p, footer a {
    color: rgba(245,240,232,0.8);
    font-size: 0.92em;
    line-height: 1.8;
}
footer a { text-decoration: none; display: block; }
footer a:hover { color: var(--accent-gold); }
.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(245,240,232,0.5);
    font-size: 0.82em;
}

/* DEMO BANNER */
.demo-banner {
    background: var(--accent-gold);
    color: var(--bg-dark);
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2em; }
    .hero { padding: 60px 16px 50px; }
    .hero-sub h1 { font-size: 1.8em; }
    nav { flex-wrap: wrap; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 8px 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 14px; }
    section { padding: 40px 0; }
    section h2 { font-size: 1.6em; }
    .card-grid { grid-template-columns: 1fr; }
    table { font-size: 0.9em; }
    th, td { padding: 8px 10px; }
}

/* CONTENT PAGES */
.content-section {
    padding: 50px 0;
}
.content-section .container > p,
.content-section .container > ul {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.content-section ul {
    margin: 16px 0;
    padding-left: 24px;
}
.content-section li {
    padding: 4px 0;
}
.content-section p {
    margin: 12px 0;
    color: var(--text);
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; }
}
