:root {
    --primary-color: #6b8c42;
    --secondary-color: #d4a574;
    --accent-color: #c5e1a5;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-transparent: rgba(255, 255, 255, 0.9);
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

ul {
    list-style: none;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav a.active {
    color: var(--secondary-color);
    position: relative;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3a5a80;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.post-meta {
    padding: 1rem;
    color: var(--text-light);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--bg-light);
}

.post-meta .category {
    font-weight: 600;
    color: var(--primary-color);
}

.post-meta time {
    font-weight: 500;
}

.post-card h3 {
    font-size: 1.25rem;
    padding: 0 1rem 0.5rem;
    color: var(--text-dark);
}

.post-card a {
    display: block;
    padding: 1rem;
    color: var(--text-dark);
}

.post-card a.read-more {
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
    padding: 0 1rem 1rem;
    border-top: 1px dashed var(--text-light);
}

.read-more:hover {
    color: var(--primary-color);
}

/* Features */
.features {
    padding: 4rem 0;
    text-align: center;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    width: 100%;
    max-width: 400px;
}

.footer-section h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.footer-section a {
    color: #e2e8f0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav ul {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav ul.active {
        transform: translateY(0);
    }
    
    .nav li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-links {
        flex-direction: column;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
}

/* Avocado Theme Enhancements */
.logo a {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6b8c42 0%, #8bc34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border-radius: 20px;
    margin: 2rem 0;
    padding: 4rem 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #6b8c42 0%, #8bc34a 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(107, 140, 66, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a7a3a 0%, #7cb342 100%);
    box-shadow: 0 6px 20px rgba(107, 140, 66, 0.4);
}

.post-card {
    border-top: 4px solid #8bc34a;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.footer {
    background: linear-gradient(135deg, #33691e 0%, #558b2f 100%);
}