/* General Body & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #212529;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #0056b3;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
}

.site-header .logo img {
    height: 40px;
    margin-right: 10px;
}

.site-nav a {
    color: #555;
    margin-left: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.site-nav a:hover {
    color: #007bff;
    text-decoration: none;
}


/* Main Content Area */
.main-content {
    flex: 1;
    padding: 40px 0;
}

.content-wrapper {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* --- 404 Page Specific Styles --- */
.not-found-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 32px 24px;
    text-align: center;
}

.not-found-container h2 {
    color: #ffa100;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.not-found-container h1 {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    margin: 0 0 16px;
}

.not-found-container p {
    line-height: 1.5;
    margin: 16px 0 24px;
    font-size: 1rem;
    color: #555;
}

.not-found-container a {
    display: block;
    text-align: center;
    background: #039be5;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 16px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: background-color 0.2s;
}

.not-found-container a:hover {
    background-color: #0277bd;
    color: white;
    text-decoration: none;
}
/* --- End 404 Styles --- */

/* Footer */
.site-footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 2rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #ced4da;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
}