@import url("https://fonts.googleapis.com/css2?family=Truculenta:opsz,wght@12..72,100..900&display=swap");

* {
  /* padding: 0; */
  margin: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: "Truculenta", sans-serif;
  color: white;
  height: 100%;
  background-color: #000252;
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed; /* <-- To przyczepia tło do góry */
  background-size: cover; /* (opcjonalnie) dopasowuje tło do całego ekranu */
}

/* ---------------------- MENU ---------------------- */

nav {
  background-color: #5b0c54;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ukryty checkbox (dla przełącznika menu) */
#menu-toggle {
  display: none;
}

/* Hamburger menu (mobile only) */
.menu-icon {
  display: none;
  padding: 14px 20px;
  color: white;
  cursor: pointer;
  user-select: none;
}

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

ul.menu li {
  display: flex;
  align-items: center;
  position: relative;
}

/* Linki */
ul.menu li a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  color: white;
  transition: background 0.3s;
}

/* Hover efekt */
ul.menu li a:hover {
  /* background-color: #fedf00; */
  color: #fedf00;
}

/* Cienki separator po każdym elemencie oprócz ostatniego */
ul.menu li:not(:last-child)::after {
  content: "";
  display: block;
  height: 25px;
  width: 2px;
  background-color: #fff;
  margin-left: 20px;
  margin-right: 20px;
}

/* 📱 Responsywność */
@media (max-width: 1000px) {
  .menu-icon {
    display: block;
  }

  ul.menu {
    flex-direction: column;
    display: none;
    width: 100%;
  }

  #menu-toggle:checked + .menu-icon + ul.menu {
    display: flex;
  }

  /* Usuń separator w wersji mobilnej */
  ul.menu li:not(:last-child)::after {
    display: none;
  }
}

/* Domyślnie: hamburger */
.menu-icon::before {
  content: "☰";
}

/* Po zaznaczeniu (menu otwarte): X */
#menu-toggle:checked + .menu-icon::before {
  content: "✖";
}

.menu-icon::before {
  content: "☰";
  transition: color 0.3s;
  color: white;
}

/* Po kliknięciu checkboxa - zamiana na X */
#menu-toggle:checked + .menu-icon::before {
  content: "✖";
}

/* 🔁 Efekt hover – zmiana koloru */
.menu-icon:hover::before {
  color: #ffcc00; /* dowolny kolor, np. żółty */
}

ul.menu li a.active {
  color: #fff293; /* ciemny tekst */
  /* font-weight: bold; */
}

/* ---------------------- HERO ---------------------- */
.hero {
  padding-left: 30px;
  padding-right: 40px;
  padding-top: 45px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* background-color: darkred; */
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  aspect-ratio: 21 / 5; /* 21/9 */
  background-image: url(../images/hero.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* lub cover */
  background-position: top;
  /* background-color: #fff293; */
}

@media (max-width: 1000px) {
  .hero {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
  }
  .hero-container {
    background-image: url(../images/hero_resp.png);
  }
}

/* ---------------------- ARTICLE ---------------------- */

.article {
  padding-left: 30px;
  padding-right: 30px;
  /* padding-top: 45px; */
  /* background-color: darkred; */
  display: flex;
  justify-content: center;
}

.article-container {
  max-width: 1200px;
  width: 100%;
  background-color: #00025266;
  border-radius: 26px;
  min-height: 900px;
}

@media (max-width: 1000px) {
  .article-container {
    min-height: 500px;
  }
}

.article-title {
  color: #fedf00;
  font-size: clamp(50px, 5vw, 75px);
  text-align: center;
}

.article-text {
  /* background-color: #5b0c54; */
  color: #fff293;
  font-size: 30px;
  font-size: clamp(15px, 2vw, 30px);
  text-align: justify;
  /* padding: 100px; */
  padding: 10px 30px;
}

.article-text iframe {
  width: 100%;
  height: 500px;
  max-width: 100%;
  border: none;
  display: block;
}

/* ---------------------- ORGANIZATORZY IMG ---------------------- */
.organizatorzy-img {
  width: 100%;
  border-radius: 26px;
}

/* Harmonogram + warstwa tekstowa -----------------------------------------  Harmonogram + warstwa tekstowa*/

.dzien {
  font-size: 25px;
}

.godzina {
  color: #fcbe34;
  font-weight: 600;
}

ul:not(.menu) {
  list-style: disc inside; /* lub none – zależnie, co chcesz osiągnąć */
  margin: 1em 0;
  padding-left: 40px;
}

li:not(.menu li) {
  margin-bottom: 0.5em;
}
