/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.7;
  padding-top: 80px;
}

header {
  background-color: #1a1a1a;
  padding: 10px 0; /* zmniejszone z 20px */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

header h1 {
  color: #9b59b6;
  font-size: 2rem; /* zmniejszone z 2.5rem */
  transition: color 0.3s;
  cursor: pointer;
}

header h1:hover {
  color: #be76d2;
}

/* Dodaj padding-top do body, aby tekst nie chował się pod header */
body {
  padding-top: 60px; /* dopasowane do wysokości headera */
}

/* Opcjonalnie, dodatkowe zmniejszenie na bardzo małych ekranach */
@media (max-width: 600px) {
  header {
    padding: 8px 0;
  }

  header h1 {
    font-size: 1.8rem;
  }

  body {
    padding-top: 55px;
  }
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  color: #9b59b6;
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

section p {
  margin-bottom: 15px;
  font-size: 1rem;
}

footer {
  background-color: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Scroll Reveal Effect */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #9b59b6;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  font-size: 1.2rem;
  z-index: 999;
  transition: background 0.3s;
}

#scrollTopBtn:hover {
  background: #be76d2;
}

footer a {
  color: #9b59b6;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #be76d2;
}