/* Blog-specific styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 120px 0 60px;
    color: white;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="industrialPattern" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="2" fill="%23e67e22" opacity="0.1"/><rect x="10" y="10" width="8" height="4" fill="%23d35400" opacity="0.05" rx="1"/><rect x="42" y="46" width="6" height="3" fill="%23e67e22" opacity="0.05" rx="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23industrialPattern)"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-meta span {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.blog-meta i {
    margin-right: 8px;
}

/* Blog Content Section */
.blog-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.blog-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-image {
    width: 100%;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

.blog-text {
    padding: 40px;
}

.blog-text h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 30px 0 20px;
    font-weight: 600;
}

.blog-text h2:first-child {
    margin-top: 0;
}

.blog-text h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 25px 0 15px;
    font-weight: 600;
}

.blog-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

.blog-text ul, 
.blog-text ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.blog-text li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.blog-text strong {
    color: #2c3e50;
    font-weight: 600;
}

.blog-text em {
    font-style: italic;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid #e67e22;
}

.blog-cta h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-cta p {
    margin-bottom: 20px;
}

/* Blog FAQ Section */
.blog-faq {
    margin-top: 50px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.blog-faq h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 50px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.author-info p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
}

.related-posts h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-post {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.4;
}

.read-more {
    display: inline-block;
    padding: 0 20px 20px;
    color: #e67e22;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #d35400;
}

/* Price Table */
.price-table {
    margin: 30px 0;
    overflow-x: auto;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-table th {
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.price-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: #f1f3f5;
}

/* Process Diagram */
.process-diagram {
    margin: 30px 0;
    text-align: center;
}

.process-diagram img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .blog-meta {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .blog-text {
        padding: 25px;
    }
    
    .blog-text h2 {
        font-size: 1.6rem;
    }
    
    .blog-text h3 {
        font-size: 1.3rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .blog-text {
        padding: 20px;
    }
    
    .blog-text h2 {
        font-size: 1.4rem;
    }
    
    .blog-text h3 {
        font-size: 1.2rem;
    }
    
    .blog-faq {
        padding: 25px;
    }
}