/* Base Styles */
:root {
    --primary-color: #2B4EFF;
    --secondary-color: #FF6B52;
    --text-color: #1D1D1D;
    --text-light: #6B6B6B;
    --bg-color: #fff;
    --bg-light: #F5F5F5;
    --header-height: 80px;
    --section-spacing: 6rem;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.header {
    background: var(--bg-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 2.4rem;
    font-weight: 700;
    color: #66BB6A;
    margin-left: 1rem;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

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

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav ul li span {
    color: var(--text-color);
    opacity: 0.7;
    padding: 0.5rem 1rem;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background: url('images/background.jpg') center/cover no-repeat;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #66BB6A;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2.5rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--section-spacing) 0;
}

.card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #66BB6A;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card .read-more:hover {
    color: #558b2f;
}

/* Article Styles */
.article-content {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: var(--section-spacing);
    background-color: var(--bg-light);
}

.article-content .container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 1.5rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: var(--primary-color);
}

.article-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-color);
    border-left: 4px solid #66BB6A;
    padding-left: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    list-style-type: none;
    padding-left: 0;
}

.article-body li:before {
    display: none;
}

.blog-header p {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #fff;
    max-width: 800px;
    margin: 1rem auto;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-email {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--text-light);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav ul {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav.active ul {
        display: flex;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.6s ease forwards;
}
