@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-image: url(pics/teenus_pilt.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.nav {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  justify-self: center;
}
.nav-btn a {
  display: flex;
  flex-direction: row;
  justify-self: center;
  text-align: center;
  padding: 20px;
  width: 150px;
  display: flex;
  margin-top: 20px;
  border: none;
  background-color: #333;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  text-decoration: none;
}
.nav-btn:hover {
  transform: translateY(-2px);
}

.teenused_hero {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.teenused_hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.teenused_hero p {
  color: #475569;
}
.broneeri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: none;
  padding: 40px 10px;
  font-size: 16px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  text-decoration: none;
}

.teenus-cont {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.teenus-cont p {
  margin-top: 25px;
}
.teenus-vasak,
.teenus-parem {
  text-align: center;
  color: #f0f0f0;
  padding: 40px;
  background-color: #10101071;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: 0.2s;
  max-width: none;
}
.teenus-vasak:hover,
.teenus-parem:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.teenus-vasak ul,
.teenus-parem ul {
  list-style: none;
  margin-top: 25px;
  font-weight: 500;
  text-transform: uppercase;
}

.teenus-vasak li,
.teenus-parem li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.hind {
  margin-top: 50px;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  text-decoration: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 0;
  pointer-events: none;
}
body > * {
  position: relative;
  z-index: 1;
}
.footer {
  color: #fff;
  background-color: #333;
  padding: 40px 20px;
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}
.vasak {
  max-width: 300px;
}
.parem {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  flex-direction: row;
  gap: 40px;
}
.parem ul {
  font-weight: 500;
  list-style-type: none;
}
.parem a {
  text-decoration: none;
  line-height: 1.5;
  color: #fff;
}
.parem a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.6;
}
@media (max-width: 420px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .parem {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .parem a {
    word-break: break-word;
  }

  .vasak {
    max-width: 100%;
  }
}
