.intro-content {
  padding: 30px;
  border-radius: 10px;
  max-width: 2400px; /* Szerokość 4 razy większa niż poprzednia */
  width: 100%; /* Zapewnia, że szerokość będzie skalować się do 100% dostępnej przestrzeni */
  min-height: 400px; /* Minimalna wysokość */
  background-image: url("photos/57_glowne.jpg");
  background-size: cover; /* Sprawia, że obrazek wypełnia całe tło */
  background-position: center; /* Wyśrodkowuje obrazek */
  background-repeat: no-repeat; /* Zapobiega powielaniu obrazka */
  background-attachment: fixed; /* Zapewnia, że tło jest nieruchome podczas przewijania */
  color: white;
  box-sizing: border-box;

  /* Flexbox do wyśrodkowania tekstu */
  display: flex;
  justify-content: center; /* Wyśrodkowuje poziomo */
  align-items: center; /* Wyśrodkowuje pionowo */
  text-align: center; /* Wyrównanie tekstu w poziomie */
  flex-direction: column; /* Ustala układ pionowy */
}

.intro h1 {
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Cień na nagłówku */
}

.intro p {
  font-size: 1.3em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Cień na paragrafie */
}
/* Sekcja Nasze Domki */
.houses {
  padding: 40px 20px;
  text-align: center;
}

.houses h2 {
  color: black;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.houses p {
  color: black;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.video-container iframe {
  width: 50%;
  height: 315px;
  min-height: 400px;
  border-radius: 10px;
}

/* Sekcja Odpocznij na łonie natury */
.nature {
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nature-content {
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  color: black;
  position: relative; /* Wymagane do ustawienia pseudo-elementów */
}

/* Obramowanie w dwóch rogach */
.nature-content::before,
.nature-content::after {
  content: "";
  position: absolute;
  width: 40px; /* Długość linii */
  height: 40px; /* Grubość linii */
  border: 3px solid #c0b39a; /* Styl i kolor obramowania */
}

.nature-content::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.nature-content::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.nature h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.nature p {
  font-size: 1.2em;
  line-height: 1.6;
}

.nature-image {
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Sekcja Ikon z udogodnieniami */
.icons {
  padding: 40px 20px;
  text-align: center;
}

.icons h2 {
  color: black;
  font-size: 2.5em;
  margin-bottom: 30px;
}

.icon-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 150px;
  margin-bottom: 20px;
}

.icon-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.icon-item p {
  font-size: 1.2em;
}

.faq {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f8f9fa; /* Jasne tło dla kontrastu */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  text-align: center;
  font-size: 26px;
  color: black;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  transition: background 0.3s ease-in-out;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 20px;
  color: black;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

.faq-item p {
  font-size: 16px;
  color: #555;
  margin-top: 5px;
  display: none;
}

.faq-item:hover {
  background-color: #dfd8cb;
}

/* Styl dla aktywnej odpowiedzi */
.faq-item.active p {
  display: block;
}

.linia {
  width: 50%; /* Ustawienie szerokości linii */
  height: 2px; /* Ustawienie grubości linii */
  background-color: #c0b39a; /* Kolor jasnoszary */
  border: none; /* Usunięcie domyślnej ramki */
  margin: 40px auto; /* Wyśrodkowanie i dodanie odstępu */
  opacity: 0.7; /* Delikatna przejrzystość dla lepszego efektu */
}

.separator-curved {
  width: 100%;
  height: 60px;
  background: #dfd8cb;
  position: relative;
  border-radius: 0 0 50% 50%;
}

/* Stylizacja sekcji Atrakcje w okolicy */

.attractions {
  padding: 20px;
  text-align: center;
}

.attractions h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: black;
}

.attraction-item {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
  list-style-type: disc;
  list-style-position: inside;
}

.attraction-item h3 {
  font-size: 20px;
  color: #7a6d54;
  margin: 0;
}

.attraction-item p {
  font-size: 1.2em;
  color: #666;
  margin: 0;
}

.attraction-item a {
  color: #7a6d54;
  text-decoration: none;
}

.attraction-item a:hover {
  text-decoration: none;
}

@media (max-width: 1024px) {
  /* Poprawka dla tła w intro-content na tabletach i telefonach */
  .intro-content {
    background-attachment: scroll !important; /* Statyczne tło */
    background-size: cover;
    background-position: center;
  }

  /* Poprawka dla responsywnego video */
  .video-container {
    position: relative;
    width: 100%;
    max-width: 90%; /* Żeby film dobrze wyglądał */
    margin: 0 auto;
  }

  .video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Zapewnia brak ucinania */
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  /* Dodatkowe poprawki dla telefonów */
  .intro-content {
    min-height: 300px; /* Zmniejszenie wysokości na telefonach */
  }

  .video-container {
    max-width: 100%;
  }

  .video-container iframe {
    aspect-ratio: 16 / 9;
  }
}
