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

:root {
    --bg-color: #F8F6F0; /* Light beige background */
    --text-color: #333333;
    --heading-color: #222222;
    --accent-color: #8c8c8c;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
    --container-width: 900px;
    --header-height: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--heading-color);
}

.main-nav a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--heading-color);
}

/* Main Content & Article */
.main-content {
    padding: 40px 0;
    background-color: var(--white);
    max-width: 1000px;
    margin: 40px auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.02);
}

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

/* Hero Section */
.hero-image img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    object-fit: cover;
}

/* Post Header */
.post-header {
    margin-bottom: 40px;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--heading-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.post-meta {
    font-size: 13px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography & Content Sections */
h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 400;
    margin: 40px 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; text-transform: none; }

p {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.8;
}

/* Table of Contents */
.table-of-contents {
    margin-bottom: 50px;
}

.table-of-contents h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style-type: disc;
    padding-left: 20px;
}

.table-of-contents ul ul {
    list-style-type: circle;
    margin-top: 5px;
    margin-bottom: 5px;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--accent-color);
    font-size: 14px;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* Image + Text Blocks */
.image-text-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.image-text-block img {
    width: 45%;
    object-fit: cover;
}

.image-text-block .text-content {
    width: 55%;
}

.image-text-block h2, .image-text-block h3 {
    margin-top: 0;
}

.block-right img {
    order: 2;
}

.block-right .text-content {
    order: 1;
}

/* Blockquote */
blockquote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--heading-color);
    border-left: 1px solid var(--border-color);
    padding: 20px 0 20px 30px;
    margin: 40px 0;
    line-height: 1.6;
}

/* Benefits List */
.benefits-list {
    margin: 30px 0;
}

.benefits-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
}

.benefits-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--heading-color);
    font-size: 20px;
    line-height: 1.5;
}

.benefits-list strong {
    font-weight: 600;
    color: var(--heading-color);
    display: block;
    margin-bottom: 5px;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #fcfcfc;
}

.faq-question i {
    margin-right: 15px;
    font-size: 12px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fdfdfd;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 48px; /* Indent to align with text */
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background-color: #fafafa;
    border: 1px solid var(--border-color);
    margin: 50px 0;
    border-radius: 4px;
}

.author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.author-text h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: var(--font-body);
}

.author-role {
    display: block;
    font-size: 12px;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.author-text p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Bottom Closing Block */
.bottom-closing-block {
    margin-top: 40px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 60px 0 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--heading-color);
    color: var(--heading-color);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--heading-color);
    color: var(--white);
}

/* Footer */
.site-footer {
    background-color: var(--bg-color);
    padding: 60px 0 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    max-width: 1200px;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.footer-column a {
    font-size: 13px;
    color: #666;
}

.footer-column a:hover {
    color: var(--heading-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--heading-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #222222;
    color: #999;
    font-size: 11px;
    max-width: 100%;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.copy-left, .copy-right {
    color: #999;
}

/* Responsive Design */
@media (max-width: 992px) {
    .image-text-block {
        flex-direction: column;
    }
    
    .image-text-block img, .image-text-block .text-content {
        width: 100%;
    }
    
    .block-right img {
        order: 1;
    }
    
    .block-right .text-content {
        order: 2;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-content {
        margin: 0;
        border-radius: 0;
    }
    
    .blog-post {
        padding: 20px 15px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .post-title {
        font-size: 26px;
    }
    
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 15px 20px;
    }
    
    blockquote {
        font-size: 16px;
        padding: 15px 0 15px 20px;
    }
}
