body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* NAWIGACJA U GÓRY */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}
.header-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  font-weight: bold;
  font-size: 1.2em;
  color: #333333;
  text-decoration: none;
}
.header-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.header-nav li a {
  color: #333333;
  text-decoration: none;
  font-size: 1em;
}
.header-nav li a:hover, .header-nav li.active a {
  color: #007bff;
}
.header-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
}
.header-mobile-btn img {
  width: 100%;
  height: auto;
}

/* TWOJE STYLE DLA SEKCJI HERO */
.hero {
  background-size: cover;
  background-position: center;
  height: 300px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 3em;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  margin: 0;
}
.hero a {
  color: #ffffff;
  text-decoration: none;
  margin: 2px 0;
}
    
/* TWOJE STYLE DLA KAFELÓW I UKŁADU */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f4f4f4;
}
.card {
  width: 250px;
  margin: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-align: center;
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.card p {
  padding: 15px;
  margin: 0;
}
.single-column {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.single-column h2 {
  font-size: 2em;
  margin-bottom: 20px;
}
.single-column p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

/* RESPONSYWNOŚĆ I HAMBURGER */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }
  .card {
    width: 90%;
  }
  .header-mobile-btn {
    display: block;
  }
  .header-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    gap: 15px;
  }
  .header-nav.active {
    display: flex;
  }
}
footer {
  background-color: #222222 !important; /* Wymuszenie ciemnego tła */
  color: #ffffff !important;           /* Biały kolor tekstu */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;  
  justify-content: center !important;  
  text-align: center !important;
  padding: 40px 10px !important;       /* Zwiększony margines wewnętrzny */
  font-size: 0.9em !important;
}

/* Kolorystyka linków w stopce */
footer a {
  color: #a5d6ff !important;
  text-decoration: none !important;
  margin: 2px 0 !important;
}

footer a:hover {
  text-decoration: underline !important;
}

/* Zabezpieczenie małych napisów w stopce */
footer small, footer p {
  color: #ffffff !important;
  margin: 5px 0 !important;
}
/* Dopasowanie linków i obrazków w kafelkach motywu tz */
.container .card a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  line-height: 0 !important;
}

.container .card img {
  width: 100% !important;
  height: 150px !important; /* Sztywna wysokość kafelka */
  object-fit: cover !important; /* Ładne docinanie grafiki bez deformacji */
}
