/* Professional Blog Index Styling */

/* Blog Header - Orange Bar */
.blog-header-top {
    background: linear-gradient(135deg, #f7b731 0%, #f39c12 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-title-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.blog-title-with-icon i {
    font-size: 1.4rem;
}

.blog-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.blog-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    padding: 0.5rem 0;
}

.blog-nav a:hover,
.blog-nav a.active {
    opacity: 0.9;
    border-bottom: 2px solid white;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Blog Index Container */
.blog-index {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* Hero Banner - Orange */
.blog-index-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f7b731 0%, #f39c12 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-index-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-index-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Section Headings */
.featured-posts h2,
.all-posts h2,
.blog-categories h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Blog Preview Grid */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Blog Preview Card - White with Rounded Corners */
.blog-preview-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-preview-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.08);
}

/* Category Tag - Orange */
.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f7b731 0%, #f39c12 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-preview-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-preview-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-preview-card:hover .blog-preview-content h3 {
    color: #f7b731;
}

.blog-preview-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.85rem;
    color: #868e96;
}

.reading-time,
.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reading-time i {
    color: #f7b731;
}

/* Read More Button - Blue */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

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

.read-more-btn.coming-soon {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.read-more-btn.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.category-card i {
    font-size: 3.5rem;
    color: #f7b731;
    margin-bottom: 1.25rem;
    display: block;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.category-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.post-count {
    display: inline-block;
    background: linear-gradient(135deg, #f7b731 0%, #f39c12 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Newsletter Signup - Purple Gradient */
.newsletter-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

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

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

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: linear-gradient(135deg, #f7b731 0%, #f39c12 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 183, 49, 0.4);
}

/* Footer - Dark Blue */
.blog-footer {
    background: #1e3a5f;
    color: white;
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h4 {
    color: #f7b731;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p {
    color: #ecf0f1;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f7b731;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #2c4a6b;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #f7b731;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c4a6b;
    color: #95a5a6;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .blog-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .blog-index-header h1 {
        font-size: 2.5rem;
    }

    .blog-index-header p {
        font-size: 1.1rem;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-index {
        padding: 1rem;
    }

    .blog-index-header {
        padding: 2.5rem 1.5rem;
    }

    .blog-index-header h1 {
        font-size: 2rem;
    }

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

    .blog-preview-content h3 {
        font-size: 1.2rem;
    }
}

