/* Sekcja Najważniejsze informacje */
.info-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.info-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-box h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-box.visible h3 {
  opacity: 1;
  transform: translateX(0);
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box ul li {
  font-size: 21px;
  margin-bottom: 12px;
  color: #555;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-box.visible ul li {
  opacity: 1;
  transform: translateY(0);
}

.info-box ul li i {
  margin-right: 10px;
}

/* Sekcja filmu z gradientowym tłem */
.media-section.film {
  padding: 40px 20px 60px;
  background: linear-gradient(to left, #a0c8ff, #c1d9ff, #6ba5ff);
  width: 100%;
}

.media-section.film .media-box {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.media-section.film .media-box.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Sekcja notatki na białym tle */
.media-section.note {
  padding: 40px 20px 60px;
  background: #fff;
}

.media-section.note .media-box {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.media-section.note .media-box.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-title {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zwiększony rozmiar, cień i zaokrąglenie dla filmu i zdjęcia */
.media-box video,
.media-box img {
  display: block;
  width: 100%;
  max-width: 950px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}

/* Sekcja terminarza z gradientowym tłem */
.schedule-section {
  padding: 40px 20px 60px;
  background: linear-gradient(to left, #a0c8ff, #c1d9ff, #6ba5ff);
  width: 100%;
}

.schedule-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.schedule-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.schedule-box table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-box th,
.schedule-box td {
  border-bottom: 1px solid #ddd;
  padding: 12px 20px 12px 30px;
  font-size: 16px;
  text-align: left;
  color: #000;
}

.schedule-box tr:last-child td {
  border-bottom: none;
}

.schedule-box th {
  background: #f1f1f1;
  font-weight: bold;
  color: #000;
}

/* Quick links in hero section */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.quick-links a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quick-links a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Płynne przewijanie */
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {

  .top-bar .email-contact {
    display: none;
  }

  /* Nawigacja - sticky pod top barem */
 .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 15px;
    font-size: 14px;
    gap: 15px;
    justify-content: center;
    z-index: 1000;
    background: var(--top-bar-bg); /* Teraz będzie #333 */
    display: flex;
    align-items: center;
  }
  
  .nav-bar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    padding: 10px 15px;
    z-index: 999;
    background: var(--nav-bar-bg); /* Teraz będzie #333 */
    align-items: center;
  }

  .top-bar {
  background: #333 !important;
}

.nav-bar {
  background: #444 !important;
}
  
.nav-bar .container {
  position: relative;  /* by hamburgerBtn z pozycji absolute działał */
  width: 100%;
  max-width: 1200px;   /* jeśli masz limit szerokości */
  margin: 0 auto;
  display: flex;
  justify-content: center; /* wyśrodkowanie logo + napisu */
  align-items: center;
}
  
  .logo {
    font-size: 20px;
  }
  
  .logo img {
    height: 30px;
  }
  #hamburgerBtn {
  position: absolute;
  right: 15px;
  
  transform: translateY(-33%);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px; /* dopasowanie do wysokości navbaru */
  width: 50px; /* kwadrat */
  cursor: pointer;
  /* Dodaj tło takie samo jak navbar */
  background-color: var(--nav-bar-bg); /* lub #444 jeśli nie masz zmiennej */
  /* Opcjonalnie: kwadratowy cień */
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  border-radius: 0;
  font-size: 24px; /* rozmiar ikonki */
  color: white; /* lub dostosuj */
}
  .white-gap {
    height: 60px; /* zmień na tyle, ile chcesz odstępu */
    background: white;
  }
.menu {
  background-color: #444 !important;
}

.quick-links {
  flex-direction: column;
  align-items: center;
  gap: 20px; /* np. 15px odstępu między linkami */
}
  /* Ogólne dostosowania dla urządzeń mobilnych */

  
  /* Nawigacja mobilna */
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  .menu.active {
    display: flex;
  }
  
  .has-submenu .submenu {
    padding-left: 15px;
  }
  
  /* Hero section */
  .hero-wrapper {
    padding: 40px 15px;
  }
  
  .hero-left h2 {
    font-size: 24px;
  }
  
  .quick-links {
    flex-direction: column;
    align-items: center;
  }
  
  .quick-links a {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 16px;
  }
  
  /* Sekcje treści */
  .info-box, .media-box, .schedule-box {
    padding: 20px;
  }
  
  .info-box ul li {
    font-size: 16px;
    margin-bottom: 17px;
    text-align: left;
  }
  
  /* Tabela - przewijanie poziome */
  .schedule-box table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
  }
  
  .schedule-box th, 
  .schedule-box td {
    padding: 8px 10px;
  }
  
  /* Stopka */
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
  

  
  .section-title {
    font-size: 20px;
  }

   .contact-icons.bottom {
    font-size: 0.8em;
    gap: 12px;
  }
  
  .contact-icons.bottom a i {
    font-size: 18px;
  }
  
  .tooltip-text {
    font-size: 14px;
  }
}