/* --- General Setup & Variables --- */
:root {
    --primary-color: #00a8ff; /* Bright, summery blue */
    --secondary-color: #007bb5; /* A deeper blue for text/headers */
    --accent-color: #ffc107; /* Sunny yellow for accents and CTAs */
    --text-color: #333333;
    --light-bg-color: #f0f8ff; /* Alice Blue - a very light, airy blue */
    --border-color: #e0e0e0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    --container-width: 1100px;
    --shadow: 0 4px 8px rgba(0,0,0,0.08);
    --border-radius: 8px;
}

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

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2rem;
}

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

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

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

li {
    margin-bottom: 0.6rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--accent-color);
    transition: width .3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
    left: 0;
    background: var(--accent-color);
}
.main-nav a:hover, .main-nav a.active {
    text-decoration: none;
    color: var(--primary-color);
}


/* --- Main Content Layout --- */
.main-content {
    padding: 50px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.intro-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Articles List (Homepage) --- */
.articles-list {
    display: grid;
    gap: 30px;
}

.article-summary {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-summary:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-summary h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* --- Full Article & Page Content --- */
.full-article, .page-content {
    background-color: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.article-header h1 {
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
}

/* --- Sidebar --- */
.sidebar .widget {
    background-color: var(--light-bg-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.widget-title {
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    font-weight: 600;
}

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

.sidebar ul li a {
    display: block;
    padding: 10px 5px;
    border-bottom: 1px solid #d8eaf7;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.sidebar ul li a:hover {
    background-color: #e1f1ff;
    padding-left: 15px;
    text-decoration: none;
}

.sidebar ul li:last-child a {
    border-bottom: none;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

.site-footer p {
    margin: 15px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.site-footer a {
    color: #ffffff;
    margin: 0 15px;
    font-weight: 600;
}

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

/* --- Buttons & CTAs --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-section {
    background-color: var(--accent-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 2.5rem 0;
}

.cta-section h2 {
    color: var(--secondary-color);
}

.cta-section p {
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-section .btn:hover {
    background-color: var(--secondary-color);
}

/* --- Specific Page Styles --- */
.offer-list li, .contact-info p {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.offer-list li:last-child {
    border-bottom: none;
}
.contact-info a {
    font-weight: 700;
}

/* --- Responsive Design --- */
@media (max-width: 767px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }
    
    .main-nav a {
      font-size: 1rem;
    }

    .hero {
        padding: 30px 20px;
    }
    .hero h1 { font-size: 2.5rem; }

    .full-article, .page-content {
        padding: 20px;
    }
}