/* Lämmin luonnonläheinen tausta */
body {
    margin: 0;
    font-family: "Lato", Arial, sans-serif;
    background: linear-gradient(180deg, #fffdf9, #f7f1e8, #efe7dc);
    color: #333;
    box-shadow: inset 0 0 80px rgba(0,0,0,0.05);
}

/* Navigaatio */
header {
    background: #003366;
    padding: 15px;
}

/* Flex: nimi vasemmalle, linkit oikealle */
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Nimi näkyväksi */
.topnav .brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    white-space: nowrap;
}

/* Linkit oikealle */
.nav-links {
    display: flex;
    gap: 25px;
}

/* Linkkien tyyli */
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* HERO – luonnonläheinen kuva + blur */
.hero {
    background: url("hero-nature.jpg") center/cover no-repeat;
    padding: 140px 20px;
    text-align: center;
    color: #2a2a2a;
    border-radius: 0 0 20px 20px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
    border-radius: 0 0 20px 20px;
}

.hero h1,
.hero .btn {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 1.8rem;
    line-height: 1.0;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Painike */
.btn {
    display: inline-block;
    background: #8a6e4b;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: 0.25s ease;
}

.btn:hover {
    background: #6f583c;
    transform: translateY(-2px);
}

/* Runkosisältö */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Kortit – paperimainen, blur, varjo */
.card {
    background: #ffffffcc;
    backdrop-filter: blur(4px);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 1px solid #e6dfd4;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.card h2 {
    font-size: 1.6rem;
    color: #6f583c;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
    border-radius: 20px 20px 0 0;
}

.footer-privacy {
    color: #d8c7a0;
    text-decoration: none;
    font-size: 1rem;
}

.footer-privacy:hover {
    text-decoration: underline;
}

/* Yhteydenottolomake */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    font-size: 1.15rem;
    border: 1px solid #bbb;
    border-radius: 6px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 220px;
    resize: vertical;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
    font-size: 1.1rem;
}

/* Checkboxit siististi */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Evästebanneri */
.consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #003366;
    color: white;
    padding: 15px;
}

.consent-actions {
    margin-top: 10px;
}

.consent-btn {
    background: white;
    color: #003366;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.consent-link {
    color: #a8d0ff;
    margin-right: 15px;
}

/* Responsiivisuus */
@media (max-width: 768px) {

    .topnav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero {
        padding: 100px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .card {
        padding: 25px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 20px;
    }
}
.topnav .brand { color: #ffffff !important; font-weight: 700; font-size: 1.25rem; white-space: nowrap; }