body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111 url('BG.jpg') repeat center center;
  background-size: cover;
  color: #fff;
}

.site-header {

  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  z-index: 1000;
}

.logo img { height: 20px; }

.main-nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.video-background {
  position: fixed; /* przypięte do widoku, nie przewija się */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* pod resztą treści */
  overflow: hidden;
}

.video-background iframe {
  width: 100%;
  height: 100%;
  object-fit: cover; /* wypełnia bez zniekształceń */
}



.overlay-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0px,
    rgba(0, 0, 0, 0.3) 4px,
    rgba(0, 0, 0, 0) 4px,
    rgba(0, 0, 0, 0) 8px
  );
}

.hero-text {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3; /* nad wideo i przeszkadzajką */
  width: 100%;
  text-align: center;
}

.hero-text h1 {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  font-size: 1.8rem;
  line-height: 1.4;
}

.hero-text h1 {
  background: rgba(0, 0, 0, 0.5); /* przyciemnione tło */
  padding: 20px;
  font-size: 1.8rem;
  line-height: 1.4;
  max-width: 75%; /* 3/4 szerokości ekranu/wideo */
  white-space: normal;
  word-break: normal;
  margin: 0 auto; /* wyśrodkowanie */

}




.video-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
}

.video-background iframe {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.overlay-stripes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0px,
    rgba(0, 0, 0, 0.3) 4px,
    rgba(0, 0, 0, 0) 4px,
    rgba(0, 0, 0, 0) 8px
  );
  pointer-events: none;
}
.hero-text h1 {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  font-size: 1.8rem;
  line-height: 1.4;
  max-width: 800px; /* ogranicza szerokość tekstu */
  white-space: normal; /* wymusza łamanie wierszy */
  word-break: break-word;
}

}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
}

.scroll-gallery .video-item {
  flex: 0 0 auto;
  width: 320px;
  background: #222;
  text-align: center;
}

.scroll-gallery iframe {
  width: 100%;
  height: 180px;
}

.scroll-gallery p {
  font-size: 0.9rem;
  padding: 5px;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  text-align: center;
  padding: 10px;
  color: red;
}

.bottom-bar a {
  color: red;
  text-decoration: none;
  margin: 0 8px;
}
.services-text {
  font-size: 1.4rem;   /* większy tekst */
  line-height: 1.6;    /* wygodniejsze czytanie */
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;  /* wyśrodkowanie */
#services p {
  font-size: 200%;  /* dwukrotny rozmiar względem obecnego */
}

}
#news-gathering {
  padding: 40px;
  background:  background: none;
}

.video-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.video-item {
  flex: 0 0 auto;
  width: 320px;
  text-align: center;
  color: white;
}

.video-item iframe {
  width: 100%;
  height: 180px;
}

#works {
  padding: 40px;
  background:  background: none;
  color: white;
}

#works h2 {
  text-align: left;
  margin-left: 10px;
  margin-bottom: 20px;
}


#works .video-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

#works .video-item {
  flex: 0 0 auto;
  width: 320px;
  text-align: center;
}

#works .video-item iframe {
  width: 100%;
  height: 180px;
  border: none;
}

#works .video-item p {
  margin-top: 8px;
  font-size: 0.9rem;
}
.price-info {
  font-size: 200%; /* dwukrotnie większy rozmiar */
  line-height: 1.5;
  margin-bottom: 20px;
}
#contact-prices .price-info {
  font-size: 200%; /* dwukrotnie większy tekst */
  line-height: 1.6;
  margin-bottom: 100px; /* dodatkowy odstęp na dole */
}

.main-nav {
  margin-right: 30px; /* przesunięcie całego bloku linków w lewo */
}

.main-nav a {
  margin: 0 8px; /* minimalne odstępy między linkami */
}
section#contact-prices .price-info {
  font-size: 200% !important; /* wymuszenie powiększenia */
  line-height: 1.6 !important;
  margin-bottom: 100px !important; /* duży odstęp od dołu strony */
  display: block;
}
#contact-prices .price-info {
  font-size: 200%;
  line-height: 1.6;
}

#contact-prices .price-info {
  margin-bottom: 60px; /* mniej więcej 3 linie odstępu */
}
#contact-prices .price-info {
  font-size: 200% !important;   /* dwukrotne powiększenie */
  line-height: 1.6 !important;
  margin-bottom: 100px !important; /* odstęp od dolnej krawędzi */
  display: block;
}

.hero-text h1 {
  max-width: 1400px !important; /* szeroko, żeby nie łamało w połowie zdania */
  white-space: normal !important;
  word-break: normal !important;
}

/* Scrollbar dla sekcji news-gathering */
#news-gathering .video-gallery::-webkit-scrollbar {
  height: 10px; /* wysokość paska przewijania */
}

#news-gathering .video-gallery::-webkit-scrollbar-track {
  background: #222; /* ciemne tło toru */
}

#news-gathering .video-gallery::-webkit-scrollbar-thumb {
  background-color: #555; /* ciemnoszary uchwyt */
  border-radius: 5px;
}

/* Scrollbar dla sekcji works */
#works .video-gallery::-webkit-scrollbar {
  height: 10px;
}

#works .video-gallery::-webkit-scrollbar-track {
  background: #222;
}

#works .video-gallery::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 5px;
}
#contact-prices .price-info {
  font-size: 1.4rem;  /* taki sam jak w services */
  line-height: 1.6;
  margin-bottom: 60px;
}
#contact-prices .price-info {
  font-size: 1.4rem !important; /* taki sam jak w services */
  line-height: 1.6 !important;
}
#contact p {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 60px;   /* ok. trzy linie */
}
#contact h2 {
  text-align: left;
  margin-left: 10px;
  margin-bottom: 20px;
}
/* Ulepszenia mobilne */
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main-nav a {
    display: block;
    margin: 5px 10px;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    max-width: 90%;
    padding: 10px;
  }

  .services-text,
  #contact p {
    font-size: 1rem;
    padding: 10px;
  }

  .video-gallery {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .video-item {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .video-item iframe {
    height: 200px;
  }
}
#documentary {
  padding: 40px;
  background: none;
  color: white;
}

#documentary h2 {
  text-align: left;
  margin-left: 10px;
  margin-bottom: 20px;
}

#documentary .video-item {
  text-align: center;
  margin-bottom: 20px;
}

.doc-description {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}


.doc-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.doc-gallery img {
  max-width: 300px;
  height: auto;
  border: 2px solid #555;
}
/* Styl dla obrazów w sekcji Documentary */
#documentary .doc-gallery img {
  height: auto;
  max-width: 300px;
  border: 2px solid #555;
}

/* Zachowanie proporcji 16:9 tylko dla Fotos_7 i Fotos_8 */
#documentary .doc-gallery img[src="Fotos_7.jpg"],
#documentary .doc-gallery img[src="Fotos_8.jpg"] {
  width: 300px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#documentary .doc-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

#documentary .doc-content .video-item,
#documentary .doc-content .doc-image {
  flex: 1 1 45%;
  max-width: 560px;
}

#documentary .doc-content .doc-image img {
  width: 100%;
  height: auto;
  border: 2px solid #555;
}
#documentary .doc-content .doc-image img[src="Zrzut.jpg"] {
  width: 50%;
  max-width: 280px;
  height: auto;
}


