/* Tuodaan pehmeä ja ystävällinen Nunito-fontti Google Fontsista */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* --- UUSI VÄRIPALETTI: Salvia ja Hiekka --- */
/* --- UUSI VÄRIPALETTI: Tyyni vesi ja Kaura --- */
:root {
    --bg-color: #FDFBF7;
    /* Kauramaidon värinen, erittäin pehmeä tausta */
    --text-color: #2C363F;
    /* Tumma, pehmeä siniharmaa (leipätekstiin) */
    --primary-color: #6B8E9B;
    /* Utuinen, murrettu sininen (painikkeet, linkit, pääotsikot) */
    --primary-hover: #547380;
    /* Hieman tummempi sininen hover-efekteihin */
    --secondary-color: #E3D8C8;
    /* Lämmin kaura/beige (korostuksiin) */
    --accent-color: #F2EFE9;
    /* Vaalea hiekka (korttien taustat) */
}

/* Perusasetukset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Lisää tämä uusi sääntö body-koodin alle */
h1,
h2,
h3,
.logo {
    font-family: 'Lora', serif;
}

/* Header & Navigaatio */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.hero-section {
    background-image: url('/images/water.jpg');
    background-size: cover;
    /* Skaalaa kuvan peittämään koko alueen */
    background-position: center;
    /* Keskittää kuvan nätisti */
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

/* Kuvat */
.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);
}

/* Palvelulaatikot */
.services-preview {
    padding: 60px 5%;
    text-align: center;
}

.services-preview h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background: var(--accent-color);
    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 var(--primary-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Sisältösivu (Lisätietoa) */
.info-main {
    padding: 50px 5%;
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--accent-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-content h1,
.info-content h2 {
    color: var(--primary-color);
    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: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.hinnasto-huomio {
    margin-top: -5px;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #666;
    font-size: 0.95em;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    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: var(--bg-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-info a:hover {
    opacity: 0.8;
}

.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;
    }
}