/* Common styles for all pages */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #222;
}

header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: clamp(100px, 20vw, 350px);
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    font-weight: 700;
    font-size: 20px;
}

nav {
    margin-top: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    margin: 0 15px;
    font-weight: 500;
}

nav a:hover {
    color: #c40000;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #c40000;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #900000;
}

/* Footer styles */
.site-footer {
    background: linear-gradient(180deg, #0b0b0b, #111);
    color: #ddd;
    padding: 48px 20px;
}

.site-footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 220px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 12px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #c40000;
}

.site-footer .credits {
    opacity: 0.7;
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
}

.mka-logo {
    margin-top: 12px;
}

.mka-logo img {
    width: 140px;
}

.small {
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    nav a {
        margin: 0 10px;
        font-size: 14px;
    }
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .brand {
        gap: 8px;
    }
    .brand-logo {
        width: clamp(350px, 20vw, 350px);
    }
}

/* utility container and section */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #c40000;
}

@media (max-width: 768px) {
    .section h2 {
        font-size: 32px;
    }
}
