/* Yleiset tyylit */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f0f4f8;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

header {
  background: linear-gradient(135deg, #2c3e50, #2980b9);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header p {
  font-size: 1.2em;
}

/* Hero-kuva */
.hero {
  position: relative;
  background: url("hero.jpg") no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
}

.hero h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
}

/* Navigaatio */
nav {
  background: #34495e;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: #fff;
  padding: 15px 20px;
  display: block;
  text-decoration: none;
}

nav ul li a:hover {
  background: #2c3e50;
}

/* Osiot */
h2 {
  color: #2c3e50;
  margin-top: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Galleria */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery figure {
  margin: 0;
  text-align: center;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery figcaption {
  font-size: 0.9em;
  color: #2c3e50;
  margin-top: 5px;
}

/* Sähköpostikuva */
.email-img {
  margin-top: 10px;
  max-width: 250px;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

/* Responsiivisuus */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8em;
  }

  .hero {
    height: 250px;
  }

  .hero h2 {
    font-size: 1.5em;
  }

  .hero p {
    font-size: 1em;
  }
}
