/* Blog Page Styles */

.blog-hero {
    background: linear-gradient(135deg, #faf7f0 0%, #f8f1e4 100%);
    padding: 6rem 0 4rem 0;
    margin-top: 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    color: #2b2006;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #5a4c3a;
    max-width: 600px;
    margin: 0 auto;
}

.blog-content {
    padding: 4rem 0;
}

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

.blog-post-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(233,207,117,0.2);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f1e4 0%, #e9cf75 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2006;
    font-size: 1.1rem;
    font-weight: 500;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-date {
    color: #88b497;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-post-title {
    font-size: 1.4rem;
    color: #2b2006;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-post-excerpt {
    color: #5a4c3a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: #e9cf75;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #d4b25a;
}

.read-more-btn::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
    transform: translateX(4px);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #faf7f0 0%, #f8f1e4 100%);
    border-radius: 20px;
}

.no-posts h3 {
    color: #2b2006;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #5a4c3a;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.newsletter-section {
    background: linear-gradient(135deg, #e9cf75 0%, #d4b25a 100%);
    padding: 4rem 0;
}

.newsletter-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.newsletter-card h3 {
    color: #2b2006;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-card p {
    color: #5a4c3a;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid rgba(233,207,117,0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e9cf75;
}

.newsletter-form button {
    background: linear-gradient(135deg, #e9cf75 0%, #d4b25a 100%);
    color: #2b2006;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #f4e0a0 0%, #e9cf75 100%);
    transform: translateY(-2px);
}

/* Blog Post Modal */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.blog-modal-content {
    background: #ffffff;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.blog-modal-header {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #faf7f0 0%, #f8f1e4 100%);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #5a4c3a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(233,207,117,0.2);
}

.blog-modal-body {
    padding: 2rem;
}

.blog-modal h2 {
    color: #2b2006;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-modal-date {
    color: #88b497;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.blog-modal-text {
    color: #4a4032;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-modal-text p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 0 3rem 0;
    }
    
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .blog-modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .blog-modal-header,
    .blog-modal-body {
        padding: 1.5rem;
    }
}