/* blog-post.css - Aura AI Blog Post Styles */

:root {
    --primary: #4dabf7;
    --secondary: #1864ab;
    --dark: #212529;
    --gray: #64748b;
    --light: #f5f7fa;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #4dabf7 0%, #1864ab 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-download {
    padding: 10px 25px;
    background: var(--gradient-1);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 70px;
    padding: 20px;
    background: var(--light);
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--gray);
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--gray);
}

/* Article Hero */
.article-hero {
    background: var(--gradient-1);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-category i {
    margin-right: 8px;
}

.article-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.95;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta-item i {
    opacity: 0.8;
}

/* Article Layout */
.article-layout {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

/* Main Content */
.article-content {
    max-width: 800px;
}

.featured-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 20px;
    color: var(--dark);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 15px;
    color: var(--dark);
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 30px 0 10px;
    color: var(--dark);
}

.article-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #374151;
}

.article-content ul,
.article-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
}

.article-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
    transition: all 0.3s;
}

.article-content a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(77, 171, 247, 0.1), rgba(24, 100, 171, 0.1));
    border-left: 4px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Article CTA */
.article-cta {
    background: var(--gradient-1);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
}

.article-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.article-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.sidebar-section p {
    color: var(--gray);
    line-height: 1.6;
}

/* Related Articles */
.related-article {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: background 0.3s;
    margin-bottom: 15px;
}

.related-article:hover {
    background: var(--light);
}

.related-article-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-article-image i {
    font-size: 2rem;
    color: white;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.related-article-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-article-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.related-article-content h4 a:hover {
    color: var(--primary);
}

.related-article-meta {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Social Share */
.social-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

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

/* Footer */
footer {
    background: #212529;
    color: white;
    padding: 60px 20px 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 968px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .article-hero {
        padding: 40px 20px;
    }
    
    .article-meta {
        font-size: 0.85rem;
        gap: 15px;
    }
    
    .article-content {
        font-size: 1rem;
    }
}
