/* Blog Specific Styles */

/* Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/business-pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.blog-hero-section .container {
    position: relative;
    z-index: 2;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #d4af37, #f4e082);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

/* Blog Stats */
.blog-stats {
    margin-top: 3rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

/* Categories Section */
.blog-categories-section {
    background: #f8f9fa;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-filters .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-filters .btn.active,
.category-filters .btn:hover {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #d4af37, #f4e082);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-image i {
    font-size: 3rem;
    color: #1a1a1a;
    opacity: 0.7;
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(26, 26, 26, 0.8);
    color: #d4af37;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: #d4af37;
}

.article-card-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
}

.article-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-card-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Article Page Styles */
.article-section {
    padding: 120px 0 80px;
    background: white;
}

.article-breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item a {
    color: #d4af37;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    background: #d4af37;
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-date,
.article-read-time {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 1rem 0;
}

.article-excerpt {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar i {
    font-size: 3rem;
    color: #d4af37;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.author-title {
    color: #666;
    font-size: 0.9rem;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

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

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

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

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

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #d4af37;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, #f4e082, #d4af37);
    color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    font-weight: 500;
}

/* Article Tags */
.article-tags {
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.article-tags h5 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem 0.5rem 0.25rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #d4af37;
    color: #1a1a1a;
}

/* Share Buttons */
.article-share {
    margin: 3rem 0;
    text-align: center;
}

.article-share h5 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
}

.related-articles h4 {
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

/* Back to Blog */
.back-to-blog {
    margin: 3rem 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d4af37;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.newsletter-form .form-control {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 25px 0 0 25px;
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .category-filters .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .article-card-body {
        padding: 1rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 25px;
        margin-bottom: 0.5rem;
    }
}

/* Animation for article loading */
.article-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

/* Loading state */
.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTA Box Styling */
.cta-box {
    background: linear-gradient(135deg, #d4af37, #f4e082);
    color: #1a1a1a;
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.cta-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-box .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.3);
    background-color: #1a1a1a;
    color: #d4af37;
}

/* Case Study Box Styling */
.case-study-box {
    background: #f8f9fa;
    border-left: 5px solid #d4af37;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.case-study-box h5 {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-box .company-name {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

.case-study-box .results {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #e0e0e0;
}

.case-study-box .results h6 {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-study-box .metric {
    display: inline-block;
    background: #d4af37;
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0.5rem 0.25rem 0;
}

/* Newsletter Enhancement */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/newsletter-pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
}

/* Social Sharing Enhancement */
.social-sharing-enhanced {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.social-sharing-enhanced h5 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.social-sharing-enhanced .share-count {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}