/* ============================================================
   kongres.css - XX Kongres Zarzadzania Oswiata, Zakopane 2026
   OSKKO - oskko.edu.pl
   ============================================================ */

/* --- Reset i podstawy --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  background: #f0ece4;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 1rem;
  color: #222;
  text-align: center;
}

/* --- Wrapper glowny --- */
#wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
}

/* ============================================================
   NAWIGACJA
   ============================================================ */
.nav-bar {
  display: flex;
  width: 100%;
  border: 1.5px solid #800000;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0;
}

.nav-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  height: 58px;
  text-decoration: none;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #800000;
  background: #fff;
  border-right: 1.5px solid rgba(128, 0, 0, 0.2);
  transition: background 0.15s, color 0.15s;
}

.nav-bar a:last-child {
  border-right: none;
}

.nav-bar a:hover {
  background: #800000;
  color: #fff;
}

.nav-bar a.active {
  background: #800000;
  color: #fff;
}

/* ============================================================
   BANER GRAFICZNY - pelna szerokosc wrappera 1200 px
   Docelowy rozmiar pliku: 1200 ? 450 px
   ============================================================ */
.baner-glowny {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   TRESC GLOWNA
   Padding boczny 48px - kolumna tekstu wypelnia wrapper
   do pelnej szerokosci banera CTA (width: 100%)
   ============================================================ */
.content {
  padding: 28px 48px 36px;
}

.content p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
}

.content p.lead {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #800000;
}

/* --- Baner CTA (zapis) - pelna szerokosc kolumny tresci --- */
.baner-cta {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0 20px;
}

/* --- Separator --- */
.separator {
  border: none;
  border-top: 1px solid #ccc;
  width: 80%;
  margin: 24px auto;
}

/* ============================================================
   SEKCJA KONTAKT
   ============================================================ */
.kontakt {
  margin: 16px auto 28px;
  width: 56%;
  text-align: center;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.7;
}

.kontakt h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.kontakt a {
  color: #800000;
  text-decoration: none;
}

.kontakt a:hover {
  text-decoration: underline;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin-top: 6px;
}

/* ============================================================
   GALERIA ZDJEC
   Trzy zdjecia po 390 px = 1170 px lacznie, wycentrowane
   ============================================================ */
.galeria {
  display: flex;
  gap: 0;
  justify-content: center;
  width: 100%;
  margin: 20px 0;
}

.galeria img {
  width: 390px;
  flex: 0 0 390px;
  height: auto;
  display: block;
}

/* ============================================================
   LINK DO RELACJI
   ============================================================ */
.link-relacje {
  display: block;
  text-align: center;
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #800000;
  text-decoration: none;
  margin: 4px 0 20px;
}

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

/* ============================================================
   SOCIAL BAR
   ============================================================ */
.social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  border-top: 1px solid #e0dbd2;
  margin-top: 8px;
}

/* ============================================================
   DOLNA NAWIGACJA (identyczna jak gorna)
   ============================================================ */
.nav-bar-bottom {
  margin-top: 4px;
}

.spacer {
  height: 24px;
}
