/* Reset i baza */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Header sticky z efektem */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(120deg, #005bb5, #0779e4);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

header.sticky .header-inner {
  padding: 10px 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.logo {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  object-fit: cover;
}


/* Menu */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  align-items: center;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #005bb5;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    text-align: center;
    margin: 10px 0;
  }
}

/* Treść strony */
main {
  padding: 40px 0;
}

section {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Obrazy */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Linki w treści */
main a {
  color: #0779e4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-weight: 600;
}

main a:hover {
  color: #005bb5;
  border-bottom: 1px solid #005bb5;
}

/* Stopka */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
  margin-top: 20px;
}
