/* === Banery mobilne/desktopowe === */
@media (max-width: 992px) {
  #baner_desktop { display: none; }
  #baner_mobile { display: block; }
}
@media (min-width: 993px) {
  #baner_desktop { display: block; }
  #baner_mobile { display: none; }
}

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

/* === 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 {
  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;
}
.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;
  font-family: 'Lato', 'Arial', sans-serif;
}

.licznik-wartosc {
  font-size: 48px;
  font-weight: 700;
  color: #5a2d82;
  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;
}

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


/* Główne style dla sekcji programu */
.program {
  font-family: sans-serif;
  background-color: #f4f4f9;
  padding: 20px 20px;
  color: #37474F;
}

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

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

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

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

/* Stylizacja przycisków */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 15px;
}

.tab-button {
  background-color: #eceff1;
  color: #37474F;
  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: #6a1B9A;
  color: #ffffff;
}

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

/* Stylizacja dni */
.day-schedule {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  display: none; /* Domyślnie ukrywa wszystkie sekcje */
}

.day-schedule.active {
  display: block; /* Pokazuje sekcję z klasą active */
}

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

/* Stylizacja listy programu */
.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: #6a1B9A;
  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;
  font-size: 1.1rem;
  font-weight: bold;
  color: #37474F;
  margin-bottom: 5px;
}

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

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

/* Wyróżnienie przerw i sesji sponsorowanych */
.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;
}

/* Responsywność dla urządzeń mobilnych */
@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;
  }
}


/* ===============================
   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: #4881F2; /* 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: #FFD200; /* Żół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;
    }
}
