* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #faf8f2;
    color: #2f2f2f;
    line-height: 1.7;
}

header {
    background-image: url(2.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.55);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #9dc08b;;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #4d7c0f;
    transform: scale(1.05);
}

section {
    padding: 80px 10%;
    text-align: center;
    margin: 80px auto;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    width: 85%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

h2 {
    font-size: 2rem;
    color: #2f4858;
    margin-bottom: 20px;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery img {
    width: 30%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.parallax {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    filter: brightness(80%);
    border-radius: 15px;
    margin: 60px 0;
}

.parallax-1 {
    background-image: url('1.jpg'); 
}

.parallax-2 {
    background-image: url('2.jpg');
}

.parallax-3 {
    background-image: url('3.jpg');
}

.parallax-4 {
    background-image: url('przeworsk.jpg');
    height: 500px;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.highlight-section {
    background: linear-gradient(135deg, #f2f9f7, #e0f2ff);
    padding: 70px 30px;
    border-radius: 25px;
    width: 85%;
    margin: 70px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.highlight-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.highlight-content {
    text-align: center;
    color: #004d66;
}

.highlight-content h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #007799;
    font-weight: 600;
}

.highlight-content p {
    font-size: 1.1em;
    line-height: 1.7em;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
}

footer {
   background-color: #4d7c0f;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.contact-section {
  background-color: #fdfaf5;
  padding: 70px 10%;
  border-radius: 25px;
  width: 85%;
  margin: 60px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  align-items: center;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
}

.map {
  flex: 1 1 400px;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 15px;
}

.konkurs {
  margin-bottom: 40px;
  text-align: left;
  background-color: #fdfcf9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.konkurs:hover {
  transform: scale(1.01);
}

.konkurs h3 {
  color: #4d7c0f;
  margin-bottom: 10px;
}

.konkurs p {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #333;
}

.konkurs ul {
  margin-left: 20px;
}

@media (max-width: 992px) {
  header { height: 65vh; background-position: center 30%; }
  .overlay { padding: 28px; max-width: 520px; }
  h1 { font-size: 1.9rem; }
  .btn { padding: 10px 18px; font-size: 0.95rem; }
  section { padding: 60px 6%; }
  .gallery img { width: 45%; height: 160px; }
  .parallax { height: 300px; background-attachment: scroll; }
  .highlight-section { width: 90%; padding: 40px 18px; }
  .kontakt-container { gap: 24px; }
  .kontakt-info { text-align: left; }
  .mapa iframe { height: 260px; }
}

@media (max-width: 600px) {
  header { height: 55vh; }
  .overlay { padding: 20px; }
  h1 { font-size: 1.6rem; }
  .btn { padding: 9px 14px; border-radius: 20px; }
  section { padding: 40px 5%; margin: 40px auto; width: 92%; }
  h2 { font-size: 1.4rem; }
  ul li { font-size: 1rem; }
  .gallery { gap: 12px; }
  .gallery img { width: 100%; height: 200px; object-fit: cover; }
  .parallax { height: 220px; background-attachment: scroll; filter: brightness(90%); }
  .highlight-section { width: 94%; padding: 28px 14px; border-radius: 18px; }
  .kontakt-container { flex-direction: column; align-items: stretch; }
  .kontakt-info { order: 1; }
  .mapa { order: 2; }
  .mapa iframe { height: 220px; border-radius: 12px; }
  footer { padding: 16px; font-size: 0.85rem; }
}

.gallery img, header, .parallax 
    { object-fit: cover; }

.mapa iframe
    { width: 100%; display: block; }


#konkursy {
  background: #ffffff;
  border-radius: 20px;
  padding: 70px 10%;
  width: 85%;
  margin: 80px auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#konkursy:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#konkursy h2 {
  font-size: 2.2rem;
  color: #2f4858;
  margin-bottom: 40px;
}

.konkurs {
  background: #f7fbf6;
  border-left: 6px solid #4d7c0f;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
  text-align: left;
}

.konkurs h3 {
  color: #2f4858;
  margin-bottom: 10px;
}

.konkurs p {
  color: #333;
  margin-bottom: 10px;
}

.konkurs ul {
  list-style: none;
  padding-left: 10px;
}

.konkurs li {
  margin-bottom: 6px;
  font-size: 1.05rem;
}
