/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D5F5D;
    --secondary-color: #8B9D83;
    --accent-color: #D4A574;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --border-color: #E5E7EB;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --success-color: #10B981;
    --warning-color: #F59E0B;
}

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

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

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-color);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: var(--light-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Articles Section */
.articles {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.article-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--light-color);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag.nutrition {
    background: #DCFCE7;
    color: #16A34A;
}

.category-tag.health {
    background: #DBEAFE;
    color: #2563EB;
}

.category-tag.lifestyle {
    background: #FEF3C7;
    color: #D97706;
}

.category-tag.productivity {
    background: #E0E7FF;
    color: #6366F1;
}

.read-time {
    color: var(--text-secondary);
    font-size: 14px;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 8px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
}

.newsletter-form button {
    padding: 16px 35px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #C49464;
}

/* Footer */
.site-footer {
    background: #1F2937;
    color: #D1D5DB;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    font-size: 14px;
    color: #9CA3AF;
}

/* Article Page Styles */
.article-hero {
    background: var(--light-color);
    padding: 60px 0 40px;
}

.article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.article-info {
    display: flex;
    gap: 30px;
    align-items: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.article-body {
    padding: 60px 0;
}

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

.article-image-full {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
}

.article-body h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.article-body h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-body p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 30px;
    font-size: 17px;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body strong {
    color: var(--dark-color);
    font-weight: 600;
}

.disclaimer-box {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.disclaimer-box strong {
    color: #D97706;
    display: block;
    margin-bottom: 10px;
}

/* About Page */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.page-content {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.page-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-content ul {
    margin: 20px 0 30px 30px;
    font-size: 17px;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 12px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1F4544;
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.legal-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.legal-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 20px 0 30px 30px;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    font-weight: 600;
    color: var(--dark-color);
}

.last-updated {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

    .main-nav.active ul {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .article-title a {
        font-size: 20px;
    }
}