/* Plant Paradise Blog - Fresh Styles */

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c28;
    --light-green: #8db65c;
    --accent-green: #b8d989;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #495057;
    --leaf-shadow: rgba(45, 80, 22, 0.1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--gray-light);
}

/* COMPACT Plant Paradise Header */
.plant-paradise-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.4rem;
    margin: 0;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title:hover {
    opacity: 0.9;
    text-decoration: none;
    color: white;
}

.site-tagline {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.8;
    font-style: italic;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
}

/* Desktop Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin: 0 0.1rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section - MUCH smaller */
.hero-section {
    background: white;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-medium);
}

.hero-section h1 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.post-meta .author {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Blog Content */
.blog-post {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 2px 10px var(--leaf-shadow);
}

.lead {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.content-section {
    margin: 1.5rem 0;
}

.content-section h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-image {
    margin: 1.5rem 0;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--leaf-shadow);
}

.section-image figcaption {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-green);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-navigation.active {
        max-height: 300px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    .nav-link {
        padding: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .site-tagline {
        font-size: 0.6rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }
}

/* Additional content styles */
p { margin-bottom: 1rem; }
h2 { color: var(--primary-green); margin: 1.5rem 0 1rem; }
h3 { color: var(--secondary-green); margin: 1rem 0 0.5rem; }

ul, ol { margin: 1rem 0; padding-left: 2rem; }

/* Footer and other sections */
.conclusion {
    background: #f5f2e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.cta-box {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid var(--light-green);
}

.related-posts {
    margin: 2rem 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px var(--leaf-shadow);
}

.related-post-card a {
    color: var(--primary-green);
    text-decoration: none;
}

.newsletter-signup {
    margin: 2rem 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--accent-green), var(--light-green));
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 1rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.site-footer {
    background: #3e2f1f;
    color: #f5f2e8;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.25rem;
}

.footer-section a {
    color: #f5f2e8;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid #6b4423;
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-medium);
}

.footer-bottom a {
    color: var(--accent-green);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--light-green);
    z-index: 1001;
    transition: width 0.2s;
}

/* Homepage Styles */
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-top: 0.5rem;
    font-weight: normal;
}

.featured-articles {
    margin: 3rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.card-content h3 a {
    color: var(--primary-green);
    text-decoration: none;
}

.card-content h3 a:hover {
    color: var(--secondary-green);
}

.card-content p {
    color: var(--gray-dark);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.read-time {
    color: var(--gray-dark);
    font-size: 0.8rem;
    font-style: italic;
}

.categories {
    margin: 4rem 0;
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-green);
}

.category-card h3 {
    color: var(--primary-green);
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.category-card p {
    color: var(--gray-dark);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-card li {
    margin: 0.3rem 0;
}

.category-card a {
    color: var(--secondary-green);
    text-decoration: none;
    font-size: 0.9rem;
}

.category-card a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Mobile responsiveness for homepage */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .article-card img {
        height: 180px;
    }
}