/* PERUS */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
}

h1 {
  font-size: clamp(32px, 6vw, 70px);
  font-weight: 400;
  text-shadow: 2px 8px 6px rgba(0,0,0,0.2), 0px -5px 35px rgba(255,255,255,0.3), 2px 2px 2px rgba(206,89,55,0);

}

h2 {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 400;
}

/* YLÄRIVI */
#upper-row-wrapper {
  position: relative;
  height: 100px;
}

#upper-row-background {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  z-index: 10;
}

#upper-row-content {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 20px;
  z-index: 20;
}

#upper-row-logo {
  width: 200px;
  height: 100px;
  background: url('img/logo-tumma.png') no-repeat center / contain;
}

#upper-row-phone {
  color: #4A1942;
  font-size: 20px;
  text-decoration: none;
}

/* HERO */
#hero-wrapper {
  position: relative;
}

#hero-image {
  height: 700px;
  background: url('img/background.png') center / cover no-repeat;
}

#hero-image-cut {
  position:relative;
  background: #4A1942;
  transform: skew(0deg, -3deg);
  padding: 150px 0 100px 0; /* antaa tilaa sisällölle */
  margin-top:0px;
}


#hero-content {
  max-width: 1100px;
  margin: -150px auto 0;
  padding: 0 20px;
  color: #ffffff;
  margin-top: -650px;
  padding-bottom:100px;
  position:relative;
  text-align:center;
}

#hero-content-2 {
  max-width: 1100px;
  margin: -100px auto 0;
  padding: 0 20px;
  color: #ffffff;
  text-align:center;
  transform: skew(0deg, 3deg);

}

/* CONTENT */
.content-section {
  padding: 50px 0;
}

.content-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 20px;
}

.content-section.reverse .content-inner {
  flex-direction: row-reverse;
  background-color: #ececec;
  padding: 40px;
}

.content-image {
  flex: 1;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.content-textbox {
  flex: 1;
  color: #4A1942;
}

.content-textbox p {
  font-size: 18px;
  line-height: 1.6;
}

/* FOOTER */
#footer-wrapper {
  position: relative;
  margin-top: 100px;
}

#footer-background {
  position:relative;
  height: 350px;
  background: #4A1942;
  border-radius: 30px 30px 0 0;
  left:7.5%;
  width: 85%;
}

#footer-content {
  position:relative;
  max-width: 1100px;
  margin: -320px auto 0;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
}

#footer-logo {
  width: 200px;
  height: 100px;
  margin: 0 auto 20px;
  background: url('img/logo.png') no-repeat center / contain;
}

/* MOBIILI */
@media (max-width: 768px) {

  #upper-row-wrapper {
    height: 120px;
  }

  #upper-row-background {
    height: 160px;
  }

  #upper-row-content {
    flex-direction: column;
    gap: 10px;
  }
  #upper-row-logo {
padding-top:50px;
padding-bottom:50px;
  }


  #hero-content {
    text-align: center;
    margin-top:-450px;
  }
  #footer-background {
    border-radius: 0 0 0 0;
    left:0%;
    width: 100%;
  }

  .content-inner {
    flex-direction: column;
    text-align: center;
  }

  .content-section.reverse .content-inner {
    flex-direction: column;
  }

  .content-image {
    min-height: 250px;
    width: 100%;
  }
}
