body {
    margin: 0;
    font-family: 'Lora', serif; /* A good serif font for readability */
    background-color: #2c2823; /* Dark, earthy background */
    color: #e0dacd; /* Parchment-like text color */
    font-size: 16px;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 260px;
    background-color: #1e1a15; /* Darker sidebar background */
    border-right: 3px solid #4a3f2e; /* Ornate border-like separator */
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}

.sidebar-header {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #5a4d3c; /* Subtle separator */
}

.sidebar-header h2 {
    font-family: 'MedievalSharp', cursive; /* Fantasy-style font for headings */
    color: #c8b08a; /* Aged gold/bronze color */
    font-size: 1.8em;
    margin: 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.sidebar-nav li a {
    display: block;
    color: #bda075; /* Muted gold for links */
    text-decoration: none;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:focus {
    background-color: #3a3226; /* Darker hover state */
    color: #e0dacd; /* Lighter text on hover */
}

.sidebar-footer {
    margin-top: auto; /* Pushes footer to the bottom */
    text-align: center;
    font-size: 0.85em;
    color: #7a6f5d;
    padding-top: 20px;
    border-top: 1px solid #5a4d3c;
}

/* Main Content Styling */
.main-content {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto; /* Allows scrolling for content */
    background-color: #38322a; /* Slightly lighter main content area */
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #5a4d3c;
    padding-bottom: 15px;
}

.page-header h1 {
    font-family: 'MedievalSharp', cursive;
    color: #d4c29a;
    font-size: 2.8em;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.content-section {
    background-color: #2c2823; /* Darker sections for contrast */
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #4a3f2e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.content-section h2 {
    font-family: 'MedievalSharp', cursive;
    color: #c8b08a;
    font-size: 2em;
    margin-top: 0;
    border-bottom: 1px solid #5a4d3c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-section p {
    margin-bottom: 15px;
    color: #c7c0b2; /* Slightly lighter text for better readability on dark sections */
}

/* Responsive adjustments (very basic) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 3px solid #4a3f2e;
    }

    .main-content {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 2.2em;
    }

    .content-section h2 {
        font-size: 1.8em;
    }
}