:root {
    --primary-color: #4CAF50; /* Calming Green */
    --secondary-color: #66BB6A; /* Lighter Green for hover */
    --background-color: #fdfdfd; /* Off-white */
    --surface-color: #ffffff; /* Pure White for cards */
    --text-primary: #333333; /* Dark Grey */
    --text-secondary: #666666; /* Medium Grey */
    --border-color: #e0e0e0;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --container-width: 1100px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

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

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Header */
.site-header {
    background-color: var(--surface-color);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}
.site-header .logo a:hover {
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* Page Wrapper & Layout */
.page-wrapper {
    padding: 3rem 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .page-wrapper {
        grid-template-columns: 3fr 1fr;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}
.hero h1 {
    color: var(--text-primary);
}
.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card {
    background-color: var(--surface-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.article-card p {
    flex-grow: 1;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar .widget {
    background-color: var(--surface-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.sidebar .widget h3 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget ul li {
    margin-bottom: 0.75rem;
}
.sidebar .widget ul li a {
    text-decoration: none;
}


/* Footer */
.site-footer {
    background-color: var(--text-primary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
}

.site-footer p {
    margin: 0;
    color: #a0a0a0;
}

.site-footer .footer-nav {
    margin-bottom: 1rem;
}
.site-footer .footer-nav a {
    color: #f0f0f0;
    margin: 0 10px;
    text-decoration: none;
}
.site-footer .footer-nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Article Page Specifics */
.article-full .article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.article-full .article-header h1 {
    font-size: 3rem;
}

.article-full .article-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.article-full .article-content {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.article-full .article-content h2 { margin-top: 2rem; }
.article-full .article-content h3 { margin-top: 1.5rem; }

.article-full .article-content ul, .article-full .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.article-full .article-content ul li {
    padding-left: 0.5rem;
}

.article-full .cta-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    text-align: center;
    border-radius: 8px;
}
.article-full .cta-box h3 {
    color: var(--primary-color);
}

/* Sub-page Specifics (About, Contact, Offers) */
.page-content {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.page-content .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.page-content .articles-grid .article-card a {
    text-decoration: none;
}
.page-content .articles-grid .article-card h2 {
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
}
.page-content .articles-grid .article-card:hover h2 {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-primary);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Responsive Menu */
@media (max-width: 768px) {
    h1, .article-full .article-header h1 { font-size: 2rem; }
    
    .site-header .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page-wrapper {
        padding: 1.5rem 20px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
