/* Blog Page Specific Styles */
/* Clean, readable design that maintains brand identity */

/* Add padding for fixed navbar */
body {
    padding-top: 80px;
}

/* Site Header styles removed - now using navbar from main styles */

/* Blog Post Styles */
.post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.7;
}

.post-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.post-hero img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Special styling for the printing press image */
.post-hero img[src*="printing-press.jpeg"] {
    max-width: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.post-hero h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.post-content {
    font-size: 1.1rem;
    color: var(--black);
}

.post-content h2 {
    font-size: 1.8rem;
    color: var(--primary-purple);
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
    color: var(--black);
    margin: 1.5rem 0 0.75rem 0;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.post-content strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.post-content em {
    color: var(--accent-green);
    font-style: italic;
}

.post-cta {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    text-align: center;
}

.post-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.post-cta .cta-button {
    background: var(--white) !important;
    color: var(--primary-purple) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 1rem;
    line-height: 1.2;
}

.post-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mushroom-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23mushroom-pattern)"/></svg>');
    opacity: 0.4;
}

.blog-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.blog-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search {
    display: flex;
    max-width: 400px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.blog-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 1rem;
}

.blog-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-btn {
    background: var(--accent-green);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--accent-blue);
    transform: scale(1.05);
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.category-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

/* Featured Post */
.featured-post {
    padding: 4rem 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.featured-post::before {
    content: '🍄';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

.featured-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-green), var(--accent-blue));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.featured-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

/* Special styling for the printing press image in featured section */
.featured-image img[src*="printing-press.jpeg"] {
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.featured-content:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-text h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-text p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.post-meta .category {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.post-meta .date,
.post-meta .read-time {
    color: var(--gray-600);
}

.featured-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    background: var(--gray-200);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* Blog Posts Grid */
.blog-posts {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.blog-posts::before {
    content: '🍄';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float 4s ease-in-out infinite;
}

.blog-posts::after {
    content: '🍄';
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float 4s ease-in-out infinite reverse;
}

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

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-purple);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.read-more {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '🍄';
    position: absolute;
    left: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    padding-left: 3rem;
}

.load-more-btn:hover::before {
    opacity: 1;
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-blue));
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '🍄';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2rem;
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

.newsletter-signup::after {
    content: '🍄';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 2rem;
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite 1.5s;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
}

.newsletter-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.newsletter-benefits i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.newsletter-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255,255,255,0.15);
}

.newsletter-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.newsletter-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-text h2 {
        font-size: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .featured-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 3rem 0 1.5rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .featured-post {
        padding: 2rem 0;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .blog-posts {
        padding: 2rem 0;
    }
    
    .newsletter-signup {
        padding: 2rem 0;
    }
}

/* Animation for post cards */
.post-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active navigation state */
.nav-menu a.active {
    color: var(--accent-green);
    font-weight: 600;
}

.nav-menu a.active::after {
    background: var(--accent-green);
} 