
@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
}

header {
  background-color: #111;
  color: white;
  padding: 1.5em;
  text-align: center;
}





main {
  padding: 2em;
}

section {
  margin-bottom: 4em;
}

h2 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

footer {
  background-color: #eee;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
}






.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 600px;
  margin: 2em auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.contact-form button {
  padding: 0.8em;
  border: none;
  background-color: #111;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #444;
}


footer .socials {
  margin-top: 1em;
}

footer .socials a {
  color: #333;
  margin: 0 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

footer .socials a:hover {
  color: #e1306c; /* Instagram pink */
}

footer .socials svg {
  vertical-align: middle;
  width: 30px;
  height: 30px;
}


footer .socials img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}

footer .socials img:hover {
  opacity: 0.7;
}


h1, h2 {
  font-weight: bold;
  letter-spacing: 0.5px;
}


h1, h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}


h1, h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
}


h1, h2 {
  text-align: center;
}


.lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  object-fit: contain;
  background: white;
}


/* Lightbox poprawiony */
.lightbox {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.95);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  background: white;
  object-fit: contain;
}

/* Zapobiega przewijaniu strony pod spodem */
body.lightbox-open {
  overflow: hidden;
}


@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox {
  
}


@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox.visible {
  animation: fadeInScale 0.3s ease forwards;
}


.lightbox-btn {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000;
  transform: translateY(-50%);
  padding: 0 15px;
  user-select: none;
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

.lightbox-btn:hover {
  color: #aaa;
}


.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.lightbox-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}


.lightbox-fade {
  animation: fadeImage 0.4s ease-in-out;
}

@keyframes fadeImage {
  from { opacity: 0; }
  to { opacity: 1; }
}

#slideCounter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  background-color: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: sans-serif;
  z-index: 10002;
}


#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: background-color 0.3s ease;

  z-index: 10005;}




#scrollTopBtn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}













.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  display: inline-block;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ccc;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.2s ease;
}
#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}
#scrollToTopBtn:hover {
  background-color: #555;
  transform: scale(1.1);
}



footer a:hover svg,
footer a:hover img {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}
