

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: #2B2B2B;
  background-color: #FAFAF8;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
}


nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 18px 0;
}

nav a {
  color: #28402D;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #D97742;
}
 nav a.aktiivinen {
  font-weight: 700;
  color: #130904;

}

nav a.aktiivinen:hover {
  color: #D97742;
}

.hero { 
  position: relative; 
  min-height: 90vh; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  padding: 20px; 

  background-image: 
    linear-gradient(180deg, rgba(20,30,22,0.35) 0%, rgba(15,22,17,0.75) 100%), 
    url('../img/iecevillakuru1.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
}


.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards, shimmer 4s ease-in-out infinite;
  animation-delay: 0s, 1.2s;

  background: linear-gradient(
    100deg,
    #FFFFFF 40%,
    #87878c 50%,
    #FFFFFF 60%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero p {
  color: #F0EFE9;
  font-size: 1.2rem;
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}



hr {
  border: none;
}



section {
  max-width: 700px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

section h2 {
  color: #28402D;
  font-size: 2rem;
  margin-bottom: 16px;
}

section p {
  color: #5a5b5d;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

section a {
  display: inline-block;
  color: #FFFFFF;
  background-color: #5a5b5d;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  margin: 8px 10px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

section a:hover {
  background-color: #D97742;
  transform: translateY(-2px);
}



footer {
  background-color: #5a5b5d;
  color: #C7D0C5;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
  margin-top: 60px;
}


.page-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.page-header h1 {
  color: #28402D;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-header p {
  color: #6E6E69;
}


.ominaisuudet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.ominaisuus-box {
  background-color: #FFFFFF;
  border: 1px solid #E5E2D9;
  border-radius: 12px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ominaisuus-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(40, 64, 45, 0.08);
}

.box-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: #3A5A40;
}

.box-icon svg {
  width: 100%;
  height: 100%;
}

.ominaisuus-box h3 {
  color: #28402D;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.ominaisuus-box p {
  color: #4A4A45;
  font-size: 0.95rem;
  text-align: left;
}

@media (max-width: 900px) {
  .ominaisuudet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ominaisuudet-grid {
    grid-template-columns: 1fr;
  }
}


.cta-osio {
  text-align: center;
  padding: 20px 20px 60px;
}

.yhteystiedot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.yhteys-box {
  background-color: #FFFFFF;
  border: 1px solid #E5E2D9;
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yhteys-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(40, 64, 45, 0.08);
}

.yhteys-box .box-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
  color: #3A5A40;
}

.yhteys-box h3 {
  color: #28402D;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.yhteys-box p {
  color: #4A4A45;
  font-size: 0.95rem;
}

.yhteys-box a {
  display: inline;
  color: #3A5A40;
  background-color: transparent;
  text-decoration: none;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
}

.yhteys-box a:hover {
  color: #D97742;
  background-color: transparent;
  transform: none;
}

.yhteys-box a:hover {
  color: #D97742;
}

@media (max-width: 700px) {
  .yhteystiedot-grid {
    grid-template-columns: 1fr;
  }
}


.galleria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.galleria-kuva {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  background-color: #E5E2D9;
}

.galleria-kuva img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galleria-kuva:hover img {
  transform: scale(1.06);
}

@media (max-width: 900px) {
  .galleria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .galleria-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  nav ul {
    gap: 10px;
    padding: 12px 8px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.8rem;
  }
}

.varaus-box {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px 30px;
  background-color: #FFFFFF;
  border: 1px solid #E5E2D9;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(40, 64, 45, 0.06);
}

.varaus-box h2 {
  color: #28402D;
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.varaus-box p {
  color: #4A4A45;
  font-size: 1rem;
  margin-bottom: 26px;
}

.varaus-nappi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: transparent;
  color: #D97742;
  border: 2px solid #D97742;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.varaus-nappi:hover {
  background-color: #D97742;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.varaus-nappi::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.varaus-nappi:hover::after {
  transform: translateX(3px);
}


.hinnasto-lista {
  list-style: none;
  margin: 20px 0;
}

.hinnasto-lista li {
  color: #2B2B2B;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid #E5E2D9;
}

.hinnasto-lista li:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  nav ul {
    gap: 10px;
    padding: 12px 8px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.8rem;
  }
}

.luottamus-rivi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 800px;
  margin: 10px auto 0;
  padding: 0 20px;
}

.luottamus-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #28402D;
  font-size: 0.9rem;
  font-weight: 500;
}

.luottamus-badge svg {
  width: 20px;
  height: 20px;
  color: #3A5A40;
  flex-shrink: 0;
}


.varaus-box {
  position: relative;
  border-top: 4px solid #3A5A40;
}


.cta-osio {
  max-width: 500px;
  margin: 30px auto 60px;
  padding: 28px 30px;
  background-color: #FFFFFF;
  border: 1px solid #E5E2D9;
  border-radius: 12px;
  text-align: center;
}

.cta-osio h3 {
  color: #28402D;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cta-osio p {
  color: #6E6E69;
  font-size: 0.92rem;
  margin: 0;
}