body {
  margin: 0;
  background-color: #ffffff;
  color: #333;
}

section {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.hero {
  margin-top: 100px;
  background: url('../img/zdj14.png') center/cover no-repeat;
  object-fit: cover;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.hero-content{
  padding: 0px 20px 40px 20px;
  background-color: #15803d;
  mask-image: 
    linear-gradient(to top, transparent 0%, black 10%, black 90%, transparent 100%),
    linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: destination-in;
}
.hero h1 {
  color: black;
  font-size: 48px;
  margin-bottom: 10px;
} 

.hero-content p {
  color: black;
  font-size: 20px;
}

.about {
  background: linear-gradient(to bottom, #ffffff 0%, #d1fbe2 50%, #ffffff 100%);
}

.about p {
  font-size: 20px;
  text-align: center;
  padding: 0 100px;
}

.dlaczego h1 {
  text-align: center;
  font-size: 30px;
}

.dlaczego p {
  text-align: left;
}

#O_firmie {
  scroll-margin-top: 135px;
}

.hero-button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #2ca955;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  transition: background-color 0.3s;
}

.hero-button:hover {
  background-color: #249245;
}

.about h2 {
  color: #2ca955;
  margin-bottom: 20px;
}

.about h2 {
  font-size: 32px;
  letter-spacing: 4px;
}

.about .icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  max-width: 800px;
}

.icon {
  padding: 10px;
  border-radius: 20px;
  background-color: white;
  text-align: center;
  width: 130px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.icon p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  text-align: center;
}

.about .icon img {
  width: 100px;
  margin-bottom: 10px;
  display: block;
}

.blue {
  background-color: #65cbfd;
}

.yellow {
  background-color: #ffde6e;
}

.pink {
  background-color: #f6c2d0;
}

.orange {
  background-color: #f5a91f;
}

/* Responsive styles */

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero-content p {
    font-size: 18px;
  }
  .hero-button {
    font-size: 16px;
    padding: 10px 20px;
  }
  .about p {
    font-size: 18px;
    padding: 0 60px;
  }
  .about h2, .misja h1 {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .hero {
    margin-top: 0;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .hero-button {
    font-size: 15px;
    padding: 10px 18px;
  }
  .about p {
    font-size: 17px;
    padding: 0 40px;
  }
  .about h2, .misja h1 {
    font-size: 26px;
  }
  .about .icons {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .hero-button {
    font-size: 14px;
    padding: 8px 16px;
  }
  .about p {
    font-size: 16px;
    padding: 0 30px;
  }
  .about h2, .misja h1 {
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  .about .icons {
    grid-template-columns: 1fr;
    justify-content: center;
    row-gap: 12px;
  }

  .icon {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 26px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .hero-button {
    font-size: 13px;
    padding: 8px 14px;
  }
  .about p {
    font-size: 15px;
    padding: 0 20px;
  }
  .about h2, .misja h1 {
    font-size: 22px;
  }
}




/* GALERIA ZDJĘĆ */
.gallery {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 5%;
}

.gallery h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Styl dla linka w nagłówku, żeby wyglądał jak nowoczesny przycisk */
.gallery-button {
  color: #2ca955;
  text-decoration: none;
  padding: 10px 25px;
  border: 2px solid #2ca955;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.gallery-button:hover,
.gallery-button:focus {
  background-color: #2ca955;
  color: white;
  outline: none;
}

.gallery-wrapper {
  overflow: hidden;
  padding: 0 20px;
}

.gallery-grid {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.gallery-grid img {
  flex: 0 0 calc(25% - 15px);
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  max-width: 275px;
}
.gallery-grid img:hover{
  transform: scale(1.05);
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 100px;
}
.arrow img{
  width: auto;
}
.arrow {
  cursor: pointer;
  background-color: white;
  border-radius: 10px;
}
.arrow:hover{
  background-color: #2ca955;
}

/* Efekt zoom-in */
.gallery-grid img {
  cursor: zoom-in;
}
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  display: block;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10001;
}
/* Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 10000;
  user-select: none;
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}
.lightbox-arrow:hover,
.lightbox-close:hover {
  color: #f1f1f1;
}


/* SEKCJA CTA */ 
#Zapisy {
  scroll-margin-top:100px ;
}
.cta-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  background: linear-gradient(135deg, #a8e6cf, #dcedc1); /* pastelowa zieleń */
  padding: 60px 20px;
}

.cta-glass {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  border-radius: 2rem;
  padding: 40px 30px;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: #2e7d32;
}

.cta-glass h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: bold;
}

.cta-glass p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #2e7d32;
}

.cta-button-modern {
  background: linear-gradient(to right, #4caf50, #ffeb3b); /* zielono-żółty */
  color: #000;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.cta-button-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}


.map-container iframe {
  width: 100%;
  border: 0;
  margin-top: 1%;
}








@media (max-width:900px) and (min-width:400px) {
  #know-how {
    scroll-margin-top:-100px
  }
}
@media (max-width:400px) {
  #know-how {
    scroll-margin-top:-300px
  }
}
.about-slider {
  background: #2ba957;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 5rem 3rem 5rem; /* zwiększamy padding dolny o ok. 100px */
  width: 100vw;
  overflow: hidden;
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
  flex-wrap: wrap;
  position: relative; /* aby łatwiej potem ustawiać pozycję absolutną dla buttonów w responsywnym widoku */
}

.left-column, .right-column {
  flex: 1;
  padding: 1rem;
}

.right-column {
  margin-top: 1rem;
  margin-left: -15%;
}

.left-column h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  white-space: nowrap;
}

.left-column p {
  font-size: 1rem;
  color: white;
  margin-bottom: 2rem;
  text-align: left;
  width: 60%;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: white;
}

.navigation button {
  background-color: #16a34a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
}

.navigation button:hover {
  background-color: #15803d;
}

#slider-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start; 
  text-align: left;
}

#slider-content p {
  font-size: 20px;
  color: white;
  margin: 0;
  width: 80%;
}

#slider-content img {
  width: 80px;
  margin-bottom: 1rem;
}

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

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#opinie h2 {
  color: #2ca955;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
  .about-slider {
    flex-direction: column;
    padding: 2rem 2rem 5rem 2rem; /* większy dolny padding by zrobić miejsce na buttony */
  }

  .left-column, .right-column {
    margin: 0;
    padding: 1rem 0;
    width: 90%;
    text-align: center;
  }

  .left-column h2 {
    font-size: 1.6rem;
    white-space: normal;
    text-align: center;
  }

  .left-column p {
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  #slider-content {
    align-items: center;
  }

  #slider-content p {
    font-size: 1rem;
    width: 100%;
  }

  #slider-content img {
    width: 60px;
    margin: 0 auto 1rem auto;
  }

  .navigation {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }

  .navigation button {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
  }
}

/* Dla bardzo małych ekranów */
@media (max-width: 600px) {
  .left-column h2 {
    font-size: 1.4rem;
  }

  .left-column p {
    font-size: 0.9rem;
  }

  #slider-content p {
    font-size: 0.95rem;
  }

  .navigation button {
    padding: 0.3rem 0.6rem;
    font-size: 0.95rem;
  }
}




/*STACJONARNE*/
.about-modern {
  background: linear-gradient(to bottom, #f8fcf8, #e9f9ed);
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 42px;
  color: #2ca955;
  margin-bottom: 60px;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-row {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h3 {
  font-size: 28px;
  color: #f7941d;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}


