/* ===== style-oferta.css - podstawa (body, layout, sekcje) ===== */

@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

body {
  font-family: Arial, sans-serif;
  background: #f0f2f5;
  margin: 0;
  color: #191919;
  min-height: 100vh;
  text-decoration: none;
}

table {
  width: 70%;
  margin: auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background: #66b447;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
}

td:first-child {
  text-align: left;
  background: #f0f4f8;
}

tr:hover td {
  background-color: #f9fcff;
}

.yes {
  color: green;
  width: 10%;
  font-size: 18px;
}

.no {
  color: red;
  font-size: 18px;
}










.stany h1,
.section h1 {
  font-size: 36px;
  color: #191919;
  margin-bottom: 20px;
  position: relative;
}

.stany h1::after,
.section h1::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #66b447;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.stany,
.section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  animation: fadeIn 1s ease-in-out both;
}




















.image-wrapper {
  margin-top: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

.description {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}




















/* Animacja fadeIn */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}











/* Responsywność */

@media screen and (max-width: 768px) {
  .section h1 {
    font-size: 28px;
  }
  .description {
    font-size: 16px;
    padding: 0 10px;
  }
}

/* Galerie z style-oferta.css */

.gallery {
  margin: 10px 50px;
  border-radius: 10px;
}

.pierwsze img {
  border-radius: 50px;
}

.gallery img {
  margin-left: 2%;
  padding: 20px;
  border-radius: 10px;
  transition: 1s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ===== gallerystyle.css - style galerii i lightbox gallery ===== */

/* .gallery-container {
  position: relative;
  min-width: 900px;
  margin: 0 auto;
} */

.gallery-container {
  position: relative;
  width: 80%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  
}

/* Poziome */
.main-image {
  position: relative;
  z-index: 2;
}

/* Poziome */
.main-image img {
  width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}






/* Pionowe zdjęcia – zmniejszona wysokość, inne proporcje */
.gallery-container-2 {
  position: relative;
  width: 55%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

 .gallery-container-2 .main-image {
  position: relative;
  z-index: 2;
}

.gallery-container-2 .main-image img {
  width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}




/* dla telefonów i dla komputerów wersja 3 */
.gallery-container-3 {
  position: relative;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

/* MOBILE (do 768px) — jak gallery-container-2 */
@media (max-width: 768px) {
  .gallery-container-3 {
    width: 55%;
  }
}

/* DESKTOP (od 769px wzwyż) — jak gallery-container */
@media (min-width: 769px) {
  .gallery-container-3 {
    width: 80%;
  }
}

.gallery-container-3 .main-image {
  position: relative;
  z-index: 2;
}

.gallery-container-3 .main-image img {
  width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}











.side-image {
  position: absolute;
  top: 50%;
  width: 650px;
  transform: translateY(-50%);
  opacity: 0.7;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: opacity 0.2s;
  z-index: 1;
}

.side-image:hover {
  opacity: 1;
}

.side-image.left {
  left: -60px;
}

.side-image.right {
  right: -60px;
}

/* Lightbox gallery - unikalne klasy */

.lightbox-gallery {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-gallery img {
  max-width: 90%;
  max-height: 80%;
}

[id^="lightbox-gallery-counter"] {
  color: white;
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
}

.lightbox-gallery .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.lightbox-gallery .prev,
.lightbox-gallery .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-gallery .prev {
  left: 20px;
}

.lightbox-gallery .next {
  right: 20px;
}

/* ===== lightbox oferta - unikalne klasy ===== */

.lightbox-oferta {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-oferta img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.lightbox-oferta:target {
  display: flex;
}



















/*  PLAN POWIERZCHNI SEKCJA */

.download-buttons {
  margin-bottom: 20px;
}

.btn-download {
  display: inline-block;
  margin: 5px 10px 15px 0;
  padding: 10px 20px;
  background-color: #88b04b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-download:hover {
  background-color: #6d913b;
}


/* ikony do sekcji poznaj wiecej szczegółów */

.grid-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.detail-card {
  background-color: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.detail-card .icon {
  width: 40px;
  height: 40px;
  color: #7b8c9a;
  margin-bottom: 1rem;
}
