* { box-sizing: border-box; margin:0; padding:0; }

body {
  font-family: 'Inter', sans-serif;
  line-height:1.6;
  color:#111;
}

/* HEADER */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);

  z-index: 1000;
}
#header nav a {
  text-decoration: none;
  color: #1b5e20; /* tummempi vihreĂ¤ = luonnollinen */
  font-weight: 500;
  margin-left: 20px;
  position: relative;
  transition: 0.3s;
}

#header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #2e7d32;
  transition: 0.3s;
}

#header nav a:hover {
  color: #2e7d32;
}

#header nav a:hover::after {
  width: 100%;
}

#header.scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #1b5e20;
}

.logo img {
  height: 45px;
}

.footer-logo img {
  height: 150px;
  width: 150px;
}

/* HAMBUGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #1b5e20;
  border-radius: 2px;
  transition: 0.3s;
}



.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* HERO */
.hero {
  position: relative;
  height: 65vh;
  min-height: 400px;
  max-height: 650px;
  overflow: hidden;
}

.hero-video,
.hero-fallback {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
}

.overlay {
  position:absolute;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.25);
}

.hero-content {
  position:relative;
  z-index:2;
  color:white;
  text-align:center;
  top:50%;
  transform:translateY(-50%);
  padding:20px;
  max-width:700px;
  margin:auto;
}

.hero h1 { margin-bottom:15px; font-size:2.2rem; }

.hero-sub { 
font-size:1.2rem;
margin-bottom:10px; }

.hero-proof {
  font-size:1.0rem;
  opacity:0.9;
  margin-bottom:20px;
}

.hero-fallback {
  display: none;
}


/* CTA BUTTON */
.cta-btn {
  display:inline-block;
  background:#2e7d32;
  color:white;
  padding:14px 26px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

/* TRUST */
.trust {
  display:flex;
  justify-content:center;
  gap:20px;
  padding:20px;
  flex-wrap:wrap;
  background:#f5f5f5;
}

/* CONTENT */
.container {
  max-width:1100px;
  margin:auto;
  padding:60px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}



/* CARD */
.card {
  background:white;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  transition:0.3s;
}

.card:hover {
  transform:translateY(-5px);
}

.card img {
  width:100%;
  height:300px;
  object-fit:cover;
}

/* PROCESS */
.process {
  text-align:center;
  padding:60px 20px;
  background:#fafafa;
}

.process-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:15px;
  margin-top:20px;
}

/* SHOWCASE */
.showcase {
  padding: 60px 20px;
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 vierekkäin */
  gap: 20px;
  max-width: 350px;
  margin: 30px auto;
}

.showcase-grid img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  
}

.showcase-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}



/* REVIEWS */
.reviews {
  padding:60px 20px;
  background:#f5f5f5;
  text-align:center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center; /* keskittĂ¤Ă¤ nĂ¤tisti */
  gap: 20px;
}

.review {
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  max-width: 260px;
  margin: 0 auto; 
}

/* CTA */
.cta {
  text-align:center;
  padding:60px 20px;
  background:#2e7d32;
  color:white;
}

.cta-sub {
  opacity:0.9;
  margin-bottom:15px;
}

.contact {
  font-weight:600;
  font-size:1.1rem;
}

/* ANIMAATIOT */
.animate {
  opacity:0;
  transform:translateY(30px);
  transition:all 0.6s ease;
}

.animate.show {
  opacity:1;
  transform:translateY(0);
}



/* MOBILE */
@media (max-width: 768px) {
.menu-toggle {
    display: flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }

  #header {
    padding: 0 15px;
  }

  #header nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
  }

  #header nav.active {
    max-height: 300px;
    padding: 10px 0;
  }

  #header nav a {
    margin: 15px 0;
  }

  .process-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid img {
    height: 220px;
  }
}


@media (max-width: 600px) {

  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}

/* PROCESS PREMIUM */
.process {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, #fafafa, #ffffff);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 x 2 */
  gap: 25px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.process-card {
  position: relative;
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}


/* GRID */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

/* CARD */
.process-card {
  position: relative;
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* NUMBER */
.step-number {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #2e7d32;
  color: white;
  font-weight: bold;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ICON */
.icon {
  font-size: 32px;
  margin-bottom: 10px;
}

/* TEXT */
.process-card h3 {
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* FOOTER PREMIUM */
.site-footer {
  background: linear-gradient(135deg, #2e7d32, #81c784);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
}

.footer-container {
  max-width: 800px;
  margin: auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer-logo span {
  color: #fff9c4; /* pieni kontrastivĂ¤ri korostuksena */
}

.footer-text {
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: #fff9c4;
  text-shadow: 0 0 5px rgba(255,249,196,0.8);
}

.social-footer a {
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.social-footer a:hover {
  color: #fff9c4;
  text-shadow: 0 0 6px rgba(255,249,196,0.9);
}

/* PARTNERIT */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.partner-card {
  background: rgba(255,255,255,0.08);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.partner-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* LOGOT â€“ HARMAA NORMAALINA */
.partner-card img {
  max-width: 90px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(100%) brightness(0.8);
  opacity: 0.7;
  transition: 0.4s ease;
}

/* HOVER â€“ VĂ„RIT TAKAS */
.partner-card:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* TEKSTI */
.partner-card p {
  font-size: 0.9rem;
  font-weight: 500;
}


/* Responsiivisuus pienille nĂ¤ytĂ¶ille */
@media (max-width: 500px) {
  .footer-contact, .social-footer {
    display: block;
    margin: 10px 0;
  }
}

/* HERO-OSION VÄLI HEADERIIN */
.hero {
  margin-top: 85px;
}