/* Perusasetukset */
:root {
    --blue: #5a59deff;
    --white: #ffffff;
    --font-main: 'Arial', 'Helvetica', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Yleiset apuluokat */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 1. Hero */
.hero {
    background: var(--white);
    color: var(--blue);
    text-align: center;
    padding: 3rem 1rem;
}

.hero-image img {
    max-width: 100%;
	width: 60%;
    height: auto;
    opacity: 0;
    animation: fadeIn 1.0s ease-in-out forwards;
    animation-delay: 0.s;
}


.slogan {
    margin-top: 1.5rem;
    font-size: 1.6rem;
}

/* 2. Palvelut */
.services {
    background: var(--blue);
    color: var(--white);
}

.services-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.services-text,
.services-image {
    flex: 1;
}

.services-image img {
    max-width: 80%;
    border-radius: 8px;
}

/* 3. Hinnasto */
.pricing {
    background: var(--white);
    color: var(--blue);
    text-align: center;
}

.price {
    margin-top: 1rem;
    font-size: 2.5rem;
    font-weight: bold;
}

/* 4. Yhteydenotto */
.contact {
    background: var(--blue);
    color: var(--white);
	display: flex;
    flex-direction: column;
    align-items: center;   /* vaakasuuntainen keskitys */
	text-align: center;
}

form {
    width: 100%;
    max-width: 500px;
}

label {
    display: block;
    margin-top: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border: none;
    border-radius: 4px;
}

button {
    margin-top: 1.5rem;
    padding: 0.8rem;
    width: 100%;
    background: var(--white);
    color: var(--blue);
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

/* 5. Footer */
.footer {
    background: var(--white);
    color: var(--blue);
    text-align: center;
    padding: 2rem 1rem;
}

.footer img {
    width: 50px;
    margin-bottom: 1rem;
}

.footer .copyright {
    margin-top: 10rem; /* voit säätää numeroa vapaasti */
    font-size: 0.9rem;
}

/* Responsiivisuus */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        text-align: center;
    }
	.services-image img {
    max-width: 80%;
    border-radius: 8px;
}
	
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


