/* Reset i podstawy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  background-color: #fff;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 12px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.logo img {
  height: 50px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.8;
}

.nav-links a {
  color: white;
  font-weight: 100;
  font-size: 22px;
  text-decoration: none;
  margin-left: 30px;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  margin-top: 74px;
  width: 100%;
  position: relative;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 74px);
  overflow: hidden;
}

.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.mySlides.active {
  opacity: 1;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  border-radius: 20px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.dot:hover,
.dot.active {
  background-color: #fff;
  transform: scale(1.2);
}


/*Sekcja kontakt*/





.contact-section {
  padding: 40px 40px 60px;
  background-color: #fff;
  min-height: 33vh;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-section h2 {
  color: #000;
  font-size: 1.8rem;
  font-weight: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 50px;
  text-align: left;
  white-space: pre-line;
}

.contact-section h2 .thin {
  font-weight: 100;
}

.contact-section h2 .medium {
  font-weight: 500;
}













/* wklejam */
.contact-columns {
  display: flex;
  gap: 200px;
  justify-content: flex-start;
  align-items: flex-start; /* wyrównanie elementów w linii do góry */
}

.contact-column h2 {
  margin-bottom: 20px; /* odstęp pod nagłówkiem */
}

.contact-column h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
}



/* wklejam */




/* Sekcja About */
.about-section {
  height: 100vh;
  width: 100vw;
  background-image: url('images/about-background.jpg'); /* Zmień ścieżkę jeśli potrzeba */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  /* padding usunięty, przeniesiony do .about-content */
  position: relative;
  z-index: 1;
}

.about-content {
  max-width: 1200px;
  padding: 40px 40px 60px;
  margin: 0 auto;
  color: #fff;
  font-weight: 300;
  line-height: 1.6;
  text-align: left;
}

.about-content h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 100;
  margin-bottom: 50px;
  white-space: pre-line;
}

.about-content h2 .thin {
  font-weight: 100;
}

.about-content h2 .medium {
  font-weight: 500;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.7;
}

/* Sekcja Shop */
.shop-section {
  padding: 40px 40px 60px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-section h2 {
  color: #000;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 15px;
  margin-bottom: 50px;
  text-align: left;
  white-space: pre-line;
}

.shop-section h2 .thin {
  font-weight: 100;
}

.shop-section h2 .medium {
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 3 kolumny: lewa i prawa elastyczne, środkowa auto */
  align-items: center; /* wyśrodkowanie w pionie */
  gap: 60px;
}

/* Dla zdjęć w poszczególnych kolumnach */
.photo-item:nth-child(3n + 1) {
  justify-self: start; /* lewe zdjęcie do lewej */
}

.photo-item:nth-child(3n + 2) {
  justify-self: center; /* środkowe zdjęcie wyśrodkowane */
}

.photo-item:nth-child(3n + 3) {
  justify-self: end; /* prawe zdjęcie do prawej */
}

.photo-item {
  max-width: 450px;
  width: 100%;
}


/* Responsywność */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px 20px;
  }

  .photo-wrapper {
    height: 350px;
  }

  .photo-item:nth-child(3n + 1),
  .photo-item:nth-child(3n + 3) {
    justify-self: center; /* wyśrodkuj zdjęcia na małych ekranach */
  }
}


.photo-wrapper {
  aspect-ratio: 2 / 3;
  height: 500px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}

.photo-details {
  padding-top: 15px;
  text-align: left;
}

.buy-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  font-weight: 400;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.buy-btn:hover {
  background: #000;
  color: #fff;
}

.buy-btn .light {
  font-weight: 100;
}

.buy-btn .medium {
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  padding: 40px;
  background: white;
  animation: zoomin 0.9s ease forwards;
}

@keyframes zoomin {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

.close-lightbox {
  position: fixed;
  top: 25px;
  right: 25px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 1001;
}

.close-lightbox:hover {
  opacity: 1;
}

/* Sekcje ogólnie */
.section {
  min-height: 100vh;
  padding: 100px 40px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }

  .nav-links a {
    font-size: 18px;
    margin-left: 15px;
  }

  .about-content,
  .shop-section {
    padding: 0 20px;
    max-width: 100%;
  }

  .about-content h2,
  .shop-section h2 {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .photo-wrapper {
    height: 400px;
  }
}


@media (max-width: 768px) {
  .contact-columns {
    flex-direction: column;
    gap: 40px;
  }

  .slideshow-container {
    height: calc(60vh - 74px);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photo-wrapper {
    height: 300px;
  }

  .about-content,
  .shop-section,
  .contact-section {
    padding: 20px 15px 30px;
  }

  .about-content p,
  .contact-section h2,
  .shop-section h2 {
    font-size: 1rem;
  }

  .slideshow-container {
    height: calc(50vh - 74px);
  }

  .buy-btn {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}