/* Podstawowy styl i czcionka z Google Fonts */
body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif !important;
  background-color: #FFEBD4;
  color: #333;
  font-size: 1.2em;
}




/* Reguła dla powiększonej czcionki */
.large-font {
  font-size: 1.4em;
}

/* GŁÓWNA SEKCJA */
.main-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  width: 80%;       /* lub inna ustalona szerokość */
  margin: 0 auto;   /* automatyczne marginesy po lewej i prawej */
}

/* Sidebar – przyjazny wygląd dla dzieci */
/* === NOWE STYLOWANIE BOCZNEGO MENU === */
.sidebar {
  /* Ustawiamy mniejszą szerokość, np. 300px */
  width: 300px; 
  /* Pastelowe tło, zaokrąglenia i delikatny cień */
  background: #FFE9C7;       /* pastelowy pomarańcz/krem */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  /* Jeśli chcesz, aby przyciski były rozstawione pionowo z odstępami */
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: -140px;
}

/* Każdy przycisk w menu */
.menu-btn {
  background: #fff;
  font-family: 'Quicksand', sans-serif !important;
  color: #0277bd;            /* tekst w przyciskach – zmień na #333, jeśli wolisz ciemniejszy */
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 1rem;
  text-align: center !important;
  cursor: pointer;
  /* Ładna animacja przy najechaniu */
  transition: transform 0.3s ease, background 0.3s ease;
}

.menu-btn:hover {
  background: #ffd9a5;       /* delikatny jaśniejszy odcień */
  transform: scale(1.03);
}

.menu-btn:hover {
  background: #81d4fa;
  transform: scale(1.03);
}

/* Sekcja content – przejrzysta i nowoczesna */
.content {
  width: 100%;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-right: -140px;
  
}

/* Pozostałe style (Navbar, hero, stopka itd.) */

.navbar {
  position: fixed;
  font-family: 'Quicksand', sans-serif !important;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffffdf; /* Pełne, nieprzeźroczyste tło - możesz zmienić na inny kolor */
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffcc00;
  transform: scale(1.05);
}

.nav-link.active {
  background: white;
  color: black;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.navbar .options {
  display: flex;
  gap: 10px;
  margin-right: 40px;
}

.navbar .options button {
  background: none;
  border: 1px solid #000000;
  color: #000000;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.navbar .options button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  /* Przykład dla proporcji 16:9 – 56.25% to (9/16)*100% */
  padding-top: 43.25%;  
}

.hero-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('room11.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* DOLNY OBRAZ */
.full-width-image {
  width: 100%;
  height: 700px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Zmiana z fixed na scroll */
}

/* Stopka */
.footer {
  width: 100%;
  padding: 20px;
  background: #fff;
  text-align: center;
  border-top: 2px solid #ddd;
  font-style: italic;
}

/* Responsywność */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }
  .sidebar, .content {
    width: 100%;
  }
}

/* Focus styles dla dostępności */
button:focus, a:focus, select:focus {
  outline: 2px dashed #ffcc00;
  outline-offset: 2px;
}

/* Dark Theme Styles */
.dark-theme {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-theme .navbar {
  background-color: #1e1e1e;
}

.dark-theme .nav-link {
  color: #e0e0e0;
}

.dark-theme .nav-link:hover {
  color: #ffcc00;
}

.dark-theme .sidebar {
  background: #1e1e1e;
}

.dark-theme .menu-btn {
  background: #333;
  color: #e0e0e0;
}

.dark-theme .menu-btn:hover {
  background: #444;
}

.dark-theme .content {
  background: #1e1e1e;
  color: #e0e0e0;
}

.dark-theme .footer {
  background: #1e1e1e;
  color: #e0e0e0;
}

/* MODAL - okienko na wirtualny spacer */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 80%;
  max-width: 800px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.modal.show .modal-content {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.close-btn {
  display: block;
  background: #ff4d4d;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.3s;
}

.close-btn:hover {
  background: #ff0000;
}

/* PRZYCISK "Otwórz Wirtualny Spacer" */
.open-tour-btn {
  background: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: transform 0.2s, background 0.3s;
  display: inline-block;
  margin-top: 10px;
}

.open-tour-btn:hover {
  background: #45a049;
  transform: scale(1.05);
}

/* ============================
   NOWY WYGLĄD MENU – KAŻDY PRZYCISK W RAMCE
============================ */
.sidebar {
  box-sizing: border-box; /* Upewnia się, że obramowanie jest wliczane w szerokość */
  width: 500px;  /* Zmienione z 600px na 300px */
  background: #4A90E2;         /* Tło z przesłanego zdjęcia */
  border: 6px solid #4A90E2;    /* Gruby obrys */
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Quicksand', sans-serif !important;
  margin-top: -65px; /* Spróbuj z -20px, a w razie potrzeby dostosuj tę wartość */
  margin-bottom: -14px;
}

.menu-btn {
  display: block;
  width: 100%;
  font-weight: bold!important;
  white-space: normal;       /* Pozwala na zawijanie tekstu */
  /* Usuń overflow i text-overflow, żeby cały tekst był widoczny */

  background: #FFFFFF !important;
  border: 5px solid #FF8B53;
  border-radius: 10px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Efekt hover – przycisk delikatnie się powiększa i zmienia tło */
.menu-btn:hover {
  background: #ffd9a5;
  transform: scale(1.03);
}

/* Dodanie ikony ołówka do każdego przycisku menu */
.menu-btn::after {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none; /* Ikona nie wpływa na interakcję */
}

/* Upewnij się, że przyciski w menu mają białe tło */
.menu-btn {
  background: #FFFFFF !important;
  border: 5px solid #FF8B53; /* zachowujemy obrys */
  color: #333;
}

.word1 {
  color: #79a9d5; /* np. czerwony */
}

.word2 {
  color: #f7c85b; /* np. niebieski */
}

.word3 {
  color: #ef5656; /* np. zielony */
}

/* ============================
   NOWY WYGLĄD OBSZARU TREŚCI
============================ */
.content {
  background: #ffffff !important;  /* Pastelowe tło jak w menu */
  border: 6px solid #FF8B53 !important;  /* Gruby obrys */
  border-radius: 15px;             /* Zaokrąglone rogi */
  padding: 20px;                   /* Wewnętrzny odstęp */
  box-shadow: 0 0 10px rgba(0,0,0,0.1);  /* Delikatny cień */
  margin-bottom: -15px;
  margin-top: -65px; /* Dodaj ujemny margines, by przesunąć tekst wyżej */
}

/* Styl bazowy dla linków w navbarze */
.nav-link {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #ccc; /* domyślny kolor – będzie nadpisany przez data-color */
  border-radius: 20px;
  transition: background 0.3s, color 0.3s;
  background: #fff; /* białe tło */
  color: #333;      /* domyślny kolor – będzie nadpisany */
}

/* Kolory bazowe – możesz je dostosować według potrzeb */
.nav-link[data-color="blue"] {
  border-color: #4A90E2;
  color: #4A90E2;
}
.nav-link[data-color="yellow"] {
  border-color: #F5A623;
  color: #F5A623;
}
.nav-link[data-color="red"] {
  border-color: #D0021B;
  color: #D0021B;
}
.nav-link[data-color="green"] {
  border-color: #27ae60;
  color: #27ae60;
}

/* Efekt hover – wypełnienie w kolorze ramki i biały tekst */
.nav-link[data-color="blue"]:hover {
  background: #4A90E2;
  color: #fff;
}
.nav-link[data-color="yellow"]:hover {
  background: #F5A623;
  color: #fff;
}
.nav-link[data-color="red"]:hover {
  background: #D0021B;
  color: #fff;
}
.nav-link[data-color="green"]:hover {
  background: #27ae60;
  color: #fff;
}

/* Stylizacja ikon społecznościowych w navbarze */
.social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* Stylizacja nagłówka */
.welcome-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.options .social-icons {
  margin-right: 10px;
}

.about-text {
  max-width: 800px;  /* lub inna szerokość, która Ci odpowiada */
  margin: 0 auto;    /* wyśrodkowanie kontenera */

}

.about-text h1 {
  text-align: center;
  margin-bottom: 20px;
}

.about-text p {
  text-align: justify;
  line-height: 1.6;
}
.about-text p {
  line-height: 1.6;
}
.content h1 {
  width: 100%;
  color: #ff5361;
  margin: 0 auto 20px auto;
}

/* Styl przycisku głośniczka */
.speaker-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 10; /* Upewnia się, że przycisk jest na wierzchu */
}

.speaker-btn img {
  width: 64px;
  height: 64px;
  display: block;
}

/* ============================
   DARK THEME OVERRIDES – WYMUSZONE !IMPORTANT
============================ */
.dark-theme body {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

.dark-theme .navbar {
  background-color: #1e1e1e !important;
}

.dark-theme .nav-link {
  color: #000000 !important;
  border-color: #444 !important;
}

.dark-theme .nav-link:hover {
  color: #ffcc00 !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .sidebar {
  background: #1e1e1e !important;
  border-color: #444 !important;
}

.dark-theme .menu-btn {
  background: #333 !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

.dark-theme .menu-btn:hover {
  background: #444 !important;
}

.dark-theme .content {
  background: #1e1e1e !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

.dark-theme .footer {
  background: #1e1e1e !important;
  color: #e0e0e0 !important;
}

.about-text p {
  margin-left: 20px;
}
.welcome-title {
  position: relative;  /* Konieczne do absolutnego pozycjonowania pseudo-elementu */
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px; /* Zapewnij trochę miejsca na pseudo-element */
}

.welcome-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /* Odstęp od dolnej krawędzi tekstu – dostosuj według potrzeb */
  transform: translateX(-50%);
  width: 50%;      /* Długość podkreślenia – możesz dostosować */
  height: 3px;     /* Grubość linii podkreślenia */
  background-color: #ff5361;  /* Kolor linii */
  border-radius: 2px;         /* Opcjonalnie – zaokrąglenie linii */
}

.highlight-btn {
  background-color: #ffe082 !important;
  border: 4px solid #ffb300 !important;
  color: #4e342e !important;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  text-align: center;
  font-size: 1rem;
  padding: 16px 20px;
  animation: glow 2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.7);
}

.highlight-btn .btn-text {
  position: relative;
  z-index: 2;
}

/* Przycisk ze świecącym efektem */
.glow-btn {
  background-color: #ffe082 !important;
  border: 4px solid #ffb300 !important;
  color: #4e342e !important;
  font-weight: bold;
  font-size: 1rem;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease-in-out;
  animation: glow 2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

/* Animacja świecenia */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4),
                0 0 16px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.9),
                0 0 30px rgba(255, 193, 7, 0.6);
  }
}

/* Domyślny styl przycisków */
.theme-control {
  border: 2px solid black;
  background: transparent;
  color: black;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Ciemny motyw: białe ramki i tekst */
.dark-theme .theme-control {
  border: 2px solid white !important;
  color: white !important;
  background: transparent !important;
}

.psych-section {
  /* czcionka, rozmiar, odstępy między wierszami i akapitami */
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-line;     /* zachowuje puste linie z JS */
  padding: 2rem;
  max-width: 800px;
  background: #ffffff;
  max-height: 900px;       /* albo np. 500px — ustaw wg potrzeby */
  overflow-y: auto;       /* włącza pionowe przewijanie */
  padding-right: 1rem;    /* żeby tekst nie przyklejał się do scrollbara */
}

/* główny tytuł (pierwsza linia) */
.psych-section > div:first-child,
.psych-section > p:first-of-type {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* kolejne paragrafy */
.psych-section p {
  margin: 1rem 0;
}

/* nagłówki etapów */
.psych-section h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.25rem;
}

/* listy numerowane i punktowane */
.psych-section ol,
.psych-section ul {
  margin: 1rem 0 1rem 1.5rem;
}
.psych-section li {
  margin-bottom: 0.5rem;
}

/* wyróżnione fragmenty */
.psych-section strong {
  font-weight: bold;
  color: #c0392b;
}

/* stopka z bibliografią */
.psych-section .psych-footer {
  margin-top: 2rem;
  font-style: italic;
  text-align: right;
}

.psych-highlight {
  border: 5px solid #f39c12;
  background: #fff8f0;
  padding: 1rem;
  margin: 1.5rem 0;
  color: #c0392b;
  font-style: italic;
  line-height: 1.6;
  border-radius: 6px;
}

.psych-section .psych-title {
  text-align: center;
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
  color: #2980b9;
  font-weight: bold;
}

.psych-section {
  max-width: none;       /* znosimy limit 800px */
  margin: 0;             /* usuwamy zewnętrzne marginesy */
  background: #fff;      /* jeśli chcesz białe tło */
  box-sizing: border-box;
  margin-bottom: 1rem;
  border-radius: 10px;
}

/* Specjalne podkreślenie pierwszej frazy */
.intro-highlight {
  color: #ff7f50;               /* coral */
  text-decoration: underline;
  font-weight: bold;
}

/* Specjalne podkreślenie warunkowej frazy */
.conditional-highlight {
  color: #3399ff;               /* niebieski */
  text-decoration: underline;
  font-weight: bold;
}

.download {
  position: relative;  /* Konieczne do absolutnego pozycjonowania pseudo-elementu */
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px; /* Zapewnij trochę miejsca na pseudo-element */
  margin-top: -5px !important
}

.download::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /* Odstęp od dolnej krawędzi tekstu – dostosuj według potrzeb */
  transform: translateX(-50%);
  width: 15%;      /* Długość podkreślenia – możesz dostosować */
  height: 3px;     /* Grubość linii podkreślenia */
  background-color: #ff5361;  /* Kolor linii */
  border-radius: 2px;         /* Opcjonalnie – zaokrąglenie linii */
}


/* ——————— Stopka ——————— */
    .site-footer {
      font-family: sans-serif;
      color: #333;
      background: #f8f8f8;
    }
    .full-width-image {
      width: 100%;
      height: auto;
      display: block;
    }

    /* — Sekcja „dofinansowano przez” — */
    .footer-experience,
    .footer-media-patrons {
      background: #fff;
      padding: 20px;
    }
    .footer-experience-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* kolumny: dofinansowanie i partnerzy */
.funding-group,
.partners-group {
  font-family:'Quicksand';
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* nagłówki nad grafikami */
.funding-group h2,
.partners-group h3 {
  font-family:'Quicksand';
  font-size: 1rem;
  margin: 0 0 10px;
  white-space: nowrap;
}

/* banner dofinansowania */
.funding-group img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* logotypy partnerów */
.partners-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.partners-logos img {
  max-height: 40px;
  width: auto;
}
    .footer-experience-inner h2 {
      font-size: 1rem;
      margin: 0;
      white-space: nowrap;
    }
    .footer-banner img {
      max-height: 60px;
      width: auto;
      display: block;
    }
    .partners-group {
      display: flex;
      flex-direction: column;
    }
    .partners-group h3 {
      font-size: 0.9rem;
      margin: 0 0 5px;
      white-space: nowrap;
    }
    .partners-logos {
      display: flex;
      gap: 10px;
    }
    .partners-logos img {
      max-height: 40px;
      width: auto;
    }

    /* — Sekcja: Patroni medialni — */
    .footer-media-patrons {
      border-top: 1px solid #ddd;
      font-family:'Quicksand';
    }
    .footer-media-patrons h3 {
      text-align: center;
      margin: 0 0 .5em;
      font-weight: normal;
    }
    .media-patrons-logos {
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
    }
    .media-patrons-logos img {
      max-height: 50px;
    }

     /* === FIX: RÓWNE UŁOŻENIE LOGO PATRONÓW (GÓRNY RZĄD) === */
.partners-logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;      /* klucz: wyrównanie w pionie */
  gap: 16px;                /* równy odstęp */
}

/* bazowy, równy rozmiar – bez ręcznych przesunięć */
.partners-logos img{
  display: block;
  height: 80px;             /* jeden wspólny “rząd” */
  width: auto;
  max-width: 220px;         /* żeby szerokie logo nie rozwalało układu */
  object-fit: contain;
  margin: 0 !important;     /* kasuje margin-top z klas */
  padding: 0;
}


/* jeśli CHCESZ wyjątki rozmiaru – tylko wysokość, bez margin-top */
.partners-logos img.logo-lub{ height: 110px; }   /* Lublin większe (opcjonalnie) */
.partners-logos img.mkou-logo{ height: 95px; }   /* opcjonalnie */



    /* — Sekcja główna stopki — */
 .footer-main {
  border-top: 1px solid #ffffff;
  /* było: padding: 30px 20px; */
  padding: 12px 16px;         /* mniejszy odstęp wewnętrzny */
  font-family: 'Quicksand';
  background-color: #FFEBD4;  /* beż */
}
    .footer-main-content {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: space-evenly;
      align-items: flex-start;
    }

    .footer-logos {
  display: flex;
  flex-direction: column; /* układ wertykalny */
  gap: 30px;              /* odstęp między kolejnymi logo */
}

.footer-logos img {
  height: 90px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain;
}

/* Docelowy rozmiar logo Towarzystwa */
.footer-logos img.footer-tow-logo {
  height: 120px !important; /* zwiększaj wg potrzeby: 160, 180… */
  width: auto !important;
}



.partners-logos .stowrodzin-logo {
  max-height: 90px !important; /* usuwa poprzednie ograniczenie */
  width: 90px;                /* ustaw dowolną szerokość */
  height: auto !important;     /* zachowuje proporcje */
}

.partners-logos .lexsuper-logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 80px;                /* ustaw dowolną szerokość */
  height: 80px !important;     /* zachowuje proporcje */
   margin-top: 05px;           /* dodaj to, by usunąć odstęp nad logo */
  
}


.partners-logos .logo-lub {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 210px;                /* ustaw dowolną szerokość */
  height: 130px; !important;     /* zachowuje proporcje */
   margin-top: -50px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .fdds_logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 120px;                /* ustaw dowolną szerokość */
  height: 120px !important;     /* zachowuje proporcje */
   margin-top: -50px;           /* dodaj to, by usunąć odstęp nad logo */
  
}



.partners-logos .mkou-logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 120px;                /* ustaw dowolną szerokość */
  height: 120px !important;     /* zachowuje proporcje */
   margin-top: -15px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .prok-kraj {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 130px;                /* ustaw dowolną szerokość */
  height: 120px; !important;     /* zachowuje proporcje */
   margin-top: -10px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.media-patrons-logos .radio-cen {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 190px;                /* ustaw dowolną szerokość */
  height: 100px; !important;     /* zachowuje proporcje */
   margin-top: -0px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.media-patrons-logos .psycho {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 120px;                /* ustaw dowolną szerokość */
  height: 100px; !important;     /* zachowuje proporcje */
   margin-top: -0px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .ilupat {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 160px;                /* ustaw dowolną szerokość */
  height: 60px; !important;     /* zachowuje proporcje */
   margin-top: 10px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .f5-logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 90px;                /* ustaw dowolną szerokość */
  height: 90px !important;     /* zachowuje proporcje */
   margin-top: -24px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .ppfk-logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 80px;                /* ustaw dowolną szerokość */
  height: 80px !important;     /* zachowuje proporcje */
   margin-top: -20px;           /* dodaj to, by usunąć odstęp nad logo */
  
}

.partners-logos .boda-logo {
  max-height: none !important; /* usuwa poprzednie ograniczenie */
  width: 90px;                /* ustaw dowolną szerokość */
  height: 90px !important;     /* zachowuje proporcje */
   margin-top: -30px;           /* dodaj to, by usunąć odstęp nad logo */
  
}


.footer-main { padding-bottom: 12px !important; }

.site-footer { 
  padding: 0 !important; 
  margin: 0 !important; 
}

.footer-bottom {
  background: #fff;
  color: #000;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
  width: 100%;
  display: block;
  margin: 0 !important;     /* zero marginesu */
}

    .footer-logos img {
      max-height: 80px;
      margin-right: 15px;
      display: flex;
      align-items: flex-start; /* lub center, jeśli chcesz centrować */
    }
    .footer-info p {
      line-height: 1.4;
      margin: 0 0 10px;
    }
    .footer-info address {
      font-style: normal;
      line-height: 1.4;
      margin: 0;
    }
    .footer-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-nav li {
      margin-bottom: 8px;
    }
    .footer-nav a {
      text-decoration: none;
      color: inherit;
      display: inline-flex;
      align-items: center;
       display: inline-block;
  border: 1px solid transparent;
  padding: 1px 8px;
  border-radius: 3px;
  transition: color .3s, border-color .3s;
    }

/* 2) Efekt ramki + zmiana koloru tekstu na hover */
.footer-nav a:hover {
  border-color: currentColor;
}

/* 3) Specyficzne kolory dla każdego linku */
.footer-nav a[href="about.html"]:hover {
  color: orange;
}
.footer-nav a[href="team.html"]:hover {
  color: green;
}
.footer-nav a[href="kontakt.html"]:hover {
  color: red;
}
.footer-nav a[href="kontakt.html"]:hover {
  color: blue;
}

/* Wszystkie nagłówki w stopce bez pogrubienia */
.site-footer h2,
.site-footer h3 {
  font-weight: bold !important;
}

/* Większe nagłówki w stopce */
.site-footer h2 {
  font-size: 1.3rem !important;  /* podnieś do 1.3rem/1.4rem jeśli potrzeba */
}

.site-footer h3 {
  font-size: 1.3rem !important;    /* podnieś do 1.1rem/1.2rem jeśli potrzeba */
}


    .footer-nav a i {
      margin-right: 6px;
      font-size: 1.1em;
    }

    /* — Responsywność — */
    @media (max-width: 600px) {
      .footer-experience-inner,
      .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .partners-group,
      .footer-logos,
      .footer-nav {
        margin-top: 15px;
        align-items: center;
      }
    }

    /* 1) Nadpisanie inline‐background dla wszystkich wczytywanych sekcji */
.dark-theme #content-area > div[style*="background:#fff"] {
  background-color: #1e1e1e !important;
  color:            #e0e0e0 !important;
}

/* 2) Jeśli masz w środku kolejne <div> z inline paddingiem: */
.dark-theme #content-area > div[style*="padding"] {
  background-color: transparent !important;
}

/* 1) Logo w jednym rzędzie, środek w pionie, mały odstęp */
.footer-logos {
  display: flex;
  flex-direction: column;  /* pionowy układ logo */
  align-items: flex-start; /* wyrównanie do lewej */
  gap: 28px;                /* odstęp między logami */
  margin-left: 0;          /* brak przesunięcia do środka */
}

/* 2) Bazowe wymiary (logiczne) obu logotypów */
.footer-logos img {
  height: 80px;        /* stała wysokość układu */
  width: auto;
  display: block;
  margin: 0;
  flex: 0 0 auto;
}


/* reset luzów od stopki (masz wiele reguł footer – nadpisujemy) */
footer { margin: 0 !important; padding-bottom: 0 !important; }

/* --- Hard override na dół strony --- */
body { padding-bottom: 0 !important; }
.content { padding-bottom: 0 !important; }
footer, .site-footer { margin: 0 !important; padding-bottom: 0 !important; }

/* Reset potencjalnych „buforów” na dole */
html, body { margin: 0; height: auto; }
body { padding-bottom: 0 !important; }

/* Jeśli masz gdzieś duże paddingi na dole treści, przytnij je: */
.content { padding-bottom: 0 !important; }

/* Sama stopka nie dokładamy dolnych luzów */
footer, .site-footer { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* Nowa sekcja – czysty, pełnej szerokości pasek */
.copyright-bar {
  display: block;
  width: 100%;
  margin: 0;
  box-sizing: border-box;

  background: #6495ED;       /* białe tło */
  color: #000;            /* czarny tekst */
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  padding: 12px 16px;     /* wysokość paska */
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Gdyby rodzic miał max-width i centrował dzieci, ten blok i tak jest poza nim,
   ale na wszelki wypadek pilnujemy pełnej szerokości okna bez poziomego scrolla */
.copyright-bar { max-width: 100vw; overflow-x: hidden; }

/* Stan odtwarzania (opcjonalnie) */
.control-btn.is-playing{
  background: rgba(74,144,226,.12);
  border-color: #4A90E2;
}


/* Stopka i paski informacyjne */
body.dark-theme .footer,
body.dark-theme .site-footer,
body.dark-theme .footer-main,
body.dark-theme .footer-bottom,
body.dark-theme .copyright-bar {
  background: #1e1e1e !important;
  color: #e0e0e0 !important;
  border-color: rgba(255,255,255,0.15) !important;
}

/* Bloki treści, które mają „na sztywno” białe tła */
body.dark-theme .content,
body.dark-theme .download-intro,
body.dark-theme .download-table-container {
  background: #1e1e1e !important;
  color: #e0e0e0 !important;
  border-color: #444 !important;
}

/* Linki/ramki w tabelach pobrań – lżejszy ciemny */
body.dark-theme .download-table thead {
  background-color: #2a2a2a !important;
}
body.dark-theme .download-table tr:nth-child(even) {
  background-color: #1a1a1a !important;
}

body.dark-theme .footer-experience,
body.dark-theme .footer-media-patrons {
  background: #ffffff !important;  /* białe tło */
  color: #222 !important;          /* ciemny tekst */
  border-color: #e5e5e5 !important;
}