/* Reset i globalne style */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

.lp {
  background: #0000;
}

.lp a {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
}

/* Sekcja tekstowa hero */
.hero-text-section {
  background-color: #111;
  color: #fff;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text-container h1 {
  font-size: clamp(1.56rem, 3.74vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
}

.hero-text-container h2 {
  font-size: clamp(1.01rem, 2.43vw, 1.63rem);
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.hero-text-container p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 20px;
}

/* Przycisk */
.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #85c042;
  color: #fff !important;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #85c042;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background-color: #fff;
  transform: translateY(-2px);
  color: #85c042 !important;
}

/* Offer */
.offer-section {
  background-color: #f1f1f1;
  color: #111;
  padding: 20px 20px;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.offer-section h1 {
  font-size: clamp(1.56rem, 3.74vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: #111;
}

.offer-section h2 {
  font-size: clamp(1.01rem, 2.43vw, 1.63rem);
  margin-bottom: 1rem;
  font-weight: 600;
  color: #111;
}

.offer-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #626262;
  margin-bottom: 20px;
}

/* Slider Apple-style */
.features-slider {
  position: relative;
  padding: 4rem 0;
  overflow: visible;
}

.features-slider .slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 10%;
  cursor: grab;
}

.features-slider .slider-container::-webkit-scrollbar {
  display: none;
}

.features-slider .slider-container.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.features-slider .slide {
  position: relative;
  flex: 0 0 80%;
  margin: 0 10px;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  scroll-snap-align: center;
  text-align: center;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  transform: scale(0.85);
}

.features-slider .slide.active {
  opacity: 1;
  transform: scale(1);
}

.features-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 1;
}

.features-slider .slide-text {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 15px;
  text-align: center;
  color: #fff;
  margin-top: auto;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  border-radius: 0 0 15px 15px;
}

.features-slider .slide-text h2 {
  color: #fff !important;
}

/* Kropki */
.features-slider .slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.features-slider .slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.features-slider .slider-dots button.active {
  background: #313131;
}

/* Gallery slider */
.gallery-slider {
  position: relative;
  padding: 40px 0;
}

.gallery-slider .slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: 40px;
}

.gallery-slider .slider-container::-webkit-scrollbar {
  display: none;
}

.gallery-slider .slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  margin: 0 10px;
  border-radius: 20px;
  background: #111;
  overflow: hidden;
}

.gallery-slider .slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

@media (min-width: 1400px) {
  .gallery-slider .slide { width: calc((100% - 80px) / 5); }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .gallery-slider .slide { width: calc((100% - 60px) / 4); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-slider .slide { width: calc((100% - 20px) / 2); }
}

@media (max-width: 767px) {
  .gallery-slider .slide { width: 90%; margin: 0 auto; }
}

.gallery-slider .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.gallery-slider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-slider .dot.active {
  background: #313131;
}

@media (max-width: 768px) {
  .features-slider .slider-container {
    padding: 0 3%;
  }

  .features-slider .slide {
    flex: 0 0 70%;
    height: 40vh;
    margin: 0 8px;
    scroll-snap-align: center;
  }

  .features-slider .slide.active {
    transform: scale(1);
  }

  .features-slider .slide img {
    object-fit: cover;
    height: 100%;
  }

  .features-slider .slider-dots {
    margin-top: 12px;
    gap: 6px;
  }

  .slider-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 18px;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
  }

  .slide.active {
    transform: scale(1.03);
    opacity: 1;
  }

  .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 16px;
  }

  .slider-dots,
  .dots {
    margin-top: 16px;
    gap: 8px;
  }

  .slider-dots button,
  .dots .dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.4);
  }

  .slider-dots button.active,
  .dots .dot.active {
    background: #fff;
    transform: scale(1.2);
  }
}

/* Reveal animation */
.b2b-reveal {
  transform: translate3d(0, 0, 0);
}

.js .b2b-reveal {
  transform: translate3d(0, 18px, 0);
  transition: transform 0.6s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.js .b2b-reveal.is-shown {
  transform: translate3d(0, 0, 0);
}

a.kontakt {
  text-decoration: none;
  color: #333;
}

a.kontakt:hover {
  color: #85c042;
}

.number-circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #85c042;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.number-circle:hover {
  background-color: #fff;
  color: #85c042;
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media all and (max-width: 768px) {
  .lp .mobile { display: block; visibility: visible; }
  .lp .desktop { display: none; visibility: hidden; }
}

@media (min-width: 768px) {
  .lp .mobile { display: none; visibility: hidden; }
  .lp .desktop { display: block; visibility: visible; }
}

@media (min-width: 992px) {
  .lp .mobile { display: none; visibility: hidden; }
  .lp .desktop { display: block; visibility: visible; }
}

@media (min-width: 1200px) {
  .lp .mobile { display: none; visibility: hidden; }
  .lp .desktop { display: block; visibility: visible; }
}