/* --- Bold & Colorful Theme Variables --- */
:root {
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --background-color: #F8F9FA; /* Light Grey */
    --text-color: #212529; /* Almost Black */
    --primary-color: #007BFF; /* Electric Blue */
    --secondary-color: #E0007A; /* Bright Magenta */
    --dark-accent: #0A1931; /* Dark Navy */
    --card-background: #FFFFFF;
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 12px;
}

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

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

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

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--card-background);
    border-bottom: 2px solid #E9ECEF;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-accent);
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--dark-accent);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}


/* --- Main Layout Container --- */
.container {
    max-width: var(--container-width);
    margin: 3rem auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

main.main-content {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: var(--border-radius);
}

.hero h1 {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #495057;
    max-width: 700px;
    margin: 0 auto;
}

.seo-content {
    margin-bottom: 3rem;
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
}

/* --- Blog Articles Section --- */
.blog-articles h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.article-card {
    background-color: var(--card-background);
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-card img {
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.article-card h3 {
    margin: 1.5rem 1.5rem 0.5rem;
    font-size: 1.4rem;
}

.article-card p {
    margin: 0 1.5rem 1.5rem;
    flex-grow: 1;
    color: #6C757D;
}

.read-more {
    font-weight: 700;
    font-family: var(--body-font);
    margin: 0 1.5rem 1.5rem;
    align-self: flex-start;
}

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

.sidebar .widget h3 {
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E9ECEF;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.widget-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F1F3F5;
}
.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    font-weight: 500;
    font-size: 1rem;
}

.widget-promo {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--dark-accent) 0%, #1a3a6d 100%);
    color: #fff;
    border-radius: var(--border-radius);
}

.widget-promo h4 {
    font-size: 1.25rem;
    color: #fff;
}
.widget-promo a {
    color: #fff;
    text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-accent);
    color: #fff;
    padding: 3rem 0;
    margin-top: 3rem;
    text-align: center;
}

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

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    font-size: 1rem;
}

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

.copyright {
    font-size: 0.9rem;
    color: #ADB5BD;
}

/* --- Article Page Specific Styles --- */
.full-article header {
    border-bottom: 2px solid #E9ECEF;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.full-article .article-meta {
    font-size: 0.9rem;
    color: #6C757D;
    margin-top: -1rem;
}

.full-article .article-content h2,
.full-article .article-content h3 {
    margin-top: 2.5rem;
}

.full-article .article-content ul,
.full-article .article-content ol {
    margin-left: 25px;
    margin-bottom: 1.5rem;
}

.full-article .article-content ul {
    list-style-type: none;
    padding-left: 0;
}

.full-article .article-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.full-article .article-content ul li::before {
    content: '⚡️';
    position: absolute;
    left: 0;
}

.full-article .article-content ol {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}
.full-article .article-content ol li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}
.full-article .article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
}


.cta-section {
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.cta-section h3 {
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
}

/* --- Other Pages (Offers, About, Contact) --- */
.page-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E9ECEF;
    margin-bottom: 3rem;
}

.page-content {
    background-color: var(--card-background);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.page-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.page-content ul li::before {
    content: '🛒';
    position: absolute;
    left: 0;
    top: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #CED4DA;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    background-color: #F8F9FA;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-form button {
    align-self: flex-start;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.4);
}
