/* ------------------------------
   YLEISET TYYLIT
--------------------------------*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

h1, h2, h3 {
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------
   HEADER
--------------------------------*/
header {
    background: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

header img {
    height: 60px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

nav a:hover {
    color: #3fa34d;
}

/* ------------------------------
   HERO – KAKSIPALSTAINEN
--------------------------------*/
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 30px;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn {
    background: #3fa34d;
    padding: 12px 22px;
    color: white;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Mobiilinäkymä */
@media (max-width: 800px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 90%;
    }
}

/* ------------------------------
   SISÄLTÖOSIOT
--------------------------------*/
.section {
    padding: 50px 30px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    margin-bottom: 20px;
}

/* ------------------------------
   PALVELUT
--------------------------------*/
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-box h3 {
    color: #3fa34d;
}

/* ------------------------------
   YHTEYDENOTTOLOMAKE
--------------------------------*/
.container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-info h2 {
    margin-top: 40px;
}


label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

button {
    margin-top: 20px;
    background: #3fa34d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
    background: #222;
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}