/* GLOBAL FONT SETTINGS */
body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: #1a1a1a; /* ciemny szary dla dobrej czytelności */
  line-height: 1.6;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  color: #0a0a0a;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* LINKS */
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* PARAGRAPH TEXT */
p {
  margin: 1em 0;
  font-size: 1rem;
  color: #333333;
}

/* BUTTONS */
button, .btn {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6em 1.2em;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
}
button:hover, .btn:hover {
  background-color: #0056b3;
}

main {
  background-color: rgba(255,255,255,0.85);
  padding: 40px 20px;
  max-width: 1080px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section {
  margin-bottom: 40px;
}

/* NAVIGATION */
header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2c3e50;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  color: white;
  font-weight: bold;
  font-size: 26px;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.menu ul li a {
  color: white;
  text-decoration: none;
}

.menu ul li a:hover,
.menu ul li a.active {
  color: #f6c343;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Hamburger default hidden on desktop */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  padding: 10px;
  user-select: none;
}

/* Banner */
.banner {
  position: relative;
  overflow: hidden;
  background: url('img/cmentarz-polnocny-02.webp') no-repeat center center;
  background-size: cover;
  height: 300px;
}

.banner img {
  display: none;
}

.banner .watermark {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 28px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

/* Footer */
footer {
  text-align: center;
  background-color: #2d3748;
  color: #e2e8f0;
  padding: 20px;
  margin-top: 40px;
}

footer a {
  color: #e2e8f0;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
}

/* Responsive styles */
@media (max-width: 768px) {
  .menu {
    display: none;
    width: 100%;
    background-color: #333;
  }

  .menu.active {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .menu ul li {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #444;
  }

  .hamburger {
    display: block;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu.active {
    animation: slideDown 0.3s ease-out;
  }
}