body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f3f0e6;
  background-color: #1a1a1a;
  line-height: 1.6;
}

.hero {
  position: relative; /* konieczne dla pseudo-elementów */
  background: url('assets/hero-bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  color: #f3f0e6;
  overflow: hidden; /* żeby efekt światła się nie rozlewał poza hero */
}

.hero::before {
  content: "";
  position: absolute;
  top: 90%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,140,0,0.7) 0%, transparent 80%);
  filter: blur(80px);
  transform: translate(-50%, -50%);
  animation: flicker 3s infinite;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 80%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,180,60,0.5) 0%, transparent 90%);
  filter: blur(50px);
  transform: translate(-50%, -50%);
  animation: flicker 2.5s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes flicker {
  0%, 100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(calc(-50% + 10px), calc(-50% + 5px)) scale(1.05);
  }
}

/* żeby navbar i hero-content były nad światłem */
.navbar, .hero-content {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.5);
}

.logo-img {
  height: 60px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.menu li a {
  padding: 0.5rem 1rem;
  background-color: #3e2f20;
  border: 1px solid #8f623d;
  color: #e0d8c3;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.menu li a:hover {
  background-color: #a76d44;
  color: white;
}

.hero-content {
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin: 0.5rem 0;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.section {
  background-color: #292929;
  padding: 3rem 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #444;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section ul {
  padding-left: 1.5rem;
}

.download-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #8f623d;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.download-button:hover {
  background-color: #a76d44;
}

.footer {
  background-color: #111;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #888;
}
