/* Blog Page Styles */

/* Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 4rem 2rem;
    background: #f8fafc;
    min-height: 100vh;
}

.blog-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Individual Blog Post */
.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 280px;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

/* Post Image */
.post-image {
    position: relative;
    overflow: hidden;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

/* Post Content */
.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-date {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Post Actions */
.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.learn-more-btn {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.learn-more-btn:hover {
    background-color: #f0f4ff;
    transform: translateX(4px);
}

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

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

/* Social Share Buttons */
.social-share {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-btn.email:hover {
    background: #ea4335;
    color: white;
}

.share-btn.copy:hover {
    background: #10b981;
    color: white;
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.08);
}

.no-posts-message h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.no-posts-message p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.newsletter-input:focus {
    outline: none;
    border-color: #0066cc;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.newsletter-btn {
    padding: 14px 24px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .social-share {
        align-self: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .blog-posts-section {
        padding: 3rem 1rem;
    }
    
    .blog-container {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-section {
        padding: 3rem 1rem;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .share-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .newsletter-section {
        padding: 3rem 1rem;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
} 