* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    width: 100%;
    font-family: var(--font-family);
    overflow-x: hidden;
}

/*.page-container {
    display: grid;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
        "banner"
        "hero"
        "about"
        "choose-us"
        "contact-us"
        "footer";
}*/

:root {
    --primary-color: #F2F2F2;
    --secondary-color: #7593D2;
    --text-color: #414141;
    --background-color: #FFFFFF;
    --font-family: 'Inter';
    --padding: 2rem;
    --gap: 2rem;
    --font-family: 'Inter', sans-serif;
}


/* NAVIGOINTI */

.banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: var(--background-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.banner.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    height: 60px;
}

.hamburger {
    font-size: 2rem;
    color: var(--text-color);
}

.hamburger {
    display: none;
}


.logo-div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navigation {
    display: flex;
}


.navigation ul {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: center;
    list-style: none;
}

.navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.navigation a:hover {
    color: var(--secondary-color);
    transition: color 0.2s ease;
}

a .company-name {
    font-size: 22px;
    font-weight: 400;
    color: var(--secondary-color);
    text-transform: uppercase;
}


/* ETUSIVU */

.hero-wrapper {
    margin-top: 90px;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    width: auto;
    /*height: calc(100vh - 75px);*/
    background-image: url("img/HERO-IMAGE.webp");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: left;
}

.intro-div {
    grid-column: 2/6;
    padding-top: 5rem;
    display: flex;
    justify-content: top;
    align-items: left;
    flex-direction: column;
    margin: 3vw 0 5vw 0;
}

h1 {
    text-transform: uppercase;
    font-size: 62px;
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
}

h2 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}

p {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.hero-text {
    font-size: 17px;
    color: var(--text-color);
}

#hero-button {
    display: inline-block;
    margin: 3rem 0;
    text-align: center;
    background-color: white;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 7px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0px 4px 6px rgba(36, 35, 35, 0.1);
    color: var(--text-color);
    font-size: 20px;
    width: 18rem;
    cursor: pointer;
    text-decoration: none;
}

#hero-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


/* YRITYKSEMME */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 8rem 0 8rem;
    margin: 5rem 0;
    grid-template-areas:
        "col1 col2";
    overflow-x: hidden;
}

.about-col-1,
.about-col-2 {
    display: flex;
}

#about-title {
    text-align: left;
    padding-bottom: 1.5rem;
}

.about-description,
.about-img {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.about-description {
    background-color: #F2F2F2;
    padding: 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 7px;
}

.about-col-2 {
    border-radius: 7px;
    overflow: hidden;
}

.about-mockup {
    width: 100%;
    object-fit: cover;
    display: block;
}


/* MIKSI VALITA MEIDÄT */
.choose-us {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "title title title"
        "col1 col2 col3";
    background-color: #F2F2F2;
    gap: 2rem;
    margin: 0;
    padding: 2rem 8rem 4rem 8rem;
}

.choose-us-title {
    grid-area: title;
    grid-column: span 3;
    text-align: center;
    padding-top: 2.5rem;
}


.choose-us-col-1,
.choose-us-col-2,
.choose-us-col-3 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top: 5rem;
}

.choose-us-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.choose-us-icon-1,
.choose-us-icon-2,
.choose-us-icon-3 {
    position: absolute;
    top: -4rem;
    display: flex;
    justify-content: center;
    width: 7rem;
    height: auto;
    z-index: 1;
}

.choose-us-icon-1 img,
.choose-us-icon-2 img,
.choose-us-icon-3 img {
    width: 100%;
    height: auto;
    display: block;
}

.choose-us-text {
    background-color: white;
    border-radius: 7px;
    padding: 3rem 3rem 3rem 3rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

h4 {
    padding: 2rem;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
}


/* OTA YHTEYTTÄ */

.contact-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title title"
        "col1 col2";
    gap: 2.2rem;
    padding: 2rem 8rem 5rem 8rem;
}

.contact-us-title {
    grid-area: title;
    text-align: center;
    padding-top: 2rem;
}

.contact-us-col-1 {
    display: grid;
    grid-area: col1;
    grid-template-areas:
        "contact-list"
        "contact-map";
}

.contact-us-col-1,
.contact-us-col-2 {
    margin-top: 2rem;
}

.contact-us-col-2 {
    grid-area: col2;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 2rem;
}

.contact-list {
    grid-area: contact-list;
    margin-bottom: 2rem;
}

.contact-list>ul {
    list-style-type: none;
}

.contact-list li {
    padding: 0.7rem 0;
    color: var(--text-color);
}

.contact-map {
    grid-area: contact-map;
}

.icon {
    width: 1.2rem;
    height: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.facebook-link {
    color: var(--text-color);
    text-decoration: none;
}

.facebook-link:hover {
    color: var(--secondary-color);
    transition: color 0.2s ease;
}


/* OTA YHTEYTTÄ > CONTACT FORM */

.contact-us {
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-us-col-1,
.contact-us-col-2 {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    width: 100%;
    height: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

.contact-us form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2.2rem 3rem;
    background-color: #F2F2F2;
    height: 100%;
    border-radius: 7px;
    font-weight: 300;
    color: var(--text-color);
}

.contact-us label {
    font-size: 16px;
    color: var(--text-color);
}

.contact-us input,
.contact-us textarea {
    padding: 14px;
    font-size: 1rem;
    border: none;
    margin-bottom: 1rem;
    border-radius: 5px;
}

#message {
    padding: 14px;
    min-height: 9rem;
}

#contact-button {
    background-color: #ffffff;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    font-weight: 300;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0px 4px 6px rgba(36, 35, 35, 0.1);
    width: 12rem;
    border-radius: 7px;
    font-size: 16px;
    margin-top: 1.1rem;
}

#contact-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}


/* FOOTER */

.footer {
    background-color: #ffffff;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
    height: 160px;
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-name {
    color: var(--text-color);
    font-weight: 500;
    padding-top: 1rem;
    text-align: left;
}

.y-tunnus {
    text-align: left;
}

.hph-logo img {
    width: 65px;
    height: auto;
    padding-top: 10px;
}


/* KIITOS MESSAGE */

.kiitos_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8vh 8vw; /* responsive padding */
    min-height: 80vh; /* center content vertically */
    text-align: center;
}

#kiitos_title {
    font-size: clamp(2rem, 6vw, 4rem); /* responsive title */
    color: var(--text-color);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-transform: none;
}

#kiitos_message {
    font-size: clamp(1rem, 2.5vw, 1.5rem); /* responsive paragraph */
    margin-bottom: 2rem;
    color: var(--text-color);
}

#kiitos_link {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    transition: text-decoration 0.3s ease, color 0.3s ease;
}

#kiitos_link:hover {
    text-decoration: underline;
}