/* Tuodaan pehmeä ja ystävällinen Nunito-fontti Google Fontsista */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* Perusasetukset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #3e3e3e;
    /* Pehmeä tummanharmaa, ei kova pikimusta */
    background-color: #f7f5f0;
    /* Lämmin, luonnonvalkoinen/beige pohja */
}

/* Header & Navigaatio */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5d4e;
    /* Rauhallinen metsänvihreä */
}

.nav-links a {
    text-decoration: none;
    color: #8c7a6b;
    /* Lämmin harmaanruskea (taupe) */
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: #4a5d4e;
}

/* Hero-osio taustakuvalla */
.hero-section {
    /* Vaihdetaan auringonkukkakuvaan, joka on valmiiksi vaakasuuntainen */
    background-image: url('/images/auringonkukat.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

/* Puoliläpinäkyvä laatikko hero-section tekstille */
.hero-content {
    background-color: rgba(247, 245, 240, 0.9);
    /* Sivuston hiekanvärinen pohja, 90% peittävyys */
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #4a5d4e;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #3e3e3e;
}

.hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #4a5d4e;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.hero-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #4a5d4e;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3b4a3e;
    /* Hieman tummempi vihreä hover-efektissä */
}

/* Kuvien asettelu (Hero ja sisältö) */
.hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-section {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    margin: 15px auto;
    /* 'auto' sivuilla keskittää kuvan automaattisesti */
    display: block;
    /* Vaaditaan, jotta automaattinen marginaali toimii kuvalle */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Palvelulaatikot */
.services-preview {
    padding: 60px 5%;
    text-align: center;
}

.services-preview h2 {
    color: #4a5d4e;
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    border-top: 4px solid #8c7a6b;
    /* Ohut korostusviiva laatikon yläreunassa */
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    /* Pieni nostoefekti kun hiiri on päällä */
}

.service-card h3 {
    color: #4a5d4e;
    margin-bottom: 15px;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Sisältösivu (Lisätietoa) */
.info-main {
    padding: 50px 5%;
    max-width: 800px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-content h1,
.info-content h2 {
    color: #4a5d4e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.info-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: none;
}

.info-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.info-content li::before {
    content: "•";
    color: #8c7a6b;
    /* Korostusvärin mukaiset pallukat */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.hinnasto-huomio {
    margin-top: -5px;
    /* Vetää tekstiä aavistuksen lähemmäs otsikkoa */
    margin-bottom: 20px;
    /* Tekee selkeän välin ennen listaa */
    padding-left: 20px;
    /* Sisentää tekstin kauniimmin listan suuntaan */
    color: #555;
    /* Pehmentää väriä huomautukselle sopivaksi */
    font-size: 0.95em;
}

/* Footer */
.main-footer {
    background-color: #4a5d4e;
    color: #f7f5f0;
    padding: 40px 5%;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info a {
    color: #e6e2d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ffffff;
}

.footer-business {
    text-align: right;
}

html {
    scroll-behavior: smooth;
}

/* Responsiivisuus mobiilille */
@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-business {
        text-align: center;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
    }
}