* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

/* HERO SECTION */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

#luksus {
  margin-top:10px;
}

.hero-content-domek {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  color: white;
  padding: 20px;
}

.hero-content-domek h1 {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
  background: linear-gradient(to bottom, #ffffff, #d0d0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content-domek p {
  font-size: clamp(16px, 3vw, 24px);
  opacity: 0.95;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

/* OPIS SECTION */
.opis-section {
  position: relative;
  width: 100%;
  padding: 100px 20px;
}

.opis-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.opis-title {
  text-align: center;
  color: white;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 60px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.opis-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px;
  color: white;
  opacity: 0;
  transform: translateY(50px);
}

.opis-intro {
  font-size: 20px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 40px;
  text-align: center;
}

.opis-section-block {
  margin-bottom: 40px;
}

.opis-section-block h3 {
  font-size: 24px;
  color: #667eea;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.opis-section-block h3 i {
  font-size: 28px;
}

.opis-section-block p,
.opis-section-block ul {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 15px;
}

.opis-section-block ul {
  list-style: none;
  padding-left: 0;
}

.opis-section-block li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.opis-section-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 18px;
}

.opis-note {
  background: rgba(102, 126, 234, 0.1);
  border-left: 4px solid #667eea;
  padding: 10px;
  margin-top: 40px;
  border-radius: 10px;
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.7;
}

/* GALERIA SECTION */
.gallery-section {
  position: relative;
  width: 100%;
  padding: 80px 20px 100px;
}

.gallery-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-title {
  text-align: center;
  color: white;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 60px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-text {
  color: white;
  font-size: 30px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 20px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.lightbox-nav:hover {
  background: rgba(102, 126, 234, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 25px;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .hero-domek {
    height: 50vh;
    margin-top: 60px;
  }

  .opis-content {
    padding: 30px 20px;
  }

  .opis-section-block h3 {
    font-size: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .gallery-item {
    height: 220px;
  }

  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
}

.uwaga {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: larger;
}

.uwaga2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* PAGINACJA */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0 15px;
}

.pagination a:hover {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.pagination .active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: rgba(102, 126, 234, 0.8);
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.pagination .disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .dots {
  background: transparent;
  border: none;
  cursor: default;
}
