/* Aktualności - ramka opisu, zawijanie tekstu, obrazek */
.news-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 18px;
  margin-bottom: 18px;
  max-width: 350px;
  display: inline-block;
  vertical-align: top;
}
.news-desc {
  max-height: 120px;
  min-height: 80px;
  overflow: hidden;
  transition: max-height 0.3s;
  position: relative;
  font-size: 16px;
  background: #f7f7f7;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  word-break: break-word;
  white-space: pre-line;
}
.news-desc.expanded {
  max-height: 600px;
  overflow: auto;
}
.show-more-btn {
  background: #bfa76a;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 8px;
}
.show-more-btn:hover {
  background: #a08a4a;
}
/* Panel admina: poprawa widoczności i klikalności przycisku 'Zmień tło' */
#backgroundForm button.save {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 20px;
  z-index: 1000;
  pointer-events: auto;
  position: relative;
}
/* Panel admina: poprawa widoczności i klikalności przycisku 'Zmień tło' */
#backgroundForm button.save {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
}
.top-bar {
  background: #bfa76a;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end;
    position: relative;
  gap: 30px;
  font-size: 16px;
}
  /* Usunięto błędne style nav ul i nav ul li a */
}
.hero {
  display: block;
  position: relative;
  height: 900px;
  background: #f9f7f2;
  color: #bfa76a;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  border: none;
  outline: none;
  padding: 20px 24px;
  transition: background 0.2s;
  background-size: cover;
  background-position: center;
}
    background: #bfa76a;
    color: #fff;
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 48px;
  color: #bfa76a;
  text-align: center;
  margin: 0;
}
.hero h2 {
  font-size: 32px;
  color: #888;
  text-align: center;
  margin: 10px 0 30px 0;
}
.btn {
  background: #bfa76a;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
  transition: background 0.2s;
}
.btn:hover {
  background: #a08a4a;
}
.info-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 30px 20px;
  width: 300px;
  text-align: center;
}
.card .icon {
  font-size: 40px;
  color: #bfa76a;
  margin-bottom: 10px;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  background: #bfa76a;
  color: #fff;
  padding: 40px 60px;
}

  /* Poprawne style dla navbar i dropdown */
  nav ul.navbar {
    display: flex;
    justify-content: center;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    position: relative;
  }
  .navbar li a {
    color: #bfa76a;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 20px 24px;
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  .navbar li a:hover {
    color: #a08a4a;
    background: #f9f7f2;
  }
  .navbar li.dropdown {
    position: relative;
  }
  .navbar li .dropbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9f7f2;
    color: #bfa76a;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    border: none;
    outline: none;
    padding: 20px 24px;
    transition: background 0.2s, color 0.2s;
  }
  .navbar li .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 100;
    border-radius: 0 0 8px 8px;
    padding: 18px 0 18px 0;
  }
  .navbar li .dropdown-content a {
    color: #bfa76a;
    padding: 12px 32px;
    text-decoration: none;
    display: block;
    font-size: 17px;
    background: transparent;
    border: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
  }
  .navbar li .dropdown-content a:hover {
    background: #f9f7f2;
    color: #a08a4a;
  }
  .navbar li.dropdown:hover .dropdown-content,
  .navbar li.dropdown:focus-within .dropdown-content {
    display: block;
  }
  .navbar li.dropdown:hover .dropbtn,
  .navbar li.dropdown:focus-within .dropbtn {
    background: #bfa76a;
    color: #fff;
  }
.footer-columns h4 {
  margin-top: 0;
  font-size: 20px;
  font-weight: bold;
}
.footer-columns ul {
  list-style: none;
  padding: 0;
}
.footer-bottom {
  background: #a08a4a;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
}
.social {
  position: fixed;
  right: 20px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.social a {
  color: #bfa76a;
  font-size: 36px;
  transition: color 0.2s;
}
.social a:hover {
  color: #fff;
}
.news {
  padding: 40px 0;
  background: #f9f7f2;
  text-align: center;
}
.news-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}
.news-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
  width: 220px;
}
.news-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.news-item h3 {
  font-size: 18px;
  color: #bfa76a;
  margin: 10px 0 0 0;
}
@media (max-width: 900px) {
  .info-cards {
    flex-direction: column;
    align-items: center;
  }
  .footer-columns {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .news-list {
    flex-direction: column;
    align-items: center;
  }
}
