
/* === Nawigacja podstron === */
.subpages-nav .nav-item:nth-child(1) a { color: #FF0000; }
.subpages-nav .nav-item:nth-child(3) a { color: #FFD200; }

/* === Sekcja licznika z nagłówkiem i tłem === */
.sekcja-licznika {
  background: linear-gradient(135deg, #f7f9fc, #e3ecf7);
  padding: 80px 40px 60px 40px;
  border-radius: 24px;
  text-align: center;
  margin: 60px auto 40px auto;
  max-width: 900px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
  font-family: 'Lato', 'Arial', sans-serif;
  color: #3a3a3a;
}

.countdown-heading {
  font-size: 32px;
  font-weight: 700;.faq-item {
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(250 249 252 / 0.8);
  border: 1px solid rgba(216 209 233 / 0.4);
  box-shadow: 0 2px 12px rgba(78, 62, 122, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
 
}

.faq-question {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 20px 26px;
  font-size: 18px;
  font-weight: 700;
  color: #493f74;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.faq-question:hover,
.faq-question.active {
  color: #2c1a5f;
  background-color: rgba(226, 218, 246, 0.4);
}

.faq-icon {
  font-size: 28px;
  color: #6b56b3;
  transition: transform 0.35s ease, color 0.3s ease;
  user-select: none;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  color: #3f2a7a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  background-color: rgba(249 248 252 / 0.9);
  font-size: 16px;
  line-height: 1.65;
  color: #4a4860;
  transition: max-height 0.4s ease, padding 0.35s ease;
  border-left: 1px solid rgba(216 209 233 / 0.3);
  border-right: 1px solid rgba(216 209 233 / 0.3);
  border-bottom: 1px solid rgba(216 209 233 / 0.3);
  user-select: text;
}

.faq-answer.active {
  max-height: 1200px;
  padding: 18px 26px 22px;
}
.faq-item {
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(250 249 252 / 0.8);
  border: 1px solid rgba(216 209 233 / 0.4);
  box-shadow: 0 2px 12px rgba(78, 62, 122, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  background-color: rgba(243, 237, 252, 0.95); /* jasny fiolet */
  box-shadow: 0 4px 16px rgba(90, 45, 130, 0.2);
}

.faq-question {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 20px 26px;
  font-size: 18px;
  font-weight: 700;
  color: #493f74;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.faq-question:hover,
.faq-question.active {
  color: #2c1a5f;
  background-color: rgba(226, 218, 246, 0.4);
}

.faq-icon {
  font-size: 28px;
  color: #6b56b3;
  transition: transform 0.35s ease, color 0.3s ease;
  user-select: none;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  color: #3f2a7a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  background-color: rgba(249 248 252 / 0.9);
  font-size: 16px;
  line-height: 1.65;
  color: #4a4860;
  transition: max-height 0.4s ease, padding 0.35s ease;
  border-left: 1px solid rgba(216 209 233 / 0.3);
  border-right: 1px solid rgba(216 209 233 / 0.3);
  border-bottom: 1px solid rgba(216 209 233 / 0.3);
  user-select: text;
}

.faq-answer.active {
  max-height: 1200px;
  padding: 18px 26px 22px;
}

  color: #5a2d82;
  margin-bottom: 50px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Lato', 'Arial', sans-serif;
}

/* === Sekcja licznika w formie kart === */
.counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 auto;
  max-width: 800px;
}

.flip-karta {
  perspective: 1000px;
}

.flip-inner {
  width: 160px;
  height: 160px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-karta.obrót .flip-inner {
  animation: flipAnim 0.85s ease-in-out;
}

@keyframes flipAnim {
  0%   { transform: rotateX(0); }
  35%  { transform: rotateX(14deg); }
  55%  { transform: rotateX(-9deg); }
  75%  { transform: rotateX(5deg); }
  100% { transform: rotateX(0); }
}

.licznik-karta {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(90, 45, 130, 0.15);
  padding: 35px 20px;
  width: 160px;
  height: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backface-visibility: hidden;
}

.licznik-wartosc {
  font-size: 48px;
  font-weight: 700;
  color: #B52525;
  margin: 0;
  letter-spacing: 0.02em;
}

.licznik-etykieta {
  font-size: 20px;
  font-weight: 600;
  color: #555555;
  margin-top: 14px;
  text-transform: uppercase;
}

/* === Przycisk przewijania nad rejestracją === */
.przycisk-rejestracji-sticky {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  position: fixed;
  bottom: 30px;
  right: 120px;
  z-index: 1000;
  background-color: #ffd93e; /* żółty */
  color: #000; /* czarny tekst */
  padding: 21px 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1em;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.przycisk-rejestracji-sticky.pokaz-przycisk {
  opacity: 1;
  visibility: visible;
}

.przycisk-rejestracji-sticky:hover {
  background-color: #973ec7; /* fiolet */
  color: #fff !important;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(151, 62, 199, 0.7);
}

@media (max-width: 768px) {
  .przycisk-rejestracji-sticky {
    display: none;
  }
}


/* === Harmonogram / Nawigacja === */
.harmonogram-kontener {
  width: 100%;
  display: block;
}

.program-nawigacja {
  width: 100%;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
  text-align: center;
}

.przycisk-dnia-js {
  background-color: #6A1B9A;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.przycisk-dnia-js:hover {
  background-color: #6A1B9A;
  transform: translateY(-2px);
}

.przycisk-dnia-js.aktywny {
  background-color: #6A1B9A;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.program-wydarzen {
  width: 100%;
}

.dzien-programu-js {
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* === NOWA REGULKA DLA GODZIN === */
/* Zapobiega zawijaniu tekstu (np. "10:00 - 11:45" zostanie w jednej linii) */
.time-cell {
  white-space: nowrap;
  /* Dodatkowe style dla lepszej prezentacji, ale kluczowe jest powyższe: */
  text-align: center;
  font-weight: bold;
}

/* === Obrazki nad innymi elementami === */
img {
  z-index: 10 !important;
  position: relative !important;
}

/* === FAQ Container (ostatnia wersja) === */
.faq-container {
  max-width: 900px;
  margin: 50px auto 60px auto;
  padding: 30px 40px;
  background: rgba(255 255 255 / 0.85);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
}

.faq-section {
  margin-bottom: 50px;
}

.faq-section h3.size-24 {
  font-size: 24px;
  font-weight: 700;
  color: #4e3e7a;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(142, 129, 216, 0.3);
  padding-bottom: 14px;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.faq-item {
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(78, 62, 122, 0.1);
  background: rgba(250 249 252 / 0.8);
  border: 1px solid rgba(216 209 233 / 0.4);
}

/* Pytanie jako button */
.faq-item {
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(250 249 252 / 0.8);
  border: 1px solid rgba(216 209 233 / 0.4);
  box-shadow: 0 2px 12px rgba(78, 62, 122, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  background-color: rgba(243, 237, 252, 0.95); /* jasny fiolet */
  box-shadow: 0 4px 16px rgba(90, 45, 130, 0.2);
}

.faq-question {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 20px 26px;
  font-size: 18px;
  font-weight: 700;
  color: #2F3045;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

.faq-question:hover,
.faq-question.active {
  color: #2c1a5f;
  background-color: rgba(226, 218, 246, 0.4);
}

.faq-icon {
  font-size: 28px;
  color: #6b56b3;
  transition: transform 0.35s ease, color 0.3s ease;
  user-select: none;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  color: #3f2a7a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  background-color: rgba(249 248 252 / 0.9);
  font-size: 16px;
  line-height: 1.65;
  color: #4a4860;
  transition: max-height 0.4s ease, padding 0.35s ease;
  border-left: 1px solid rgba(216 209 233 / 0.3);
  border-right: 1px solid rgba(216 209 233 / 0.3);
  border-bottom: 1px solid rgba(216 209 233 / 0.3);
  user-select: text;
}

.faq-answer.active {
  max-height: 1200px;
  padding: 18px 26px 22px;
}


/* ANIMACJA POJAWIANIA SIĘ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   SEKCJA Z IKONAMI
   =============================== */
.features-section {
    padding: 20px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Siatka kart --- */
.features-grid {
    display: grid;
    /* Domyślnie 3 kolumny, można zmienić na 2 lub 4 zmieniając cyfrę */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Styl pojedynczej karty --- */
.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Ikona --- */
.feature-card-icon {
    font-size: 3rem; /* Wielkość ikony */
    margin-bottom: 25px;
    color: #6f42c1; /* Domyślny kolor ikony (niebieski) */
    transition: color 0.3s ease;
}

/* --- Tytuł --- */
.feature-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #2F3045; /* Domyślny kolor tekstu (granatowy) */
    transition: color 0.3s ease;
}

/* ================================== */
/* --- EFEKTY PO NAJECHANIU MYSZKĄ --- */
/* ================================== */

.feature-card:hover {
    transform: translateY(-8px) scale(1.03); /* Uniesienie + powiększenie */
    background-color: #ad1457; /* Żółte tło po najechaniu */
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25); /* Większy, mocniejszy cień */
}


/* Zmiana koloru ikony i tytułu na biały po najechaniu na kartę */
.feature-card:hover .feature-card-icon,
.feature-card:hover .feature-card-title {
    color: #ffffff;
}

/* ===================================== */
/* --- RESPONSIVE (DLA MOBILE) --- */
/* ===================================== */

/* Tablety (do 992px) */
@media (max-width: 992px) {
    .features-grid {
        /* Zmiana na 2 kolumny */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefony (do 768px) */
@media (max-width: 768px) {
    .features-grid {
        /* Zmiana na 1 kolumnę */
        grid-template-columns: 1fr;
    }
    .features-section {
        padding: 60px 15px;
    }
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto; /* wyśrodkowanie w poziomie */
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
}

/* Styl pojedynczego wydarzenia */
.event {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Podczas najechania myszą */
.event:hover {
    transform: translateY(-3px);
}

/* Nagłówki wydarzeń */
.event h2 {
    color: rgb(11, 128, 223);
    margin-bottom: 10px;
    font-size: 1.3rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Opis wydarzeń */
.event p,
.event ul,
.event li {
    font-size: 1rem;
    color: #555;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Przyciski nawigacyjne */
.przycisk-dnia-js {
    background-color: rgb(11, 128, 223);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.przycisk-dnia-js:hover {
    background-color: rgb(8, 105, 190);
}

/* Aktywny przycisk dnia */
.przycisk-dnia-js.active {
    font-weight: bold;
    border: 2px solid white;
    background-color: rgb(8, 105, 190);
}

/* Styl dla tła i czcionki całego dokumentu */
body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsywność: mniejsze paddingi na telefonach */
@media (max-width: 600px) {
    .container {
        padding: 20px 10px;
    }

    .event {
        padding: 15px;
    }

    .przycisk-dnia-js {
        width: 100%;
        margin: 5px 0;
        font-size: 0.95rem;
    }
}

/* Styl dla czasu trwania sesji/prezentacji */
.schedule-list .schedule-item .schedule-time {
    display: inline-block;
    min-width: 90px;
    margin-right: 15px;
    font-weight: 600;
}

/* Styl dla zagnieżdżonego kontenera wykładów */
.sub-schedule {
    margin-top: 10px;
}

/* Styl dla pojedynczego wykładu w sesji (zastępuje <li>) */
.sub-schedule-item {
    position: relative;
    padding-left: 105px;
    margin-bottom: 5px;
}

/* Styl dla czasu trwania pojedynczego wykładu */
.sub-schedule-time {
    position: absolute;
    left: 0;
    font-weight: normal;
    color: #555;
}

/* Styl dla treści wykładu (zastępuje treść w <li>) */
.sub-schedule-item p {
    margin: 0;
    padding: 0;
}

/* Styl dla mobilnych urządzeń (np. smartfony) */
@media (max-width: 768px) {
    .sub-schedule-item {
        padding-left: 0;
    }

    .sub-schedule-time {
        position: static;
        display: inline-block;
        margin-right: 5px;
        text-indent: 0;
    }
}

/* Kontener paska odliczania */
#scroll-countdown-bar {
    position: fixed; /* Przyklejony do góry/dołu ekranu */
    bottom: 0; /* Przyklejony na dole strony */
    left: 0;
    width: 100%;
    /* Wygląd */
    background-color: #333; /* Ciemne tło */
    color: #fff; /* Biały tekst */
    padding: 10px 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    /* Flexbox do wyrównania elementów */
    display: flex;
    justify-content: center; /* Wyrównanie na środku (główna oś) */
    align-items: center; /* Wyrównanie w pionie (oś poprzeczna) */
    gap: 15px; /* Odstęp między elementami */
    /* Warstwa i animacja */
    z-index: 1000; /* Upewnij się, że jest na wierzchu */
    transition: transform 0.3s ease-in-out; /* Animacja wysuwania/chowania */
}

/* Stan paska - ukryty */
#scroll-countdown-bar.hidden {
    transform: translateY(100%); /* Przesuń poza ekran w dół */
}

/* Tekst i czas odliczania */
#countdown-text {
    font-size: 16px;
}

#countdown-timer {
    font-size: 20px;
    color: #ffcc00; /* Akcentujący kolor dla czasu */
}

/* Przycisk rejestracji (zawarty w <a> i <button>) */
.btn-link {
    text-decoration: none; /* Usuń podkreślenie z linku */
}

.btn-register {
    /* Wygląd przycisku */
    background-color: #e74c3c; /* Intensywny kolor */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-register:hover {
    background-color: #c0392b; /* Ciemniejszy kolor przy najechaniu */
}

/* Przycisk zamknięcia (X) */
.close-bar {
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-bar:hover {
    opacity: 1;
}

/* Ustawienia dla mniejszych ekranów (opcjonalnie) */
@media (max-width: 768px) {
    #scroll-countdown-bar {
        flex-direction: column; /* Ułóż elementy w kolumnie */
        gap: 8px;
        padding: 10px;
        text-align: center;
    }
    #countdown-text, #countdown-timer, .btn-register {
        font-size: 14px;
    }
    .close-bar {
        top: 5px;
        right: 5px;
        transform: none;
    }
/* 1. Domyślnie ukryj wszystkie harmonogramy */
.day-schedule {
    display: active; 
    /* Upewnij się, że nie jest nadpisywane przez inne style */
}

/* 2. Wyświetlaj tylko aktywny harmonogram */
/* Klasa 'active' jest dodawana przez JavaScript */
.day-schedule.active {
    /* Użyj tego samego typu wyświetlania, co w JS (block lub grid) */
    display: block !important; 
}

/* 3. Styl dla aktywnego przycisku (wizualna informacja dla użytkownika) */
.tab-button.active {
    background-color: #03142E; 
    color: #ffffff;
    font-weight: bold;
    /* Dodaj tutaj inne style, które chcesz, aby miał aktywny przycisk */
}


}


/* ===============================
    SEKCJA GALERII ZDJĘĆ - Z WIDOCZNYM SUWAKIEM
    =============================== */
.gallery-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.photo-gallery {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0 40px 20px 40px;
    overflow-x: auto; /* UMOŻLIWIA PRZEWIJANIE */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: auto; /* Włącz suwak dla Firefox */
    margin: 0 auto;
    justify-content: flex-start;
}

/* Włączamy domyślny pasek przewijania dla WebKit (Chrome/Safari) */
.photo-gallery::-webkit-scrollbar {
    display: block;
    height: 10px;
}
.photo-gallery::-webkit-scrollbar-thumb {
    background: #f52525;
    border-radius: 5px;
}
.photo-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Styl pojedynczego elementu galerii */
.gallery-item {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    overflow: hidden; /* ZMIANA: Zmienione na hidden by zaokrąglić rogi */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    flex-shrink: 0;
    height: 400px;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 40px rgba(90,45,130,0.3);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.3s ease;
}

/* ===============================
    LIGHTBOX (MODAL) - OSTATECZNA WERSJA Z NAPRAWIONYM POZYCJONOWANIEM
    =============================== */
.lightbox {
    /* Wymuszenie pozycji i widoczności Lightboxa */
    display: none !important;
    position: fixed !important;
    z-index: 2147483647 !important; /* Maksymalna wartość */
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;

    /* Wymuszenie tła i centrowania */
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(5px) !important;

    /* Centrowanie */
    align-items: center !important;
    justify-content: center !important;
    overflow-y: auto !important;

    /* Animacje */
    animation: fadeIn 0.3s forwards !important;
}

.lightbox.show {
    /* KLUCZOWE: Włącza widok i centrowanie */
    display: flex !important;
}

/* Styl dla samego obrazu w Lightboxie (.lightbox-content to tag <img>) */
.lightbox-content {
    display: block !important;

    /* Wymiary obrazu */
    max-width: 85% !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;

    /* Wygląd */
    border-radius: 12px !important;
    background: #fff !important;
    padding: 5px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9) !important;

    /* Z-Index i pozycja */
    position: relative !important;
    z-index: 1 !important;
    margin: auto !important;

    animation: zoomIn 0.4s forwards !important;
}

/* Styl dla przycisku zamknięcia 'X' */
.lightbox-close {
    position: absolute !important;
    top: 25px !important;
    right: 40px !important;
    color: #fff !important;
    font-size: 55px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    z-index: 2147483647 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #ffd93e !important;
    text-decoration: none !important;
}


/* Animacje Lightbox */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsywność galerii i lightboxa */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.2rem;
    }
    .photo-gallery {
        padding: 0 15px 15px 15px;
    }
    .gallery-item {
        width: 200px;
        height: 267px;
    }
    .lightbox-close {
        top: 15px;
        right: 25px;
        font-size: 45px;
    }
    .lightbox-content {
        max-width: 95% !important;
        max-height: 95vh !important;
    }
}

/* ===============================
    BADGE
    =============================== */
.badge-aktualna-cena {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd500;
    color: #414141;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px #00000030;
    z-index: 10;
}

/* ===============================
    KARTY OPCJI / OPŁATY
    =============================== */
.oplata-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.left-card { order: -1; }
.highlight { order: 0; transform: scale(1.03); }

@media (max-width: 992px) {
    .left-card, .highlight { order: unset; transform: none; }
}


/* ===============================
    PROGRAM / HARMONOGRAM
    =============================== */
.program {
    font-family: sans-serif;
    background-color: #ffffff;
    padding: 20px;
    color: #03142E;
}

.program-container { max-width: 1000px; margin: 0 auto; }

.program-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #03142E;
}

.program-header h2 {
    font-size: 2.5rem;
    color: #03142E;
    margin-bottom: 10px;
}

.program-info { font-style: italic; font-size: 0.9rem; color: #666; }

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.tab-button {
    background-color: #5c85ad;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.tab-button.active { background-color: #0A4278; color: #ffffff; }
.tab-button:hover:not(.active) { background-color: #0A4278; }

.day-schedule { display: none; background-color: #ffffff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); padding: 20px; margin-bottom: 20px; }
.day-schedule.active { display: block; }

.day-title {
    font-size: 1.8rem;
    color: #37474F;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.schedule-list { list-style: none; padding: 0; margin: 0; }

.schedule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.schedule-item:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); }

.schedule-time {
    background-color: #0A4278;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 20px;
}

.schedule-content { flex-grow: 1; }

.schedule-title { margin: 0 0 5px 0; font-size: 1.1rem; font-weight: bold; color: #37474F; }

.sub-schedule { list-style-type: none; padding-left: 0; margin-top: 10px; font-size: 0.95rem; color: #555; }

.sub-schedule li { margin-bottom: 5px; position: relative; padding-left: 20px; }
.sub-schedule li::before { content: '•'; color: #6a1B9A; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; }

.schedule-item.break { background-color: #e8eaf6; }
.schedule-item.sponsored { background-color: #eceff1; border-left: 5px solid #37474F; }
.schedule-item.sponsored .schedule-time { background-color: #37474F; }

/* MOBILNE URZĄDZENIA */
@media (max-width: 600px) {
    .program-header h2 { font-size: 2rem; }
    .schedule-item { flex-direction: column; align-items: flex-start; }
    .schedule-time { margin-bottom: 10px; margin-right: 0; width: auto; }
    .sub-schedule { margin-left: 0; padding-left: 20px; }
}


/* Style dla wyróżnionych warsztatów */
.workshop-highlight {
    background-color: #f5f7ff !important;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 15px 0 !important;
    padding: 20px !important;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.05);
}

/* Wymuszenie białej czcionki na godzinie w warsztatach */
.workshop-highlight .schedule-time {
    background-color: #283593 !important; /* Ciemne tło dla kontrastu */
    color: #ffffff !important;           /* Biała czcionka */
    padding: 5px 10px !important;
    border-radius: 4px;
    display: inline-block;
    height: fit-content;
}

.workshop-label {
    display: inline-block;
    background-color: #283593;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.schedule-item.break {
    background-color: #fafafa;
    border-radius: 8px;
}


/* Główne style sekcji */
.workshops-section {
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.date-header {
    color: #9DA9D0;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Karta warsztatu */
.workshop-card {
    flex-direction: column;
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
    transition: transform 0.2s ease;
}

.workshop-card:hover {
    transform: translateX(5px);
}

.workshop-time {
    min-width: 200px;
    font-weight: bold;
    color: #9DA9D0;
    font-size: 1.1em;
}

.category {
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    color: #7f8c8d;
    display: block;
    margin-bottom: 5px;
}

.title {
    margin: 5px 0 10px 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.speaker {
    margin: 0;
    color: #555;
}

/* Stopka z informacją */
.info-footer {
    padding: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    color: #856404;
    font-size: 0.95em;
}

/* Responsywność dla telefonów */
@media (max-width: 600px) {
    .workshop-card {
        flex-direction: column;
        gap: 10px;
    }
    .workshop-time {
        min-width: auto;
    }
}