/* Kolory bazujące na załączonym obrazie */
:root {
  --primary-color: #00d4ff;
  --secondary-color: #ff00ff;
  --dark-bg: #0a0a0a;
  --gradient-start: #1a1a2e;
  --gradient-end: #16213e;
  --text-light: #ffffff;
  --text-muted: #b0b0b0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark-bg);
}

/* Nawigacja */
.custom-navbar {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* Sekcja Partnerzy - tylko loga */
.partners-category {
  margin-bottom: 2rem;
}

/* Karty partnerów - uproszczone bez tekstów */
.partner-card-simple {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.partner-card-simple:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.partner-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.partner-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Logo partnerów - uproszczone */
.partner-logo-simple {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.partner-card-simple:hover .partner-logo-simple {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 2rem; /* Zmiana z 1.5rem na 2rem */
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
}

.logo-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.partner-card-simple:hover .logo-img {
  filter: grayscale(0) brightness(1.1);
}

/* Sekcja Hero z elementem img */
.hero-section-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 110vh;
  object-fit: cover;
  display: block;
}

/* Sekcje treści */
.content-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: var(--dark-bg);
  color: var(--text-light);
}

.content-section.bg-dark {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: var(--text-light);
}

/* Pierwsza sekcja - wyraźne oddzielenie */
#program {
  margin-top: 0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}



.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Program */
.program-day {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-bottom: 2rem;
}



.program-day h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}


.program-list {
  list-style: none;
  padding: 0;
}

.program-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



.program-list li:last-child {
  border-bottom: none;
}

/* Prelegenci */
.speaker-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: transform 0.3s ease;
}

.speaker-card:hover {
  transform: translateY(-5px);
}

.speaker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
}

/* Rejestracja */
.registration-info {
  background: rgba(255, 255, 255, 0.05); /* Zmiana z ciemnego na jasne */
  padding: 3rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.3); /* Zmiana koloru ramki */
  text-align: center;
  color: var(--text-light); /* Jasny tekst */
}

.registration-info ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.registration-info li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
}

/* Mapa */
.map-placeholder {
  background: rgba(255, 255, 255, 0.05);
  height: 300px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Karty komitetu - 3 obok siebie z poprawionymi kolorami */
.committee-card {
  background: rgba(26, 26, 46, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(26, 26, 46, 0.2);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
}

.committee-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

/* Jasne kolory dla nagłówków h3 */
.committee-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 212, 255, 0.3);
}

.committee-card h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Lista w kartach komitetu - JASNE KOLORY DLA IMION I NAZWISK */
.committee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.committee-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--text-light); /* ZMIANA: jasny kolor dla imion i nazwisk */
  font-weight: 500;
}

.committee-list li:before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1rem;
}

.committee-list li:last-child {
  border-bottom: none;
}

.committee-list li:hover {
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Style dla afiliacji i ról - ciemniejsze dla kontrastu */
.committee-list li .affiliation,
.committee-list li .role {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
}

/* Sekcja kontaktowa komitetu */
.committee-contact {
  background: rgba(26, 26, 46, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(26, 26, 46, 0.2);
  text-align: center;
}

.committee-contact h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0, 212, 255, 0.3);
}

.committee-contact h3 i {
  color: var(--primary-color);
}

.committee-contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-light); /* Jasny tekst */
}

/* Sekcja Kontakt - poprawiona */
.contact-info {
  background: rgba(26, 26, 46, 0.05);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(26, 26, 46, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.contact-message {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.email-container {
  margin-top: 2rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.email-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.email-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.5);
}

.email-link i {
  font-size: 1.1rem;
}


/* Sekcja O Kongresie */
.congress-content {
  margin-bottom: 3rem;
}

.lead-paragraph {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.congress-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Ścieżki tematyczne */
.thematic-tracks {
  margin: 4rem 0;
}

.tracks-title {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.tracks-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--secondary-color);
}

.track-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  height: 100%;
  transition: all 0.3s ease;
}

.track-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
}

.track-card h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.track-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.track-card li:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.track-card li:last-child {
  border-bottom: none;
}

/* Call to Action */
.cta-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-align: center;
  margin-top: 3rem;
}

.cta-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.cta-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.deadline-info {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Organizatorzy */
.organizers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.organizer-logo {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-weight: 600;
  color: var(--primary-color);
}

/* Stopka */
.footer {
  background: var(--dark-bg);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
}

/* Przyciski */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-outline-light {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.location-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.25);
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}



/* Responsywność */
@media (max-width: 768px) {

  .partner-card-simple {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .partner-logo-simple {
    height: 120px;
    padding: 0.8rem;
  }


  /* Hero image */
  .hero-image {
    max-height: 60vh;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
  }

  /* Content sections */
  .content-section {
    padding: 60px 0;
  }

  /* Program section */
  .program-day {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .program-day h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .program-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }

  /* Speaker cards */
  .speaker-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .speaker-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  /* Registration section */
  .registration-info {
    padding: 2rem;
  }

  .registration-info ul {
    margin: 1.5rem 0;
  }

  .registration-info li {
    font-size: 1rem;
    padding: 0.4rem 0;
  }

  /* Committee cards */
  .committee-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }

  .committee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .committee-list li {
    padding: 0.5rem 0;
    padding-left: 1rem;
    font-size: 0.9rem;
  }

  .committee-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .committee-contact {
    padding: 2rem;
  }

  /* Contact section */
  .contact-info {
    padding: 2rem;
  }

  .contact-message {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .email-link {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  /* Congress content section */
  .congress-content p {
    font-size: 1rem;
    text-align: left;
  }

  .lead-paragraph {
    font-size: 1.1rem;
  }

  .track-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  .track-card li:before {
    left: -1rem;
  }

  .track-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .track-card li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }

  .tracks-title {
    font-size: 1.7rem;
  }

  .cta-section {
    padding: 2rem;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .deadline-info {
    font-size: 1rem;
  }

  /* Location cards */
  .location-card {
    margin-bottom: 1rem;
    padding: 1.5rem 1rem;
  }

  .location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;;
  }

  .location-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .location-details p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .transport-info {
    text-align: center;
    padding: 2rem;
  }

  .transport-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  /* Map */
  .map-placeholder {
    height: 300px;
  }

  .map-placeholder i {
    font-size: 3rem;
  }

  /* Buttons */
  .btn-primary,
  .btn-outline-light {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.3rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }

  /* Organizers */
  .organizers {
    justify-content: center;
  }

  .organizer-logo {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 0;
  }

  .footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .location-card {
    margin-bottom: 0.8rem;
    padding: 1.2rem 0.8rem;
  }

  .location-icon {
    margin-bottom: 0.6rem;
  }

  .location-details p {
    margin-bottom: 0.4rem;
  }
}
