* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", sans-serif;
  background: #F5F1E8;
  color: #2c2c2c;
  line-height: 1.6;
  font-size: 16px;
}

/* Header ja navigointi */
.site-header {
  background: #2F5D50;
  color: #FFFFFF;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

nav a {
  color: #FFFFFF;
  margin-left: 10px;
  text-decoration: none;
  font-size: 16px;
}

nav a.active {
  border-bottom: 2px solid #C8A96B;
}

nav a:hover {
  color: #C8A96B;
}

/* Otsikot */
h1,
h2,
h3 {
  font-family: "Segoe UI Semibold", "Segoe UI", sans-serif;
}

h3,
h4,
h5,
h6 {
  font-size: 20px;
  color: #C8A96B;
}

h1 {
  font-size: 32px;
  background: #2F5D50;
  color: #C8A96B;
  padding: 14px 18px;
  border-radius: 12px;
  display: inline-block;
}

h2 {
  font-size: 24px;
  background: #2F5D50;
  color: #C8A96B;
  padding: 12px 16px;
  border-radius: 10px;
  display: inline-block;
}

p,
li,
td,
th,
a,
button {
  font-size: 16px;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(47, 93, 80, 0.55), rgba(47, 93, 80, 0.55)),
    url("logo.png") center/cover no-repeat;
  text-align: center;
}

.hero-card {
  max-width: 760px;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.hero-logo {
  width: 260px;
  max-width: 80%;
  margin-bottom: 20px;
}

.hero h1 {
  background: none;
  color: #2F5D50;
  padding: 0;
  border-radius: 0;
  display: block;
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.15;
}

.hero p {
  color: #2c2c2c;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Perussisältö */
.content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kortit */
.card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: 18px;
  margin-bottom: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* Painikkeet */
.button {
  display: inline-block;
  background: #C8A96B;
  color: #2c2c2c;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.button:hover {
  background: #2F5D50;
  color: #FFFFFF;
}

/* Lista */
.benefit-list {
  padding-left: 24px;
  font-size: 16px;
}

.benefit-list li {
  margin-bottom: 8px;
}

/* Taulukko */
.table-section {
  margin-top: 30px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th,
td {
  border: 1px solid #cccccc;
  padding: 12px;
  text-align: left;
}

th {
  background: #2F5D50;
  color: #FFFFFF;
}

tr:nth-child(even) {
  background: #F5F1E8;
}

/* Kenttien kuvasliderit */
.mini-slider {
  margin-top: 20px;
}

.mini-slider img {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 14px;
  margin-bottom: 12px;
}


.slider-controls {
  display: flex;
  gap: 12px;
}

.slider-controls button {
  background: #2F5D50;
  color: #FFFFFF;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.slider-controls button:hover {
  background: #C8A96B;
  color: #2c2c2c;
}

/* Lomake */
form {
  max-width: 500px;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-family: "Trebuchet MS", sans-serif;
}

/* Footer */
.site-footer {
  background: #2F5D50;
  color: #FFFFFF;
  text-align: center;
  padding: 16px;
  margin-top: 30px;
}

/* Responsiivisuus */
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    display: inline-block;
    margin: 5px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .mini-slider img {
    height: 230px;
  }

  .slider-controls {
    flex-direction: column;
  }
}

/* Yhteystietosivun kuva */
.contact-image {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 30px auto;
}
