/* My Call Bag Blog - Shared Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga' 1, 'kern' 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-bottom: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ccc;
}

.nav-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* Blog Listing Page Styles */
.blog-hero {
    padding: 60px 0 80px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 60px 0 120px 0;
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-post-header {
    margin-bottom: 20px;
}

.blog-post-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-post h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.blog-post-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Blog Article Page Styles */
.article-header {
    padding: 60px 0 60px 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 120px 20px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.article-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px 0;
    color: #fff;
}

.article-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: #fff;
}

.article-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #fff;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.article-content strong {
    color: #fff;
    font-weight: 600;
}

.article-content a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.article-content a:hover {
    opacity: 0.7;
}

.article-content blockquote {
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    opacity: 0.8;
}

.article-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.article-content pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

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

.back-to-blog {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.back-to-blog:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h3 {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    width: 200px;
    text-align: center;
    line-height: 1.2;
}

.cta-button:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

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

.footer-links a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    color: #ccc;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .blog-post {
        padding: 30px 20px;
    }

    .blog-post h2 {
        font-size: 1.5rem;
    }

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

    .article-content h2 {
        font-size: 1.8rem;
    }

    .article-content h3 {
        font-size: 1.5rem;
    }

    .article-content p,
    .article-content li {
        font-size: 1rem;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links {
        gap: 15px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
