/* RESETTI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PERUSTYYLIT */
html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #faf5ec;
    background-color: #221d1b;
    background-image: url("images/tausta1pc.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

/* HEADER GRID-JAKO */
.root-header {
    display: grid;
    grid-template-columns: 2vw auto 0 auto 1fr 3fr 1fr;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    height: 15vh;
    box-sizing: border-box;
}

.grid-item {
    display: flex;
    align-items: center;
}
.item4 {
    flex-direction: column;
}

.logo {
    height: 4.5vw;
    width: auto;
}

.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.site-title-line1 {
    font-size: 1.4vw;
    font-weight: 400;
    font-family: 'Cinzel', serif;
    color: #faf5ec;
}
.site-title-line2 {
    font-size: 0.8vw;
    font-family: 'Cinzel', serif;
    color: #faf5ec;
    font-weight: 400;
    margin-top: 0.2vw;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 2vw;
    font-family: 'Cinzel', serif;
    font-size: 0.8vw;
}
.nav-links a {
    position: relative;
    padding: 0 1.5vw;
    font-size: 1.12vw;
    color: #faf5ec;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    text-align: center;
}
.nav-links a:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -0.75vw;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: #faf5ec;
    opacity: 0.6;
}
.nav-links a:hover,
.nav-links .active {
    color: #ceaa5b;
}

.root-content {
    min-height: calc(100vh - 15vh);
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.concepts-grid-new {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2vw;
    align-items: start; /* Tärkeä, jotta laatikot pysyvät ylhäällä */
    justify-items: center;
}

.concept-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    height: 100%;
}

.green-box {
    background-color: #3f4d42;
    color: #faf5ec;
    border-radius: 1vw;
    width: 35vw;
    min-height: 22vw; /* Määritetään yhteinen minimi-korkeus */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 1vw;
    box-sizing: border-box;
}

.scale-text {
    width: 100%;
}

.scale-text h2 a:hover {
    font-weight: 600;
}

.scale-text h2,
.scale-text p {
    font-size: 1vw;
    margin: 0.2vw 0;
}

.concept-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.9vw;
    margin-bottom: 0.5vw;
    color: #ceaa5b;
    font-weight: 400;
}
.concept-text p {
    font-size: 1.2vw;
}

.concept-image img {
    width: 28vw !important;  /* Käytetään !important, jotta tämä ohittaa yleissäännön */
    max-width: none !important;  /* Poistetaan max-width */
    position: relative;
    z-index: 3;
    border-radius: 0.5vw;
    object-fit: cover;
    transform: translate(0, 0);  /* oletussiirrot pois, siirrot erikseen */
}

.concept-block:first-child .concept-image img {
  transform: translate(10vw, 1.2vw);
}
.concept-block:last-child .concept-image img {
  transform: translate(-10vw, 1.2vw);
}

.concept-center-text {
    text-align: center;
    color: #faf5ec;
}
.concept-center-text h2 {
    color: #faf5ec;
    font-family: 'Cinzel', serif;
    font-size: 2vw;
    font-weight: 400;
    margin-bottom: 0.5vw;
}
.concept-center-text h2:hover {
    color: #ceaa5b;
    transition: color 0.3s ease;
    cursor: pointer;
}
.concept-center-text p {
    font-size: 0.9vw;
    color: #ceaa5b;
}

.services-wrapper.dark {
    color: #faf5ec;
    padding: 3vw 1vw;
    text-align: center;
    margin-bottom: 8vw;
}
.services-wrapper img {
    width: 100%;
    display: block;
    margin: -2vw auto;
    border-radius: 0.5vw;
    height: auto;
    object-fit: contain;
}

.section-title.gold {
    color: #ceaa5b;
    font-family: 'Cinzel', serif;
    font-size: 3vw;
    font-weight: 400;
    margin-bottom: 3vw;
}

.concept-price {
    font-size: 1.2vw;
    color: #faf5ec;
    margin-bottom: 2vw;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5vw;
    margin-bottom: 3vw;
}
.step {
    max-width: 180px;
    text-align: center;
    color: #faf5ec;
}
.step-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1vw;
    object-fit: contain;
}
.step h3 {
    font-size: 1.1vw;
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5vw;
    color: #faf5ec;
}
.step p {
    font-size: 0.9vw;
    color: #faf5ec;
}
.step-arrow {
    font-size: 5vw;
    color: #2f3b31;
    margin-top: 0;
    font-weight: 700;
}

.steps-grid img.step-icon {
    width: 120px;
    max-width: none;
    margin: 0 auto 1vw auto;
    border-radius: 50%;
}

.header-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.concept-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    font-size: 1vw;
    color: #ceaa5b;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2vw;
}
.footer-icon {
    font-size: 1.5vw;
}
.footer-text {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 1.4vw;
}

.section-service-summary {
    background-color: #221d1b;
    padding: 4vw 1vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
    text-align: center;
}
.service-summary-title {
    color: #ceaa5b;
    font-family: 'Cinzel', serif;
    font-size: 3vw;
    font-weight: 400;
}
.service-summary-box {
    background-color: #f8f4ec;
    color: #221d1b;
    border-radius: 1vw;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    width: 80vw;
}
.summary-row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5vw;
    align-items: start;
    border-bottom: 1px solid #c4a65f;
    padding-bottom: 1vw;
}
.summary-title {
    background-color: #3f4d42;
    color: #faf5ec;
    font-weight: 400;
    padding: 0.8vw;
    border-radius: 0.5vw;
    font-size: 1.1vw;
}
.summary-desc {
    font-size: 1.1vw;
}
.summary-desc a {
    color: #3f4d42;
    text-decoration: underline;
    font-weight: 600;
}

.scroll-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.scroll-link:hover h3 {
    color: #ceaa5b;
    transition: color 0.3s ease;
}
.scroll-link h3 {
    font-size: 2vw;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: #faf5ec;
    margin-bottom: 0.5vw;
}

.root-footer {
    height: 2vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8vw;
    color: white;
    font-family: 'Open Sans', sans-serif;
}

.root-footer p {
    color: #443a2a;
    font-size: 0.9vw;
}
