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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

/* Header */
header {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #c2885c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text span {
    color: #c2885c;
}

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

.nav-link {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

    .nav-link:hover {
        color: #c2885c;
    }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin: 0.5rem 2rem;
    min-width: 200px;
    z-index: 1000;
}

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 1rem 1.5rem;
        color: #666;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: background 0.3s, color 0.3s;
    }

        .mobile-menu a:hover {
            background: #f8f9fa;
            color: #c2885c;
        }

.desktop-nav {
    display: block;
}

/* Sidebar Toggle Button (Mobile Only) */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #c2885c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 99;
    transition: all 0.3s;
}

    .sidebar-toggle:hover {
        background: #a67248;
        transform: scale(1.05);
    }

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
}

    .sidebar-overlay.active {
        display: block;
    }

/* Main Layout */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    background: white;
    padding: 2rem 0;
    border-right: 1px solid #e8e8e8;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    padding: 0.5rem 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 600;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .sidebar-title:hover {
        color: #64748b;
    }

.sidebar-links {
    list-style: none;
}

    .sidebar-links li {
        margin: 0;
    }

    .sidebar-links a {
        display: block;
        padding: 0.6rem 2rem;
        color: #475569;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.2s;
        border-left: 3px solid transparent;
    }

        .sidebar-links a:hover {
            background: #f8f9fa;
            color: #2c3e50;
            border-left-color: #c2885c;
        }

        .sidebar-links a.active {
            background: #f0f9ff;
            color: #c2885c;
            font-weight: 500;
            border-left-color: #c2885c;
        }

/* Sidebar Close Button (Mobile Only) */
.sidebar-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

/* Content Area */
.content-area {
    background: white;
    padding: 3rem 4rem;
    max-width: 750px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

    .breadcrumb a {
        color: #94a3b8;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #c2885c;
        }

    .breadcrumb span {
        margin: 0 0.5rem;
    }

.article-header {
    margin-bottom: 3rem;
}

.article-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0 1rem;
}

.image-caption {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

    .image-caption a {
        color: #c2885c;
        text-decoration: none;
    }

        .image-caption a:hover {
            text-decoration: underline;
        }

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 650px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1.5rem;
    max-width: 650px;
}

/* Footer */
footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

    .footer-brand span {
        color: #c2885c;
    }

.footer-description {
    line-height: 1.6;
    color: #94a3b8;
}

footer h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

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

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .main-container {
        grid-template-columns: 1fr;
    }

    /* Hide sidebar by default on mobile */
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 99;
        border-right: none;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding-top: 6rem;
    }

        .sidebar.active {
            left: 0;
        }

    /* Show toggle button on mobile */
    .sidebar-toggle {
        display: block;
    }

    /* Show close button on mobile */
    .sidebar-close {
        display: block;
    }

    .content-area {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

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