/* ---
Theme: PureLine (Minimalist Clean)
Font: Inter (Sans-Serif)
--- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --primary-color: #005A9C; /* Professional Blue */
    --accent-color: #007BFF; /* Brighter Blue */
    --background-color: #FFFFFF; /* Pure White */
    --surface-color: #F9F9F9; /* Very Light Gray */
    --text-color: #222222; /* Dark Gray / Black */
    --text-muted-color: #6c757d; /* Muted Gray */
    --border-color: #E0E0E0; /* Light Gray Border */
    --font-family-body: 'Inter', sans-serif;
    --transition-speed: 0.2s ease;
    --border-radius: 4px;
}

/* --- General Resets & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

li {
    margin-bottom: 0.75rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--background-color);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
}
.site-title:hover {
    text-decoration: none;
    color: var(--accent-color);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}

.main-nav a {
    text-decoration: none;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 700;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-speed), border-color var(--transition-speed);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-decoration: none;
}

/* --- Main Content Layout --- */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

@media (min-width: 992px) {
    .main-layout {
        grid-template-columns: 2.5fr 1fr;
    }
}

/* --- Intro Section (Homepage) --- */
.intro-section {
    padding: 2.5rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.intro-section h1 {
    font-size: 3rem;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 750px;
    margin: 1rem auto 0;
    color: var(--text-muted-color);
}

/* --- Blog Articles Section --- */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.article-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow var(--transition-speed);
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article-card-content {
    padding: 1.75rem;
}

.article-card h3 a {
    text-decoration: none;
    color: var(--text-color);
}

.article-card h3 a:hover {
    color: var(--accent-color);
    text-decoration: none;
}


.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}

/* --- Single Article Page --- */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.article-header h1 {
    font-size: 2.5rem;
}
.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

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

.widget-title {
    font-size: 1.25rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.widget ul li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

.widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
    text-decoration: none;
}

/* --- Call to Action --- */
.cta-section {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
    border-radius: var(--border-radius);
}

.cta-section .read-more-link {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}
.cta-section .read-more-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}


/* --- Contact Form --- */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family-body);
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form button {
    cursor: pointer;
    border: none;
    font-weight: 700;
    font-family: var(--font-family-body);
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed);
}
.contact-form button:hover {
    background-color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    padding: 3rem 0;
    margin-top: 2rem;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
}

.site-footer .container {
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-muted-color);
    text-decoration: none;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 1rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1.25rem;
    }
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    h1 { font-size: 2.2rem; }
    .intro-section h1 { font-size: 2.5rem; }
    h2 { font-size: 1.7rem; }
    .intro-section { padding: 2rem 0;}
}
