/* Kolory */
:root {
  --bg-dark: #191919;
  --blue: #007bff;
  --white: #ffffff;
  --gray: #cccccc;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: var(--white);
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background: var(--blue);
  color: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  margin: 0%;
  padding: 0%;
}

/* Linki w navbarze */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
}

.nav-links a:hover {
  opacity: 0.8;
}

.logo-img {
  height: 60px;          /* wysokość (możesz zmienić np. na 80px) */
  width: auto;           /* szerokość dopasuje się proporcjonalnie */
  border-radius: 12px;   /* zaokrąglone rogi */
  object-fit: contain;   /* dopasowanie obrazu bez rozciągania */
  padding: 0%;
  margin: 0%;
}


/* Hamburger */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* Treść */
.content {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 12px;

  /* 🔹 Tło obrazkowe */
  background-image: url("tlo.png"); /* tu podaj swoją ścieżkę */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔹 Opcjonalnie półprzezroczysta nakładka, żeby tekst był czytelny */
  position: relative;
  z-index: 1;
}

.content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 25, 25, 0.7); /* ciemna przezroczysta warstwa */
  border-radius: 12px;
  z-index: -1;
}


/* Sekcje */
.section {
  margin-bottom: 60px;
  text-align: center;
}

.section h2 {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 26px;
}

.section p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.6;
}

/* Karty YouTube */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #252525;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
  color: var(--white);
}

.card:hover {
  background: var(--blue);
  transform: scale(1.05);
}

/* Discord */
.center {
  text-align: center;
}

.discord-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s;
}

.discord-btn:hover {
  transform: scale(1.1);
}

/* Stopka */
.footer {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--blue);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .discord-btn {
    width: 100%;
    border-radius: 12px;
  }
}

/* Najnowszy film */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* proporcje 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  max-width: 800px;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
/* Miniatura filmu */
.video-thumbnail {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.video-thumbnail img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.watch-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.watch-btn:hover {
  transform: scale(1.1);
}
