/* ------------------------------
   Salityylit sivun tyylit
   ------------------------------ */

/* Vaaleanpunainen tausta kuten muilla sivuilla */
body {
  background-color: #ffe6f0;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  text-align: center; /* kaikki tekstit keskitetyksi */
}

/* --- Navigaatio ja hamburger --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e91e63;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* --- Mobiilivalikko --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: white;
    position: absolute;
    top: 60px;
    right: 10%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: right;
    z-index: 10;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* --- Banneri --- */
.page-banner {
  position: relative;
  width: 100%;
  height: 60vh; /* yhtenäinen korkeus */
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* hieman ylemmäs kohdistettu */
  filter: brightness(60%); /* tumma sävy kuvan päälle */
}

.page-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.5rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 25px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  z-index: 1;
}

/* --- Sisältöalue --- */
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem 2rem;
}

.content p {
  margin-bottom: 1rem;
}

.content ul {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  list-style-position: inside;
}

.content li {
  margin-bottom: 0.5rem;
}

/* --- Kuvan tyylit (esim. salikuva) --- */
.program-image img {
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin: 1.5rem 0;
}

/* --- Responsiivisuus --- */
@media (max-width: 768px) {
  .page-banner {
    height: 40vh;
  }

  .page-banner h1 {
    font-size: 1.8rem;
    padding: 8px 16px;
  }

  .content {
    padding: 1rem;
  }

  .program-image img {
    width: 90%;
    max-width: none;
  }
}

