<style>
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    color: #111;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
}

/* NAVI */
nav {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 10;
}

nav img {
    height: 84px;
}
.lang-switch {
    position: absolute;      /* hero:n sisällä suhteessa hero:hun */
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.lang-switch a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 5px;
    transition: background 0.2s ease;
}

.lang-switch a:hover {
    background: rgba(255,255,255,0.8);
    color: black;
}
/* HERO */
.hero {
    height: 100vh;
    background: url("../images/herobackround.png") center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::after {
    z-index: 1;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: rgb(255, 255, 255);
    max-width: 900px;
    padding: 0px;
    text-shadow: 2PX 1PX #2b3b55;
}

.hero-button {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 25px;
    border-radius: 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background: #2b3b55;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}    
/* SECTIONS */
section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 50px;
}

/* PALVELUT */
.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.service {
    background: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(43, 59, 85, 0.08);
}

.service h3 {
    margin-bottom: 15px;
    text-align: center;
}

.service ul {
    list-style: none;
    padding: 0;
}

.service li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}



/* CONTACT */
.cta {
    text-align: center;
    padding: 100px 20px;
}

.cta a {
    background: #2b3b55;
    color: white;
    padding: 18px 60px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.2rem;
}

/* SOME */
.social {
    background: #e9e9e9;
    text-align: center;
    font-size: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-icons img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* CONTACTBOX */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    padding: 14px;
    border: none;
    background: #2b3b55;
    color: white;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

footer {
    background: #2b3b55;
    color: white;
    text-align: center;
    padding: 0px;
    margin-top: 60px;
}
.logo-desktop {
    display: inline-block;   
}

.logo-mobile {
    display: none; 

}
/* RESPONSIVE */
@media (max-width: 800px) {
        nav {
        text-align: center;
    }
    .logo-desktop {
        display: none; 
    }
    .logo-mobile {
        display: inline-block; 
    }
    .hero h1 {
        text-align: center; 
        font-size: 2rem;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .social-icons {
        display: flex;          
        justify-content: center;  
        flex-direction: row;     
        gap: 20px;
        flex-wrap: wrap;        
    }
       #contact h2 {
        text-align: center;
        font-size: 1.8rem; 
        margin-bottom: 20px;
    }
       nav img {
        display: block;
        margin: 0 auto;
    }
}
.contact-btn {
    background: #2b3b55;    
    color: rgb(255, 255, 255);         
    border-radius: 30px;
    padding: 15px 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.contact-btn:hover {
    background: #ffffff;  
    color: #2b3b55;         
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.contact-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.lang-switch {
        font-size: 0.9rem;
        top: 15px;
        right: 15px;
}
</style>