/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

/* BODY */

body {
    background:
        radial-gradient(circle at top left,
            #1b1b1b 0%,
            #111111 45%,
            #0a0a0a 100%);

    color: #f2f2f2;
    font-family: Arial, sans-serif;

    min-height: 100vh;

    overflow-x: hidden;

    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TOPBAR */

.topbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding:
        18px
        80px;

    background:
        rgba(18, 18, 18, 0.92);

    border-bottom:
        1px solid #242424;

    backdrop-filter:
        blur(10px);

    position: relative;

    z-index: 1000;
}

/* LOGO */

.topbar-logo {

    font-size: 32px;

    font-weight: bold;

    color: white;

    letter-spacing: -1px;
}

.topbar-logo span {

    color: #00bfff;

    text-shadow:
        0 0 12px rgba(0, 191, 255, 0.25);

}

/* SLOGAN */

.topbar-text {

    color: #cfcfcf;

    font-size: 18px;

    font-style: italic;

    opacity: 0.85;

    letter-spacing: 0.5px;

    justify-content: center;
    
}


/* HERO CONTAINER */
.container {

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 100px;

    padding: 80px 120px;

    max-width: 1900px;
    margin: 0 auto;
}


/* LOGO */

.logo img {
    width: 420px;
    max-width: 100%;

    filter: drop-shadow(0 0 18px rgba(0, 191, 255, 0.18));

    border-radius: 20px;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.logo img:hover {

    transform: scale(1.03);

    filter:
        drop-shadow(0 0 25px rgba(0, 191, 255, 0.35))
        drop-shadow(0 0 50px rgba(0, 191, 255, 0.15));
}

/* HERO TEXT */

.hero-section {
    max-width: 650px;
}

.hero-text h1 {
    font-size: 72px;

    line-height: 1.1;

    margin-bottom: 20px;

    color:#ffffff;

}

.hero-text span {
    font-style: italic;
    color: #00bfff;
}

.hero-text p {
    font-size: 28px;
    line-height: 1.8;

    color: #d6d6d6;
}

/* HERO LINK */

.hero-link {

    display: inline-block;

    margin-top: 38px;

    color: #00bfff;

    font-size: 18px;

    font-weight: 600;

    text-decoration: none;

    letter-spacing: 0.3px;

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.hero-link:hover {

    transform: translateX(6px);

    color: #66d9ff;

    text-shadow:
        0 0 12px rgba(0, 191, 255, 0.25);
}

html {
    scroll-behavior: smooth;
}

/* ACCENT LINE */

.accent-line {
    width: 120px;
    height: 4px;

    background: #00bfff;

    margin-bottom: 30px;

    border-radius: 999px;

    box-shadow: 0 0 15px rgba(0, 191, 255, 0.35);
}

.text-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    margin-top: 20px;
}

.text-box {
    flex: 1;
}

.text-box p {
    font-size: 20px;
    line-height: 1.7;
    color: #d6d6d6;
}


/* CONTACT BOX */

.right-section {
    width: 430px;
}

.contact-box {

    background-color: #1d1d1d;

    border: 1px solid #2b2b2b;

    padding: 50px;

    border-radius: 20px;

    box-shadow:
        0 0 30px rgba(0, 191, 255, 0.10);

    backdrop-filter: blur(10px);
}

.contact-box h2 {

    margin-bottom: 30px;

    color: #00bfff;

    font-size: 30px;
}

.contact-person {
    margin-bottom: 35px;
}

.contact-person:last-child {
    margin-bottom: 0;
}

.contact-person h3 {

    font-size: 22px;

    margin-bottom: 6px;

    color: white;
}

.role {

    color: #00bfff;

    font-size: 15px;

    margin-bottom: 14px;

    letter-spacing: 0.5px;
}

.contact-person p {

    margin-bottom: 8px;

    color: #cfcfcf;
}

.contact-person a {

    color: #00bfff;

    text-decoration: none;
}

.contact-person a:hover {
    color: #66d9ff;
}


/* INFO SECTION */

.info-section {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 60px;

    padding: 100px 120px;

    max-width: 1800px;

    margin: 0 auto;
}

.info-card {

    background-color: #1a1a1a;

    border: 1px solid #2b2b2b;

    border-radius: 20px;

    padding: 60px;

    min-width: 0;

    box-shadow:
        0 0 20px rgba(0, 191, 255, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h2 {

    font-size: 25px;

    margin-bottom: 20px;

    color: #00bfff;

    text-align: center;
    
}

.info-card h2::after {

    content: "";

    display: block;

    width: 50px;
    height: 3px;

    background: #00bfff;

    margin: 18px auto 0 auto;

    border-radius: 999px;

    opacity: 0.8;
}

.info-card p {

    color: #cfcfcf;

    line-height: 1.8;

    font-size: 25px;

    text-align: center;
}





/* PALVELU & TOIMINTAMALLI */

.service-section {

    padding:
        120px
        120px;

    max-width: 1800px;

    margin: 0 auto;
}

/* HEADER */

.section-header {

    margin-bottom: 80px;
}

.small-title {

    font-size: 20px;

    letter-spacing: 4px;

    color: #00bfff;

    margin-bottom: 20px;

    font-weight: 600;
}

.section-header h2 {

    font-size: 64px;

    color: white;

    line-height: 1.1;
}

/* LAYOUT */

.service-layout {

    display: grid;

    grid-template-columns:
        1.2fr
        1fr;

    gap: 120px;
}

/* VASEN */

.service-model {

    display: flex;

    flex-direction: column;

    gap: 50px;
}

.service-item {

    display: flex;

    gap: 30px;
}

.service-number {

    font-size: 38px;

    color: #00bfff;

    min-width: 70px;

    font-weight: bold;

    opacity: 0.9;
}

.service-content h3 {

    font-size: 29px;

    margin-bottom: 14px;

    color: white;
}

.service-content p {

    color: #cfcfcf;

    line-height: 1.9;

    font-size: 19px;

    max-width: 600px;
}

/* OIKEA */

.target-group {

    display: flex;

    flex-direction: column;

    gap: 80px;
}

.target-item {

    display: flex;

    gap: 25px;

    align-items: flex-start;
}

.target-arrow {

    color: #00bfff;

    font-size: 35px;

    margin-top: 4px;
}

.target-item h3 {

    font-size: 29px;

    margin-bottom: 12px;

    color: white;
}

.target-item p {

    color: #cfcfcf;

    line-height: 1.8;

    font-size: 19px;

    max-width: 450px;
}


/* VISIO SECTION */

.vision-section {

    padding:
        40px
        120px
        120px;

    max-width: 1800px;

    margin: 0 auto;
}

/* BOX */

.vision-box {

    background-color: #1a1a1a;

    border:
        1px solid #2b2b2b;

    border-radius: 24px;

    padding: 70px;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    box-shadow:
        0 0 30px rgba(0, 191, 255, 0.06);
        
}

/* LEFT */

.vision-left h2 {

    font-size: 52px;

    line-height: 1.2;

    color: white;
}

.vision-left span {

    color: #00bfff;

    font-style: italic;

    text-shadow:
        0 0 15px rgba(0, 191, 255, 0.18);
}

/* RIGHT */

.vision-right {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 26px;
}

.vision-item {

    color: #d2d2d2;

    font-size: 22px;

    line-height: 1.8;
}


/* FOOTER */

footer {

    text-align: center;

    padding: 25px;

    color: #888;

    border-top: 1px solid #222;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

    /* TOPBAR */

    .topbar {

        flex-direction: column;

        gap: 10px;

        text-align: center;

        padding: 20px 30px;
    }

    .topbar-logo {

        font-size: 28px;
    }

    .topbar-text {

        font-size: 15px;
    }

    /* HERO */

    .container {

        flex-direction: column;

        text-align: center;

        padding: 70px 40px;

        gap: 70px;
    }

    .hero-section {

        max-width: 800px;
    }

    .hero-text h1 {

        font-size: 56px;
    }

    .hero-text p {

        font-size: 22px;

        line-height: 1.7;
    }

    .accent-line {

        margin-left: auto;
        margin-right: auto;
    }

    .logo img {

        width: 320px;
    }

    /* CONTACT */

    .right-section {

        width: 100%;
        max-width: 500px;
    }

    /* INFO */

    .info-section {

        grid-template-columns: 1fr;

        gap: 40px;

        padding: 80px 40px;
    }

    .info-card {

        padding: 45px;
    }

    .info-card h2 {

        font-size: 28px;
    }

    .info-card p {

        font-size: 22px;
    }

    /* SERVICE */

    .service-section {

        padding: 90px 40px;
    }

    .service-layout {

        grid-template-columns: 1fr;

        gap: 80px;
    }

    .section-header h2 {

        font-size: 50px;
    }

    .service-content h3 {

        font-size: 25px;
    }

    .target-item h3 {

        font-size: 24px;
    }

    /* VISION */

    .vision-section {

        padding: 30px 40px 90px;
    }

    .vision-box {

        grid-template-columns: 1fr;

        gap: 50px;

        padding: 50px;
    }

    .vision-left h2 {

        font-size: 42px;
    }

    .vision-item {

        font-size: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    /* HERO */

    .container {

        padding: 60px 25px;

        gap: 55px;
    }

    .hero-text h1 {

        font-size: 46px;
    }

    .hero-text p {

        font-size: 19px;
    }

    .hero-link {

        font-size: 17px;
    }

    .logo img {

        width: 260px;
    }

    /* CONTACT */

    .contact-box {

        padding: 40px 30px;
    }

    .contact-box h2 {

        font-size: 26px;
    }

    .contact-person h3 {

        font-size: 20px;
    }

    /* INFO */

    .info-section {

        grid-template-columns: 1fr;

        padding: 60px 20px;

        gap: 24px;

        width: 100%;
    }

    .info-card {

        width: 100%;

        padding: 30px 24px;
    }

    .info-card h2 {

        font-size: 24px;
    }

    .info-card p {

        font-size: 19px;
    }

    /* SERVICE */

    .service-section {

        padding: 70px 25px;
    }

    .section-header {

        margin-bottom: 60px;
    }

    .section-header h2 {

        font-size: 42px;
    }

    .small-title {

        font-size: 16px;

        letter-spacing: 3px;
    }

    .service-item {

        gap: 20px;
    }

    .service-number {

        font-size: 30px;

        min-width: 55px;
    }

    .service-content h3 {

        font-size: 22px;
    }

    .service-content p {

        font-size: 17px;
    }

    .target-group {

        gap: 50px;
    }

    .target-item h3 {

        font-size: 21px;
    }

    .target-item p {

        font-size: 17px;
    }

    /* VISION */

    .vision-section {

        padding: 20px 25px 70px;
    }

    .vision-box {

        padding: 40px 30px;
    }

    .vision-left h2 {

        font-size: 34px;
    }

    .vision-item {

        font-size: 17px;

        line-height: 1.7;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 600px) {

    /* TOPBAR */

    .topbar {

        padding: 18px 20px;
    }

    .topbar-logo {

        font-size: 24px;
    }

    .topbar-text {

        font-size: 13px;

        line-height: 1.5;
    }

    /* HERO */

    .container {

        padding: 45px 20px;

        gap: 45px;
    }

    .hero-text h1 {

        font-size: 36px;

        line-height: 1.15;
    }

    .hero-text p {

        font-size: 17px;

        line-height: 1.7;
    }

    .hero-link {

        margin-top: 28px;

        font-size: 16px;
    }

    .accent-line {

        width: 90px;
    }

    .logo img {

        width: 210px;
    }

    /* CONTACT */

    .contact-box {

        padding: 30px 22px;

        border-radius: 16px;
    }

    .contact-box h2 {

        font-size: 22px;
    }

    .contact-person h3 {

        font-size: 18px;
    }

    .role {

        font-size: 14px;
    }

    .contact-person p {

        font-size: 15px;
    }

    /* INFO */

    .info-section {

        padding: 50px 16px;

        gap: 20px;
    }

    .info-card {

        padding: 24px 18px;
    }

    .info-card h2 {

        font-size: 21px;
    }

    .info-card p {

        font-size: 16px;

        line-height: 1.7;
    }

    /* SERVICE */

    .service-section {

        padding: 55px 20px;
    }

    .section-header h2 {

        font-size: 34px;
    }

    .service-item {

        flex-direction: column;

        gap: 12px;
    }

    .service-number {

        font-size: 26px;
    }

    .service-content h3 {

        font-size: 20px;
    }

    .service-content p {

        font-size: 16px;

        line-height: 1.7;
    }

    .target-item {

        gap: 15px;
    }

    .target-arrow {

        font-size: 24px;
    }

    .target-item h3 {

        font-size: 19px;
    }

    .target-item p {

        font-size: 16px;
    }

    /* VISION */

    .vision-box {

        padding: 30px 22px;

        border-radius: 18px;
    }

    .vision-left h2 {

        font-size: 28px;
    }

    .vision-item {

        font-size: 16px;
    }

    /* FOOTER */

    footer {

        font-size: 14px;

        padding: 20px;
    }
}