body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: #f8f8f8;
}

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

a {
  text-decoration: none;
  color: #2b8dd6;
}

a:hover { color: #0056a3; }

.center { text-align: center; }

header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-links a { margin-left: 20px; }

.menu-toggle { display: none; font-size: 28px; cursor: pointer; }

.logo a { font-weight: bold; font-size: 1.5rem; color: #2b8dd6; }

/* HERO SLIDER */
.hero { position: relative; height: 90vh; overflow: hidden; }

.hero-slideshow { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
}

.slide.active { opacity: 1; }

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  max-width: 90%;
  padding: 0 10px;
}

.slide-content h1 { font-size: 3rem; margin-bottom: 10px; }
.slide-content p { font-size: 1.3rem; }

.slider-controls span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 10px;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active { background: #2b8dd6; }

/* SEKCJE Z RÓŻNYM TŁEM */
#home { background: #f8f8f8; }
#about { background: #ffffff; }
#services { background: #f0f0f0; }
#gallery { background: #ffffff; }
#testimonials { background: #e6f0fa; }
#contact { background: #ffffff; }

section { padding: 0px 0; }
.about p, .services-grid p, .testimonial p, .contact p { line-height: 1.6; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

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

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lightbox-img.show { opacity: 1; }

.close, .prev-lightbox, .next-lightbox {
  position: absolute;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  transition: 0.3s;
}

/* SZARY KRZYŻYK */
.close {
  top: 20px;
  right: 30px;
  color: #666666;
  z-index: 1001;
}

.close:hover { color: #2b8dd6; }

.prev-lightbox {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

.next-lightbox {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

.prev-lightbox:hover, .next-lightbox:hover { color: #2b8dd6; }

@media(max-width:768px){
  .nav-links { display: none; flex-direction: column; }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}
