/* RESETTI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PERUSTYYLIT */
html, body {
    margin: 0;
    padding: 0;
    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;
}



/* HEADER GRID-JAKO */
.header-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}


.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;
}

/* SISÄLTÖALUE */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.root-content {
    height: calc(100vh - 15vh);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3vw;
    padding: 4vw 6vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    align-items: start;
    flex: 1;
}

/* ABOUT CONTENT */
.about-wrapper {
    display: contents;
}

/* Vasemman puolen teksti */
.about-text {
    color: #faf5ec;
    font-weight: 400;
    padding-bottom: 3vw;
    margin-top: -6vw;
}

.about-text h1.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3.1vw;
    color: #d1ac5c;
    margin-bottom: 1.5vw;
    text-align: left;
    font-weight: 400;
}

.underline {
    height: 2px;
    width: 75%;
    background-color: #faf5ec;
    margin-bottom: 2vw;
}

.about-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15vw;
    line-height: 1.4;
    margin-bottom: 1.5vw;
    color: #faf5ec;
    font-weight: 400;
}

/* Oikean puolen kuva (placeholder nyt tyhjä) */
.about-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2vw auto;
}

.image-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5vw;
    box-shadow: 100px -80px 0 0 rgba(47, 59, 49, 0.5); /* tarkka varjo */
    z-index: 0;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 0.5vw;
    object-fit: cover;
    filter: blur(1.5px) brightness(0.6); /* pelkkä kuva blurraa */
    position: relative;
    z-index: 1;
}

.space {
    margin-top: 3rem;
}

/* FOOTER */
.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;
}
.root-footer p {
    color: #443a2a;
    font-size: 0.9vw;
}