/* Podstawowe ustawienia */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #121212; /* głębokie ciemne tło */
  color: #f0f0f0;            /* jasny tekst dla kontrastu */
}

/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

/* Linki */
a {
  color: #bb86fc;            /* fioletowy akcent */
  text-decoration: none;
}

a:hover {
  color: #e0aaff;
}

/* Nawigacja */
nav {
  background-color: #1e1e1e;
  padding: 15px 0;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  color: #ccc;
}

/* Przyciski */
button {
  background-color: #2a2a2a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #444;
}

/* Sekcje */
section {
  padding: 30px;
  background-color: #181818;
  margin: 20px;
  border-radius: 8px;
}

/* Obrazy */
img {
  max-width: 100%;
  filter: brightness(90%);
}


.logo-banner {
  background-image: url("img/tło2.jpg");
  background-size: cover;
  background-position: center;
  max-width: 960px;
  width: 100%;
  height: 180px;       /* delikatnie rozciągnięte */
  margin: 40px auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}



nav {
  background-image: url("img/tlo1.jpg");
  background-size: cover;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: inline-flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.collage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.left-collage, .right-collage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hover-back overlay: shows 'Back' text or uses img/back.jpg if provided */
.img-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.img-wrap img.front {
  transition: opacity 0.25s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.img-wrap img.back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.img-wrap:hover img.back {
  opacity: 1;
}
.img-wrap:hover img.front {
  opacity: 0;
  transform: scale(1.03);
}

/* Make the whole image area clickable without affecting layout */
.img-wrap a.img-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.img-wrap a.img-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.center-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}

.site-footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #555;
  background-color: #f4f4f4;
  border-top: 1px solid #ddd;
}

/* Responsive rules */
@media (max-width: 900px) {
  .logo-banner { height: 140px; }
  nav { padding: 8px 0; }
  nav ul { gap: 12px; }
  .about-section, .contact-section, .fb-section { padding: 20px; margin: 20px; }
  .collage { flex-direction: column; gap: 16px; padding: 20px; }
  .left-collage, .right-collage { flex-direction: row; flex-wrap: wrap; }
  .left-collage .img-wrap, .right-collage .img-wrap { width: 48%; }
  .nav-toggle { display: inline-block; }
  header nav ul { display: none; }
  header.nav-open nav ul { display: flex; flex-direction: column; gap: 12px; padding: 10px 0; }
  header.nav-open nav ul li { text-align: center; }
}

@media (max-width: 480px) {
  .logo-banner { height: 100px; }
  nav ul { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
  .left-collage .img-wrap, .right-collage .img-wrap { width: 100%; }
  .collage { padding: 12px; }
  .site-footer p { font-size: 13px; }
}

/* Responsive embeds (maps, facebook plugin, videos) */
.responsive-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 default */
  overflow: hidden;
}
.responsive-embed.responsive-embed--square { padding-bottom: 75%; } /* 4:3-ish */
/* Only the actual iframe should be positioned absolutely; keep .fb-page as relative container */
.responsive-embed .fb-page { position: relative; width: 100%; height: 100%; }
.responsive-embed iframe,
.responsive-embed .fb-page iframe,
.responsive-embed > iframe {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

@media (max-width: 600px) {
  .responsive-embed { padding-bottom: 75%; }
}
