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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo h1 {
    color: #059669;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #059669;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: #059669;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.icon-item span {
    font-weight: 600;
    color: #065f46;
    font-size: 0.9rem;
}

/* Blog Posts Section */
.blog-posts {
    padding: 4rem 0;
    background: #fff;
}

.blog-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #065f46;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.post-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #059669;
}

.post-icon {
    margin-bottom: 1rem;
}

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

.post-card h3 a {
    text-decoration: none;
    color: #065f46;
    transition: color 0.3s;
}

.post-card h3 a:hover {
    color: #059669;
}

.post-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-meta {
    display: inline-block;
    background: #f0fdf4;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #065f46;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #a7f3d0;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #a7f3d0;
}

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

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

.footer-section a {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #a7f3d0;
}

.footer-bottom {
    border-top: 1px solid #047857;
    padding-top: 2rem;
    text-align: center;
    color: #a7f3d0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-icons {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        padding: 1.5rem;
    }
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    color: #059669;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 20px;
    background: #fff;
    line-height: 1.8;
}

.article-content h2 {
    color: #065f46;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.article-content h3 {
    color: #047857;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #374151;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #374151;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.product-review {
    background: #f8fafc;
    border-left: 4px solid #059669;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.amazon-link {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.amazon-link:hover {
    background: #047857;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.btn {
    background: #059669;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #047857;
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 3rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 1rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 20px;
    background: #fff;
}

.page-content h2 {
    color: #065f46;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.7;
}