/* 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: 100%;
  margin: 0;
  box-sizing: border-box;
  align-items: stretch;
}

/* Każdy przycisk w menu */
.menu-btn {
  background: #fff;
  font-family: 'Quicksand', sans-serif !important;
  color: #02bd21;
  border: none;
  border-radius: 22px;
  padding: 12px 20px;
  font-size: 1rem;
  text-align: center !important;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  font-weight: bold !important;
}

.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 {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  background: #ffffff !important;
  border: 6px solid #FF8B53 !important;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: -65px;
  margin-right: 0;
  margin-bottom: 0;
  position: relative;
}

/* 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;
  width: 500px;
  flex: 0 0 500px;
  background: #4A90E2;
  border: 6px solid #4A90E2;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -65px;
  margin-left: 0;
  margin-bottom: 0;
  align-self: flex-start;
}

.menu-btn {
  display: block;
  width: 100%;
  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 !important;
  color: #333;
  border-radius: 22px;
  padding: 12px 20px;
  font-size: 1rem;
  text-align: center !important;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  font-weight: bold !important;
}
}



/* 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 podpisu – pozycjonowany na samym dole po prawej stronie */
.signature,
.signature1 {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-top: 30px;
  font-style: italic;
  font-size: 0.95em;
}

.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;
}


.regulamin-link:hover {
  text-decoration: underline;
}

/* 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
============================ */
body.dark-theme {
  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;
}

/* 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;
}

.about-text p {
  text-indent: 2em;
  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 */
}
.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
}

.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 */
}

.download::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /* Odstęp od dolnej krawędzi tekstu – dostosuj według potrzeb */
  transform: translateX(-50%);
  width: 20%;      /* 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);
}



.team-section {
  margin-top: -50px;
}


.team {
  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
}

.team::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /* Odstęp od dolnej krawędzi tekstu – dostosuj według potrzeb */
  transform: translateX(-50%);
  width: 18%;      /* 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 .btn-text {
  position: relative;
  z-index: 2;
}



.glow-btn21 {
  background: linear-gradient(145deg, #ffffff, #ffffff) !important;
  border: 3px solid #ffb300 !important;
  color: #4e342e !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 22px;
  cursor: pointer;
  overflow: hidden;

  /* efekt 3D + glow */
  box-shadow: 
    0 5px 0 #ff8f00,
    0 0 12px rgba(255, 193, 7, 0.5);
}







/* Przycisk ze świecącym efektem */
.glow-btn {
  background: linear-gradient(145deg, #ffe082, #ffca28) !important;
  border: 3px solid #ffb300 !important;
  color: #4e342e !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 22px;
  cursor: pointer;
  overflow: hidden;

  /* efekt 3D + glow */
  box-shadow: 
    0 5px 0 #ff8f00,
    0 0 12px rgba(255, 193, 7, 0.5);

  /* delikatna animacja */
  animation: softGlow 3s infinite ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* hover */
.glow-btn:hover {
  transform: scale(1.06);
  box-shadow: 
    0 7px 0 #ff8f00,
    0 0 20px rgba(255, 193, 7, 0.9);
}

/* klik */
.glow-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 0 #ff8f00;
}

/* subtelne pulsowanie */
@keyframes softGlow {
  0%, 100% {
    box-shadow: 
      0 5px 0 #ff8f00,
      0 0 8px rgba(255, 193, 7, 0.4);
  }
  50% {
    box-shadow: 
      0 6px 0 #ff8f00,
      0 0 18px rgba(255, 193, 7, 0.7);
  }
}

/* ✨ błysk przejeżdżający */
.glow-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  50% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

.glow-btn2 {
  background: #ecb7d2 !important;
  border: 5px solid #e0306b !important;
  color: #880e4f !important;
  font-weight: 800 !important;
  font-size: 1.03rem;
  letter-spacing: 0.2px;
  padding: 16px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-radius: 22px;
  cursor: pointer;
  line-height: 1.25;

  box-shadow:
    0 0 0 2px rgba(224, 48, 107, 0.15),
    0 0 8px rgba(224, 48, 107, 0.35),
    0 0 16px rgba(224, 48, 107, 0.22);
}

.glow-btn2 span {
  font-weight: 800 !important;
}

.glow-btn2:hover {
  transform: scale(1.03);
  box-shadow:
    0 5px 0 #c2185b,
    0 0 10px rgba(224, 48, 107, 0.35),
    0 0 18px rgba(224, 48, 107, 0.28),
    0 0 24px rgba(224, 48, 107, 0.18);
}

.glow-btn2:active {
  transform: scale(0.97);
}

@keyframes borderGlowPink {
  0%, 100% {
    border-color: #e91e63;
    box-shadow:
      0 0 0 2px rgba(233, 30, 99, 0.20),
      0 0 8px rgba(233, 30, 99, 0.30),
      0 0 16px rgba(233, 30, 99, 0.18);
  }
  50% {
    border-color: #ff4f93;
    box-shadow:
      0 0 0 4px rgba(255, 79, 147, 0.28),
      0 0 14px rgba(255, 79, 147, 0.45),
      0 0 26px rgba(255, 79, 147, 0.28);
  }
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow:
      0 3px 0 #c2185b,
      0 0 6px rgba(224, 48, 107, 0.22),
      0 0 12px rgba(224, 48, 107, 0.16);
  }
  50% {
    box-shadow:
      0 3px 0 #c2185b,
      0 0 10px rgba(224, 48, 107, 0.38),
      0 0 18px rgba(224, 48, 107, 0.28),
      0 0 26px rgba(224, 48, 107, 0.18);
  }
}


.toggle-btn {
  border: 2px solid black !important;
  color: black !important;
  background: transparent !important;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

/* Styl przycisków w ciemnym motywie */
.dark-theme .toggle-btn {
  border: 2px solid white !important;
  color: white !important;
}

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

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

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

.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 {
  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;
  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 {
  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;
}

/* === Stylowanie sekcji "Znajdź pokój przesłuchań" === */
#find-room-content {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Nagłówek */
#find-room-content h2 {
  color: #ff3377;               /* różowy */
  text-decoration: underline;
  text-align: center;
  margin-bottom: 1em;
}

/* Wyjustowany tekst */
#find-room-content p,
#find-room-content ol {
  text-align: justify;
  margin-bottom: 1em;
}

/* 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;
}

/* Odstęp przed listą numerowaną */
#find-room-content ol {
  padding-left: 1.5em;
}

/* Przyciski i select wyrównane pod tekstem */
#find-room-content .controls {
  margin-top: 1.5em;
}

.infobutton {
  max-width: 100%;
  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 */
}

 /* ——————— 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;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.footer-media-patrons {
  padding-top: 6px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
}

.footer-media-patrons h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.media-patrons-logos {
  margin-top: 0 !important;
}

.footer-media-patrons {
  padding-top: 6px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
}

.footer-media-patrons h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.media-patrons-logos {
  margin-top: 0 !important;
}


/* ===== NOWY UKŁAD STOPKI: patroni zwykli + honorowi ===== */

.footer-experience-inner {
  display: block;
}

.footer-top-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-group {
  flex: 1 1 60%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.honorary-patrons-group {
  flex: 0 1 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fafbfc;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  padding: 22px 28px;
}

.partners-group h3,
.honorary-patrons-group h3,
.footer-media-patrons h3 {
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  margin: 0 0 14px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2f46;
}

.honorary-patrons-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pkdp-logo {
  height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 !important;
}

.prokurator-text {
  font-family: Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
  text-align: left;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 42px;
  row-gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.partners-logos img {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-media-patrons {
  margin-top: 24px;
}

/* responsywność */
@media (max-width: 900px) {
  .footer-top-row {
    flex-direction: column;
    align-items: center;
  }

  .partners-group,
  .honorary-patrons-group {
    max-width: 100%;
    width: 100%;
  }

  .prokurator-text {
    text-align: center;
    white-space: normal;
  }
}

.prokurator-text {
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
  text-align: left;
  white-space: nowrap;
}

.honorary-patrons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid #d9dee5;
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}



/* 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;
}


.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;
  align-items: center;
}

.partners-group h3 {
  text-align: center;
  font-size: 0.9rem;
  margin: 0 0 10px;
  white-space: nowrap;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 80px;
  row-gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.partners-logos img {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
}
    .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 .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 */
  
}

.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 .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 */
  
}

.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 */
  
}


.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; }


.download-table-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;

  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.download-table {
  width: 100%;
  border-collapse: collapse;
}

.download-table th, .download-table td {
  padding: 12px 15px;
  text-align: left;
}

.download-table thead {
  background-color: #FFE9C7;
}

.download-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.download-btn {
  display: inline-block;
  background-color: #4A90E2;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s;
}

.download-btn:hover {
  background-color: #357ABD;
  transform: scale(1.05);
}

.download-intro {
  font-family: 'Quicksand', sans-serif;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding: 20px;
  background: #fff;
  margin-top: -30px;
  border-radius: 15px;
  line-height: 1.6;
}

.download-intro .highlight {
  color: #0277bd;
  font-weight: bold;
}


.download-btn.is-disabled{
  opacity:.55;
  pointer-events:none;
  cursor:default;
  filter:grayscale(15%);
}




/* --- 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;
}


/* Pozwól używać wyglądu #find-room-content także jako klasy */
.find-room-block { /* jak #find-room-content */
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.find-room-block h2 { color:#ff3377; text-decoration:underline; text-align:center; margin-bottom:1em; }
.find-room-block p,
.find-room-block ol { text-align:justify; margin-bottom:1em; }
.find-room-block ol { padding-left: 1.5em; }



.footer-support-official {
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center; /* wyśrodkowanie boxa */
  background-color: #ffffff;
}



.ramka {
  border: 4px solid #f07c2f; /* pomarańczowa ramka */
  border-radius: 20px;       /* zaokrąglenie */
  padding: 20px 25px;
  max-width: 600px;
  background-color: #ffffff; /* delikatne tło */
  font-family: Arial, sans-serif;
  color: #333;
}

.ramka p {
  margin: 10px 0;
  text-align: center;
}

.ramka strong {
  font-weight: bold;
}



.support-text {
  font-size: 19px;
  line-height: 1.6;
  color: #222;
}

.support-link {
  color: #1f3c88;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #1f3c88;
  transition: all 0.2s ease;
}

.support-link:hover {
  color: #0d1f4a;
  border-bottom: 2px solid #0d1f4a;
}


/* =========================
   🧸 DYMek pomocy dla dzieci
========================= */

.help-bubble {
  position: fixed;   /* 🔥 kluczowe */
  right: 10px;       /* od prawej krawędzi */
  top: 220px;        /* od góry (dopasuj pod navbar) */
  z-index: 9999;     /* żeby był zawsze na wierzchu */
  cursor: pointer;
}

.bubble-hint {
  position: absolute;
  right: 60px;
  top: -10px;

  background: #fff6f9;
  color: #ff6f91;

  padding: 8px 12px;
  border-radius: 15px;

  font-size: 0.85rem;
  font-weight: 600;

  box-shadow: 0 5px 15px rgba(0,0,0,0.15);

  opacity: 0;
  transform: translateY(10px);

  animation: hintShow 4s ease forwards;
}

/* strzałka */
.bubble-hint::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 12px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #fff6f9;
}

/* animacja pojawiania */
@keyframes hintShow {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* po kliknięciu */
.help-bubble.active .bubble-content {
  display: block;
}

.bubble-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Ikona */
/* Ikona */
.bubble-icon {
  width: 60px;
  height: 60px;
  background-image: url("images/tele.svg"); /* tutaj wpisz ścieżkę do swojego pliku */
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);

  animation: float 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}

.bubble-icon:hover {
  transform: scale(1.1);
}

/* Animacja "unoszenia się" */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}



/* Okienko */
.bubble-content {
  display: none;
  position: absolute;

  background: #fff8dc;
  border-radius: 15px;
  padding: 15px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border: 3px solid #FFD166;

  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;

  transition: all 0.3s ease;
  font-size: 0.9rem;
    right: 60px;   /* 🔥 przesuwa okienko w lewo od ikonki */
  top: 0;

  width: 250px;
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Po kliknięciu */
.help-bubble.active .bubble-content {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Tekst */
.bubble-content h3 {
  margin-top: 0;
  color: #ff8b53;
  text-align: center;
}

.bubble-content ul {
  padding-left: 15px;
}

.bubble-small {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 10px;
}

/* mis pomocy */

.teddy-bubble {
  position: fixed;
  right: 10px;
  top: 37%;                 /* środek ekranu */
  transform: translateY(-50%); /* idealne wycentrowanie */
  z-index: 9999;
}







/* MIŚ */
.teddy-icon {
  width: 60px;
  height: 60px;

  background: url("/images/pomoc.svg") center center / contain no-repeat;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 50%;

  animation: teddyFloat 3s ease-in-out infinite;
  transition: transform 0.2s;
}

.teddy-icon:hover {
  transform: scale(1.1);
}

@keyframes teddyFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* OKIENKO */
.teddy-content {
  display: none;
  position: absolute;
  right: 60px;
  bottom: 0;

  width: 280px;
  background: #fff6f9;
  border-radius: 15px;
  padding: 15px;

  border: 3px solid #ffb3c6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* aktywne */
.teddy-bubble.active .teddy-content {
  display: block;
}

/* nagłówek */
.teddy-header {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #ff6f91;
}

/* chat */
.teddy-chat {
  min-height: 60px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* przyciski */
.teddy-btn {
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.85rem;
}

.teddy-btn:hover {
  background: #ffe0eb;
}


/* delikatne unoszenie */
@keyframes labelFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.teddy-label {
  animation: showLabel 5s ease-in-out infinite;
}

@keyframes showLabel {
  0% { opacity: 0; transform: translateY(10px); }
  20% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}


/* 🔥 Mniejsze ekrany – rozsuń elementy */
@media (max-height: 800px) {

  .help-bubble {
    top: 80px; /* trochę wyżej */
  }

  .teddy-bubble {
    top: 70%;              /* przesuwamy niżej */
    transform: translateY(-50%);
  }

}

/* 🔥 Jeszcze mniejsze laptopy */
@media (max-height: 700px) {

  .help-bubble {
    top: 60px;
  }

  .teddy-bubble {
    top: 80%;              /* jeszcze niżej */
    transform: translateY(-50%);
  }

}

/* 🔥 FAQ */

/* =========================
   🌈 FAQ – styl przyjazny dzieciom
========================= */

.faq-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 25px;
  background: #fff8f0;
  border-radius: 20px;
  border: 5px solid #ffb38a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.faq-title {
  color: #ff6f61;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

/* pojedynczy element */
.faq-item {
  margin-bottom: 15px;
}

/* pytanie */
.faq-question {
  width: 100%;
  padding: 15px;
  border-radius: 15px;
  border: none;
  background: #ffd166;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #ffb347;
  transform: scale(1.02);
}

/* odpowiedź */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #ffffff;
  border-radius: 10px;
  margin-top: 8px;
  padding: 0 10px;
}

.faq-answer p {
  padding: 10px;
  margin: 0;
  color: #444;
}

/* aktywny */
.faq-item.active .faq-answer {
  max-height: 200px;
}

/* DARK MODE */
.dark-theme .faq-container {
  background: #1e1e1e;
  border-color: #444;
}

.dark-theme .faq-question {
  background: #333;
  color: #fff;
}

.dark-theme .faq-answer {
  background: #2a2a2a;
  color: #eee;
}


.nav-link {
  display: inline-block !important;
  padding: 10px 15px !important;
  border: 2px solid !important;
  border-radius: 20px !important;
  background: #fff !important;
  text-decoration: none !important;
  font-weight: bold !important;
}

.nav-link[data-color="blue"] {
  border-color: #4A90E2 !important;
  color: #4A90E2 !important;
}

.nav-link[data-color="yellow"] {
  border-color: #F5A623 !important;
  color: #F5A623 !important;
}

.nav-link[data-color="red"] {
  border-color: #D0021B !important;
  color: #D0021B !important;
}

.nav-link[data-color="green"] {
  border-color: #27ae60 !important;
  color: #27ae60 !important;
}

.image-section {
  width: 100%;
  text-align: center;
}

.image-title {
  color: #ff5361;
  margin-bottom: 20px;
}

.image-frame {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.content-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}