body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f7f9;
  color: #222;
  line-height: 1.6;
}
p{
	font-size: 18px;
}

.tarjous {
  position: relative;
  display: inline-block;
  background-color: #FFE2B2;
  color: #000;
  padding: 1em 1.5em;
  border-radius: 1em;
  font-weight: bold;
  font-family: sans-serif;
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  animation: popUp 0.6s ease-out;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.8s ease-out;
  font-size: 16px;
}


.tarjous.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sakara alaspäin */
.tarjous::after {
  content: "";
  position: absolute;
  bottom: -25px; /* Sakaran korkeus */
  left: 20%;
  transform: translateX(-50%);
  border-width: 14px;
  border-style: solid;
  border-color: #FFE2B2 transparent transparent transparent;
}

/* Animaatio */
@keyframes popUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu valikko */

.menuLogo{
	width:400px;
	height:56px;
	padding-left:10px;
	margin-top: 20px;
	margin-bottom: 10px;
}

 .headerMenu {
  background-color: #1291a7;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  /*position: fixed;*/
  width: 100%;
  z-index: 3;
  border-bottom: 2px solid #006373;
}


.headerMenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.headerMenu li{
    float: left;
	width:25%;	
}

.headerMenu li a {
  display: block;
  padding: 15px 20px;
  border-right: 1px dotted #1291a7;
  text-decoration: none;
  border-bottom: 1px dotted #1291a7;
  /*border-top: 1px dotted #007b8f;*/
  font-size: 18px;
  color: #007b8f;
}

.headerMenu li a:hover {
  background-color: #b9d8dd;
  color: #002426;
}

.headerMenu .valiotsikko {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  font-family: Arial, sans-serif;
  line-height: 0.95em;
  letter-spacing:0.2px;
  font-style: normal;		
  color: #fff;	  
}

.headerMenu .valiotsikkoRivi{
	display: block;
	width:100%;
	padding: 15px 20px;
	background-color: #fff;
	border:0px;
}

.headerMenu .sulje {
  cursor: pointer;
  display: block;
  float: left;
  font-size: 22px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  line-height: 0.95em;
  letter-spacing:0.2px;
  font-style: normal;		
  color: #fff;	  
  text-transform: uppercase;
}

.headerMenu .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.headerMenu .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 41px 20px;
  position: relative;
  user-select: none;
}

.headerMenu .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 28px;
}

.headerMenu .menu-icon .navicon:before,
.headerMenu .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.headerMenu .menu-icon .navicon:before {
  top: 7px;
}

.headerMenu .menu-icon .navicon:after {
  top: -7px;
}

.headerMenu .menu-btn {
  display: none;
}

.headerMenu .menu-btn:checked ~ .menu {
  max-height: 3500px;
}

.headerMenu .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.headerMenu .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.headerMenu .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.headerMenu .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.headerMenu .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

.paivamaara{
	font-size: 15px !important;
}

  .carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: #006373;
    color: white;
    /*height: 40px;*/
	padding:5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-track {
    display: flex;
    transition: transform 1s ease;
    width: 400%; /* 4 itemiä = 4x leveys */
  }

  .carousel-item {
    flex: 0 0 100%;
    text-align: center;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .carousel-item i {
    margin-right: 0.5rem;
    font-size: 15px;
  }
  

header.hero {
  background: url('img/hero-lake-motorhome.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
header.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px; /* säädä häivytyksen korkeus tarpeen mukaan */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #f4f7f9 100%);
  pointer-events: none; /* estää interaktiot taustaelementin päällä */
}  
	
header.hero .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  z-index:2;
}

.heroSpace{
	display:none;
}

a.customLinkki,
a.customLinkki:visited,
a.customLinkki:active {
  color: #007b8f;
  text-decoration: none;
}

a.customLinkki:hover {
  color: #006373;
  text-decoration: underline;
}

a.whiteLinkki,
a.whiteLinkki:visited,
a.whiteLinkki:active {
  color: #fff;
  text-decoration: none;
}

a.whiteLinkki:hover {
  color: #fff;
  text-decoration: underline;
}

#res-kuva{
	max-width: 100%; height: auto;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background-color: #007b8f;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #006373;
}

.cta-buttonIso {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background-color: #007b8f;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 22px;
}

.cta-buttonIso:hover {
  background-color: #006373;
}

section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.hero-banner {
  width: 100%;
  min-height: 400px; /* voit säätää korkeutta tarpeen mukaan */
  background-image: url('img/patjatausta.png'); /* oma polkusi kuvaan */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  background-attachment: fixed; /* Tämä tekee parallaxin */
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content {
  /*background: rgba(0, 0, 0, 0.4); */
  /*padding: 2rem;*/
  /*border-radius: 1rem;*/
}

.three-columns {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}

.three-columns div {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 250px;
}

.three-columns img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.steps ol {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool{	
	text-align:center;
	max-width: 800px;
}

.tool-placeholder {
  background-color: #e6f0fa;
  text-align: center;
  border-radius: 1rem;
  padding: 3rem 2rem;
}

.tool .formHeader{
	background: #007b8f;	
}
.tool .formHeader h3{
	color: #fff;
	text-transform: uppercase;
	padding:15px;
	margin-bottom: 0px;
	margin-top: 0px;
  font-size: 1.2rem;
}

h1 {
  text-align: center;
  color: #007b8f;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-transform:uppercase;
}

.overlay h1{
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.2;	
}

h2 {
  text-align: center;
  color: #007b8f;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.contactSection {
  background-color: #007b8f;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
}

.contactSection h2 {
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.contactSection p{
	color: #fff;
}

.blog {
  background-color: #f9fbfc;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 3rem auto;
}

.blog p{
	text-align:center;
}

.blog .blogiArtikkeli p{
	text-align:left;
}

.blog h2 {
  text-align: center;
  color: #007b8f;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.blog .blogiArtikkeli h2{
	text-align:left;
}

.blog .blogiArtikkeli h3{
	text-align:left;
}

.blog .blogiH2{
  text-align: left;
  color: #007b8f;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  margin-top:0px;
}

.blog ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog li {
  display: flex;
  gap: 1rem;
  background: white;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.blog li:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.blog li img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #007b8f;
  text-align: left;
}

.blog-content p {
  margin: 0 0 0.5rem;
  font-size: 18px;
  color: #333;
  line-height: 1.4;
  max-width: 100%;
  text-align:left;
}

.blog-content a {
  align-self: flex-start;
  text-decoration: none;
  color: #007b8f;
  font-weight: bold;
  font-size: 0.95rem;
}

.blog-content a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {

.menuLogo{
	width:350px;
	height:49px;
	padding-left:10px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.tarjous {
  font-size: 16px;
}

  .hero-banner {
    background-attachment: scroll;
  }
  	.headerMenu li {
		float: left;
		width:100%;
	}
	.headerMenu li a {
		padding: 20px 30px;
	}  	
	
  .blog li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog li img {
    width: 100%;
    height: auto;
    max-width: 400px;
  }

  .blog-content {
    align-items: center;
  }

  .blog-content a {
    align-self: center;
  }
  
  .contactSection{
	width: 80%;
  }
}

.banners {
  text-align: center;
  padding: 10px;
}

.banner-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.banner-logos div {
  padding: 0px;
}

.banner-logos img {
  max-width: 250px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

footer.contact {
  background-color: #007b8f;
  color: white;
  text-align: center;
  padding: 2rem;
  border-top: 4px solid #006373;
}

/* Responsiivisuus */
@media (max-width: 768px) {
  header.hero {
    height: 70vh;
    padding: 1rem;
  }

  header.hero .overlay {
	padding: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .three-columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .three-columns div {
    min-width: 80%;
  }

  .cta-button {
    width: 90%;
    padding: 1rem;
  }
  .cta-buttonIso {
    width: 90%;
    padding: 1rem;
	font-size: 20px;
  }
  
}

@media (max-width: 480px) {

	.menuLogo{
		width:300px;
		height:42px;
		padding-left:10px;
		margin-top: 25px;
	}	

	header.hero {
	  background: url('img/hero-lake-motorhome.jpg') no-repeat left center/cover;
	}

	header.hero .overlay {
		padding: 1rem;
		margin-top:650px;
	}

	.heroSpace{
		display:block;
		height:290px;
	}
	.blog-content h3 {

	  text-align: center;
	}
	
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

.overlay h1{
  font-size: 1.8rem;
}
.overlay p{
	font-size: 16px;
}
  .steps ol {
    padding: 1rem;
  }

  footer.contact {
    font-size: 0.9rem;
  }
  
  .blog-content p {
	text-align:center;
  }  
  .blog .blogiH2{
    text-align: center;
  }
  
}

html {
  scroll-behavior: smooth;
}

.steps{
	text-align:center;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.step {
  display: flex;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom:10px;
}

.step-icon-container {
  background-color: #007b8f;
  color: white;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.step-content {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  text-align: left;
}

.step-content h3, .step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #007b8f;
}

.step-content p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.two-cols {
  display: flex;              /* Asettaa sisällön kahteen sarakkeeseen */
  align-items: flex-start;    /* Sarakkeiden yläreunat linjaan */
  gap: 1rem;                  /* Sarakkeiden väli */
  flex-wrap: wrap;
}

.two-cols > .col {
  flex: 1;                    /* Molemmat sarakkeet saavat yhtä paljon tilaa */
  text-align: left;
}

.col label {
  display: flex;              /* Rivittäminen: radio, kuva ja teksti vierekkäin */
  align-items: center;        /* Keskitys pystysuunnassa */
  gap: 0.75rem;               /* Väli elementtien väliin */
  padding: 0.5rem 0;
  font-size: 18px;
  cursor: pointer;
}

.col label img {
  width: 100px;
  height: auto;
  border-radius: 10px;
}

.col label:hover {
  background-color: #b9d8dd;
  border-radius: 10px;
}

/* FORM ALKAA */

    * {
      box-sizing: border-box;
    }

    .form-wrapper {
      max-width: 800px;
      width: 100%;
      margin: auto;
      overflow: hidden;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

  .form-steps {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
  }

  .step-card {
    width: 100%;
    flex-shrink: 0;
    padding: 2rem;
	/*padding-bottom: 0px;*/
    box-sizing: border-box;
    background: #f7f7f7;
    border-radius: 8px;
    overflow: hidden;
  }

  .step-card label{
    font-size: 18px;
  }
  .step-card h3 {
    margin-top: 0;
  }

  .nav-buttons {
    display: flex;
	justify-content: space-between; /* Jakaa napit reunoille */
    margin-top: 1.5rem;
	gap: 0.75rem;       /* rako nappien väliin (voit muuttaa) */
	width: 100%; /* Tarvittaessa rajoita max-widthilla */
  }
.nav-buttons .right-button {
  margin-left: auto; /* Työntää napin oikealle */
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

button {
  padding: 0.75rem 1.5rem;
  background-color: #007b8f;
  color: white;
  border-radius: 25px;
  border: none; /* ← tämä poistaa oletusreunan */
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  cursor: pointer;
  z-index: 10;
  position: relative;
  font-size: 18px;
}
button:hover {
  background-color: #006373;
}
button:disabled {
    background: #ccc;
    cursor: default;
}

.lisatietoa{
  background-color: #fff;
  color: #007b8f;
  border: 1px solid #007b8f;
  font-size: 18px;	
}
.lisatietoa:hover{
  background-color: #007b8f;
  color: #fff;
}
  
  input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 18px;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #007b8f;
  box-shadow: 0 0 0 3px rgba(0, 123, 143, 0.2);
}


/* FORM PÄÄTTYY */

     .timeline-container {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      padding: 10px 0;
    }

    .timeline {
	  padding:15px;
      display: flex;
      justify-content: space-between;
      position: relative;
      align-items: center;
    }

    /* Viiva pallojen takana */
    .timeline::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 4px;
      background: #ccc;
      transform: translateY(-50%);
      z-index: 0;
    }

    .timeline-step {
      width: 40px;
      height: 40px;
      background-color: #007b8f;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-weight: bold;
      font-size: 16px;
      z-index: 1; /* Pallot piirtyvät viivan päälle */
      position: relative;
    }

    .timeline-step.inactive {
      background-color: #ccc;
    }