:root {
    --primary-color: #333;
    --text-color: #444;
    --muted-color: #777;
    --danger-bg: #f8d7da;
    --danger-text: #721c24;
    --danger-border: #f5c6cb;
    --max-width: 800px;
    --header-bg: #777183;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.main-header {
    width: 100vw;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url("images/header_image.jpg");
    background-position: center;
    background-size: cover;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .main-header {
        min-height: 400px;
    }
}

.main-logo-container {
    text-align: center;
}

.main-logo {
    height: 100px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@media (min-width: 768px) {
    .main-logo {
        height: 200px;
    }
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

h3 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.alert {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: var(--danger-text);
    border-color: var(--danger-border);
}

.alert h2 {
    margin-top: 0;
    font-size: 1.3rem;
}

hr {
    margin: 3rem 0 1.5rem;
    border: 0;
    border-top: 1px solid #eee;
}

.page-footer {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

.page-footer a {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.page-footer a:hover {
    text-decoration: underline;
}

address {
    font-style: normal;
    margin-bottom: 1rem;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--muted-color);
}

a {
    color: #0066cc;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
}
