/* 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;
}

/* HEADER */

.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: 0.1vw;
    background-color: #faf5ec;
    opacity: 0.6;
}
.nav-links a:hover,
.nav-links .active {
    color: #ceaa5b;
}

/* SISÄLTÖALUE */
.root-content {
    height: calc(100vh - 15vh);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vw;
    position: relative;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* YHTEYSTIEDOT – ASETTELU */
.contact-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 3vw;
    width: 100%;
    max-width: 90vw;
    padding-left: 5vw;
    padding-top: 1vw;
    padding-right: 5vw;
}

/* Yhteystietolaatikko */
.contact-info {
    flex: 1;
    text-align: left;
}

.contact-title {
    font-family: 'Cinzel', serif;
    font-size: 3vw;
    color: #ffffff;
    margin-bottom: 0.5vw;
    font-weight: 400;
}

.underline {
    height: 0.2vw;
    width: 50%;
    background-color: #d1ac5c;
    margin-bottom: 3vw;
}

.name {
    font-family: 'Cinzel', serif;
    font-size: 3vw;
    font-weight: 400;
    padding-bottom: 2vw;
    color: #d1ac5c;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.2vw;
    margin-bottom: 3vw;
    gap: 1.4vw;
    color: #faf5ec;
    font-family: 'Open Sans', sans-serif;
}

.icon {
    font-size: 1.8vw;
    color: #d1ac5c;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ceaa5b;            /* Kultaefekti */
}

/* KUVA */
.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 7vw;
}

.contact-image img {
    width: 30vw;
    max-height: 60vh;
    border-radius: 2vw;
    object-fit: cover;
    box-shadow: 7vw -6vw 0 0 #d1ac5c;
}

/* 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;
}
