body {
    background-image: url("../img/taustakuva.png"); /* taustakuva */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-color: hsl(93, 84%, 83%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 36px 0;
    color: #0b0b0b; /* tekstin väri */
    position: relative;
    z-index: 0; /* tärkeä, miksi? */
}

body::before { 
    content: ""; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(255, 255, 255, 0.7); /* läpikuultava kerros */
    backdrop-filter: blur(5px); /* tämä tekee blurin */ 
    -webkit-backdrop-filter: blur(5px); /* Safari-tuki */
    pointer-events: none; 
    z-index: -1; /* pysyy taustakuvan päällä mutta sisällön takana */
}

h1, h2, h3, h4, h6 {
    font-family: 'Blackmango'; /* otsikoiden fontti */
    color: rgb(16, 80, 20); /* otsikoiden väri */
}
#additional-text {
    color: #000;
    font-size: 13px;
    margin-top: -17px;
}
.hinta {
    color: #000;
    font-weight: bold;
}

.four.columns {
    text-align: center;
}
.six.columns { 
    margin: 0 auto; 
    text-align: center; 
}

main {
    padding-left: 20px;
    padding-right: 20px;
}
.koulutukset {
    text-align: center;
}
.center-row {
    text-align: left;
}
#varaukset {
    text-align: center;
}

/* Kuvat */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ale-kuva {
    max-width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
}

.hoito-kuva {
    max-width: 400px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.site-header {
    padding: 18px 0;
    border-bottom: 1px solid #e7e7e7;
    color: rgb(16, 80, 20);
}

.site-title {
    font-family: 'Blackmango';
    margin: 0;
    text-align: center;
    font-size: 1.8em;
}

/* Navigaatio */
.desktop-nav a { 
    color: #000; /* normaali väri */ 
    text-decoration: none; 
    transition: 0.2s; /* pehmeä animaatio */ 
} 
.desktop-nav a:hover { 
    color: #d18f00; /* hover-väri */ 
    text-decoration: underline; 
}
.desktop-nav {
    display: flex;              /* laittaa linkit vierekkäin */
    justify-content: center;    /* keskittää ne vaakasuunnassa */
    gap: clamp(10px, 4vw, 40px);  /* väli linkkien väliin */
    text-align: center;         /* varmistaa keskityksen */
}
.desktop-nav a:active,
.mobile-nav a:active {
    color: #d18f00;
}

/* Piilotetaan mobiilivalikko oletuksena */ 
.mobile-menu { display: none; }

/* Hamburger-valikko */
.hamburger-menu {
    display: none; /* piilotetaan oletuksena */
    text-align: center;
    width: 100%;
}

.hamburger-icon {
    font-size: 32px;
    cursor: pointer;
    user-select: none;
    color: #000;
    display: inline-block;
}

.hamburger-menu input {
    display: none; /* piilotetaan checkbox */
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.mobile-nav a {
    font-family: 'Blackmango';
    color: #000;
    text-decoration: none;
    font-size: 20px;
}

/* Hero-osa */
.hero {
    padding: 36px 20px 0 20px;
}

.center-row {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* Footer */
.site-footer {
    padding: 18px 0;
    color: #777;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* Main content */
.eight.columns {
    margin: 0 auto;
    padding-top: 50px;
    padding-left: 200px;
    padding-bottom: 50px;
    text-align: center;
}
.map-title {
    margin-top: -50px;
}
.map-address {
    margin-top: 0px;
}

/* Mobiili */
@media (max-width: 950px) {
    .four.columns,
    .eight.columns {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    #map {
        width: 100% !important;
        height: 350px; /* voit säätää */
        margin: 0 auto;
    }
}

@media (max-width: 616px) {
    .desktop-nav {
        display: none;
    }

    /* Näytetään hamburger */ 
    .hamburger-menu { 
        display: block; 
        text-align: center; 
        margin-top: 10px; 
    } 
    /* Kun checkbox on valittu → näytä valikko */ 
    #menu-toggle:checked ~ .mobile-nav { 
        display: flex; 
    }
    .one-third.column {
        margin-left: 0;
        margin-bottom: 20px;
    }
    .four.columns,
    .eight.columns {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #map {
        width: 100% !important;
        height: 300px; /* voit säätää */
        margin: 0 auto;
    }
}

.row {
    text-align: center;
}
.row .twelve.columns {
    text-align: center;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}