/* CJJ Blog Styles - Complete Standalone */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #f5f0e8;
    line-height: 1.6;
}

a {
    color: #C9A84C;
    text-decoration: none;
}

a:hover {
    color: #E5D4A0;
}

/* Navigation */
nav {
    background: #1C1C1C;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C9A84C;
    text-decoration: none;
}

.nav-menu, .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li, .nav-links li {
    list-style: none;
}

.nav-menu a, .nav-links a {
    color: #f5f0e8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-links a:hover {
    color: #C9A84C;
}

.nav-menu .cta-button, .nav-links .cta-button {
    background: #C9A84C;
    color: #1C1C1C;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-menu .cta-button:hover, .nav-links .cta-button:hover {
    background: #E5D4A0;
}

/* Blog Post Layout */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.post-header, .blog-post header {
    margin-bottom: 3rem;
}

.post-header h1, .blog-post h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #C9A84C;
}

.post-meta, .blog-meta {
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-content, .blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Typography */
.blog-post h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #C9A84C;
}

.blog-post h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #E5D4A0;
}

.blog-post p {
    margin-bottom: 1.5rem;
}

.blog-post .lead {
    font-size: 1.2rem;
    color: #E5D4A0;
    margin-bottom: 2rem;
}

.blog-post ul, .blog-post ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post li {
    margin-bottom: 0.75rem;
}

.blog-post strong {
    color: #C9A84C;
    font-weight: 600;
}

.blog-post blockquote {
    border-left: 4px solid #C9A84C;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #ccc;
}

/* CTA Boxes */
.cta-box {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #C9A84C;
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.cta-box h3 {
    color: #C9A84C;
    margin-top: 0;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #C9A84C;
    color: #1C1C1C;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    color: #C9A84C;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    border-left: 3px solid #C9A84C;
    padding-left: 1.5rem;
}

.faq-item h3 {
    color: #E5D4A0;
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Utility Boxes */
.highlight-box {
    background: #2a2a2a;
    border-left: 4px solid #C9A84C;
    padding: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    background: #2a2a2a;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.process-step h3 {
    margin-top: 0;
    color: #C9A84C;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.related-posts h3 {
    font-family: 'Playfair Display', serif;
    color: #C9A84C;
    margin-bottom: 1rem;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 0.75rem;
}

.related-posts a {
    color: #E5D4A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-posts a:hover {
    color: #C9A84C;
}

/* Footer */
footer, .site-footer {
    background: #1C1C1C;
    border-top: 1px solid #333;
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
}

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

.footer-section h4 {
    color: #C9A84C;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section p, .footer-section li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #E5D4A0;
    text-decoration: none;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #C9A84C;
}

/* Compact article navigation */
.article-nav {
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.article-nav-inner {
    position: relative;
    max-width: 1200px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.article-nav .logo {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.article-nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-nav-links li {
    margin: 0;
    list-style: none;
}

.article-nav-links a {
    color: rgba(245, 240, 232, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.article-nav-links .article-nav-cta {
    display: inline-block;
    background: #C9A84C;
    color: #0a0a0a;
    padding: 0.65rem 1rem;
    border-radius: 3px;
}

.article-nav-links .article-nav-cta:hover {
    background: #E5D4A0;
    color: #0a0a0a;
}

.article-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #f5f0e8;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.article-menu-button svg {
    width: 22px;
    height: 22px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-nav-inner {
        min-height: 64px;
        padding: 0 1.25rem;
        flex-direction: row;
        gap: 1rem;
    }

    .article-nav .logo {
        max-width: calc(100% - 60px);
        overflow: hidden;
        font-size: 0.95rem;
        letter-spacing: 0.06em;
        text-overflow: ellipsis;
    }

    .article-menu-button {
        display: inline-flex;
        flex: 0 0 44px;
    }

    .article-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 1.25rem 1.25rem;
        background: rgba(18, 18, 18, 0.99);
        border-top: 1px solid rgba(201, 168, 76, 0.12);
        border-bottom: 1px solid rgba(201, 168, 76, 0.25);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .article-nav-links.open {
        display: flex;
    }

    .article-nav-links a {
        display: block;
        padding: 0.8rem 0;
        text-align: left;
    }

    .article-nav-links .article-nav-cta {
        margin-top: 0.5rem;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    .nav-container, .nav-bar .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu, .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-post {
        padding: 2rem 1.5rem;
    }
    
    .post-header h1, .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-post h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
