body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Navigaatio */
.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;
}

/* Banneri (kuvaslideri) */
.banner {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 800px;
}

.banner-content h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.banner-content p {
  margin-bottom: 20px;
}

.btn {
  background: #e91e63;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* Intro */
.intro {
  padding: 40px 10%;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #f7f7f7;
  font-size: 0.9rem;
  color: #555;
}

/* Responsiivisuus */
@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;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  /* 🔽 Nappi: nuoli alle mobiilissa */
  .btn {
    display: inline-block;
    text-align: center;
    white-space: normal; /* sallitaan rivinvaihto */
  }

  .btn::after {
    content: "→";
    display: block;       /* oma rivi */
    margin-top: 4px;      /* väli tekstin ja nuolen väliin */
    font-size: 1.2em;     /* nuoli hieman isommaksi */
  }
}

/* Poistetaan mobiilista ylimääräinen nuoli */
@media (max-width: 768px) {
  .btn::after {
    content: none !important;
  }
}

/* Yksittäissivujen banneri (Kuka olen, Saliohjelma, jne.) */
.banner {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* tumma läpinäkyvä kerros */
}

.banner h1 {
  position: relative;
  font-size: 2.5rem;
  z-index: 1; /* otsikko tulee overlayn päälle */
}

