@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 10px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  position: relative;
}

.logo img {
  height: 160px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

nav a {
  margin: 10px 15px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: black;
  margin: 4px 0;
  transition: 0.3s;
}

.hero {
  background: url('../img/header-bg.jpg') no-repeat center center / cover;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 430px;
  padding-top: 90px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero h1,
.hero p,
.hero button {
  position: relative;
  z-index: 2;
  color: white;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  margin: 0;
}

.hero button {
  margin-top: 18px;
  padding: 14px 30px;
  font-size: 16px;
  background-color: #0056b3;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.features {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  padding: 50px 20px;
  background: white;
}

.feature {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  box-sizing: border-box;
}

footer {
  text-align: center;
  padding: 20px;
  background: #002244;
  color: white;
}

/* BANER COOKIES */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #002244;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  font-size: 14px;
  flex-wrap: wrap;
}

.cookie-banner button {
  background: #ffffff;
  color: #002244;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    flex-direction: column;
    width: 100%;
    display: none;
    background: white;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 15px;
  }

  .logo img {
    height: 120px;
  }

  .hero {
    height: 430px;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero button {
    font-size: 14px;
    padding: 12px 24px;
  }
}

.opinie-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.opinia {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  flex: 1 1 45%;
}

.opinia p {
  font-style: italic;
  margin-bottom: 10px;
}

.opinia strong {
  display: block;
  text-align: right;
  color: #333;
}
