/* === Ogólny reset === */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Header === */
.top-bar {
  background-color: #e26d5c;
  padding: 5px 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.header {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.header img {
  height: 130px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 20px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* === Main content === */
main {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

main h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 26px;
}

main p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
}

/* === Główna siatka galerii === */
.preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  justify-items: center;
  margin-top: 2rem;
}

.preview-gallery img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.preview-gallery img:hover {
  transform: scale(1.03);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox .close-btn,
.lightbox .prev-btn,
.lightbox .next-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.lightbox .close-btn {
  top: 20px;
  right: 30px;
}

.lightbox .prev-btn {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .next-btn {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

/* === Footer === */
footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

footer a {
  color: #ccc;
  text-decoration: underline;
}
/* Sticky footer (footer zawsze na dole) */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-content {
  text-align: center;
  padding: 30px 20px;
  background-color: #111;
  color: #ccc;
  border-top: 1px solid #333;
}

.footer-content a {
  color: #e26d5c;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

.footer-content a:hover {
  text-decoration: underline;
  color: #ff8a65;
}

.social-icons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
  background-color: #444;
  transform: scale(1.1);
}

.social-icons img {
  width: 20px;
  height: 20px;
}
.about-float-image {
  float: right;
  width: 45%;
  max-width: 320px;
  margin: 0 0 1em 2em;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .about-float-image {
    float: none;
    display: block;
    margin: 1em auto;
    width: 90%;
  }
}
