body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    background: #f6f6f6;
    color: #333;
}

header {
    background: #004080;
    padding: 1rem;
}

header ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 2rem;
}

footer {
    background: #eee;
    padding: 1rem;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

section {
    margin-bottom: 3rem;
}

section h1,
section h2 {
    color: #002B5B;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

section p {
    line-height: 1.7;
    font-size: 1.05rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li::before {
    content: "✔️ ";
    margin-right: 0.3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

th,
td {
    border: 1px solid #ccc;
    padding: 0.8rem;
    text-align: left;
    font-size: 1rem;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
}

input[type="number"] {
    width: 120px;
    padding: 0.4rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    border: 1px solid #aaa;
    border-radius: 4px;
}

/* --- Lomakkeet --- */
form {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

form textarea {
    resize: vertical;
}

/* Painikkeet */
form button,
form input[type="submit"],
button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 1rem;
}

form button:hover,
form input[type="submit"]:hover,
button:hover {
    background-color: #0060c0;
}

/* Vain yhteydenottosivun otsikon ja kuvauksen keskitys */
#contact-page h1,
#contact-page p {
    text-align: center;
}
