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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #111;
}

/* Ylävalikko */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.logo {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.nav-links a:hover {
  color: #4a4aef;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 24px;
  height: 3px;
  background-color: #333;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: absolute;
  top: 100%;
  right: 2rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

.mobile-menu a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* Hero-osio */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.rating {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 2rem;
}

.password-container input {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  max-width: 300px;
  width: 100%;
  text-align: center;
}

.hero-image-container {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.info-box {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-size: 0.85rem;
}

.info-box div {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box div:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: #fff;
  padding: 2rem;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85rem;
  color: #555;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content a {
  color: #111;
  text-decoration: underline;
}

.footer-content .copyright {
  margin-top: 1rem;
  color: #aaa;
}

/* Responsiivisuus */
@media (max-width: 768px) {
  .nav-links,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-image {
    max-width: 100%;
  }
}