body { margin:0; font-family:'Inter',sans-serif; background:#f5f5f5; color:#222; overflow-x:hidden; }
.nav-lang { position:absolute; top:20px; right:20px; z-index:1001; }
.nav-lang button { margin-left:10px; padding:8px 12px; border:none; border-radius:5px; cursor:pointer; font-weight:600; }

header { position:relative; height:100vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color:white; padding:20px; overflow:hidden; }
header h1 { font-size:48px; margin-bottom:15px; text-shadow:0 2px 10px rgba(0,0,0,0.5); }
header p { font-size:20px; max-width:600px; margin-bottom:25px; text-shadow:0 1px 6px rgba(0,0,0,0.5); }

<!.btn, .wa-button { background: #D4AF37 !important; color: white !important; }
.btn { background:#D4AF37; color:white; padding:16px 32px; border-radius:30px; text-decoration:none; font-weight:600; }

.reviews-container {
  text-align: center;
}

.show-all-reviews {
  display: block;
  margin: 20px auto;
}

.slider { 
  position:relative; width:90%; max-width:1000px; margin-top:40px; overflow:hidden; border-radius:15px; 
}
.slides { 
  display:flex; transition:0.7s ease; 
}
.slides img { 
  flex:0 0 100%; 
  width:100%; 
  height: 50vh;        /* 60% wysokości okna - ZAWSZE całe zdjęcie */
  max-height: 550px;   /* Limit na dużych ekranach */
  min-height: 250px;   /* Minimum na mobile */
  object-fit: contain; 
  object-position: center;
  display:block; 
  margin:0 auto;
}

.arrow { position:absolute; top:50%; transform:translateY(-50%); background:white; padding:12px; border-radius:50%; cursor:pointer; font-size:24px; z-index:2; box-shadow:0 2px 10px rgba(0,0,0,0.3); }
.arrow.left { left:15px; } .arrow.right { right:15px; }

.dots { position:absolute; bottom:15px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:2; }
.dot { width:10px; height:10px; border-radius:50%; background:#ccc; cursor:pointer; }
.dot.active { background:white; }

section { padding:80px 20px; max-width:1100px; margin:auto; opacity:0; transform:translateY(30px); transition:0.8s; }
section.show { opacity:1; transform:translateY(0); }
h2 { text-align:center; font-size:32px; margin-bottom:30px; }
.features { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; text-align:center; }
.features div { background:white; padding:25px 15px; border-radius:12px; font-weight:600; font-size:16px; box-shadow:0 2px 8px rgba(0,0,0,0.1); }


/* Centrowanie opisów */
#apartmentTitle, #complexTitle, #reviewsTitle {
  text-align: center;
}

#apartmentText, #complexText {
  max-width: 800px;           /* Nie za szeroko */
  margin: 20px auto 0;        /* Środek + odstęp góra */
  line-height: 1.7;           /* Czytelność */
  font-size: 18px;
  text-align: center;         /* Wyjustowanie tekstu */
  padding: 0 20px;
}

/* Opinie - ładniejsze karty */
.review {
  max-width: 700px;
  margin: 20px auto;          /* Środek + odstęp */
  text-align: center;
  font-size: 16px;
}

/* Tytuły h2 bardziej wyróżnione */
#apartmentTitle, #complexTitle, #reviewsTitle {
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
}

#apartmentTitle::after, 
#complexTitle::after, 
#reviewsTitle::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #25D366;
  margin: 15px auto;          /* Zielona lini pod tytułem */
  border-radius: 2px;
}






.gallery-buttons {
  display: flex;
  justify-content: center;     /* Poziomo na środku */
  flex-wrap: wrap;             /* Przenosi do nowej linii */
  gap: 10px;                   /* Odstęp między przyciskami */
  margin: 30px auto;           /* Margines góra/dół + środek */
  max-width: 800px;            /* Nie za szeroko */
}

.gallery-buttons button {
  padding: 12px 20px;          /* Większe przyciski */
  border: 1px solid #ddd;
  border-radius: 25px;
  background: white;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;         /* Tekst nie łamie się */
}

.gallery-buttons button:hover {
  background: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.gallery-buttons button:active {
  transform: translateY(0);
}




.gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:15px; max-width:900px; margin:auto; }
.gallery-grid img { width:100%; height:140px; object-fit:cover; border-radius:12px; cursor:pointer; transition:transform 0.3s; }
.gallery-grid img:hover { transform:scale(1.05); }

.gallery-thumbs { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:20px; }
.gallery-thumbs img { width:100px; height:70px; object-fit:cover; border-radius:8px; cursor:pointer; transition:0.3s; }
.gallery-thumbs img:hover { transform:scale(1.1); }

.review { background:#fff; padding:20px; margin-bottom:20px; border-radius:12px; font-style:italic; box-shadow:0 2px 8px rgba(0,0,0,0.1); }
iframe { width:100%; height:400px; border:0; border-radius:12px; margin-top:20px; }
footer { background:#111; color:white; text-align:center; padding:30px; }


<! .btn:hover, .wa-button:hover { background: #B8952F !important; }
.wa-button { position:fixed; bottom:20px; right:20px; width:60px; height:60px; background:#B8952F; color:white; font-size:30px; display:flex; justify-content:center; align-items:center; border-radius:50%; text-decoration:none; box-shadow:0 4px 15px rgba(0,0,0,0.3); z-index:1005; animation:pulse 2s infinite; }


@keyframes pulse {0%{transform:scale(1);}50%{transform:scale(1.1);}100%{transform:scale(1);} }

@media(max-width:768px){
  header h1{font-size:32px;} 
  header p{font-size:16px; max-width:90%;} 
  .gallery-thumbs img{width:70px;height:50px;}
  .gallery-grid img{height:100px;}
}

/* 🔥 LIGHTBOX - pełny ekran */
#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

#lightbox span {
  position: absolute;
  top: 20px; right: 30px;
  color: white; font-size: 40px; font-weight: bold;
  cursor: pointer; z-index: 10001;
}

#lightbox img {
  max-width: 90%; max-height: 90%;
  border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.gallery-thumbs { display: none !important; }

/* === CENTRowanie PRZYCISKÓW + OPISÓW === */
.gallery-buttons {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 30px auto; max-width: 800px;
}
.gallery-buttons button {
  padding: 12px 20px; border: 1px solid #ddd; border-radius: 25px;
  background: white; cursor: pointer; font-weight: 500; transition: all 0.3s;
}
.gallery-buttons button:hover { background: #25D366; color: white; transform: translateY(-2px); }

#apartmentTitle, #complexTitle, #reviewsTitle { text-align: center; font-size: 32px; margin-bottom: 20px; position: relative; }
#apartmentTitle::after, #complexTitle::after, #reviewsTitle::after {
  content: ''; display: block; width: 60px; height: 3px; background: #25D366;
  margin: 15px auto; border-radius: 2px;
}
#apartmentText, #complexText {
  max-width: 800px; margin: 20px auto 0; line-height: 1.7; font-size: 18px;
  text-align: center; padding: 0 20px;
}
.review { max-width: 700px; margin: 20px auto; text-align: center; font-size: 16px; }
.gallery-thumbs { display: none !important; }

@media(max-width:768px){
  .gallery-buttons { flex-direction: column; gap: 8px; }
  .gallery-buttons button { padding: 10px 16px; }
  #apartmentText, #complexText { font-size: 16px; padding: 0 15px; }
  .review { font-size: 15px; margin: 15px auto; padding: 15px; }
}
#galleryTitle {
  font-size: 32px; 
  text-align: center; 
  margin: 40px 0 20px 0;
  position: relative;
}

#galleryTitle::after {
  content: ''; 
  display: block; 
  width: 60px; 
  height: 3px; 
  background: #25D366; 
  margin: 15px auto; 
  border-radius: 2px;
}
#ctaBtn {
  animation: pulse-gold 2s infinite;
  box-shadow: 0 0 0 0 rgba(212,175,55,0.7);
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  70% { box-shadow: 0 0 0 20px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

@media (max-width: 480px) {
  .slides img { 
    height: 220px !important; 
  }
}

/* 🔥 COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 25px;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text a { color: #4f46e5; text-decoration: none; }
.cookie-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 15px;
}
#accept-cookies {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
}
#reject-cookies {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}
.cookie-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; gap: 15px; }
}

/* 🔥 OCHRONA ZDJĘĆ DPD APARTMENT */
img {
  -webkit-user-drag: none !important;
  -moz-user-drag: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

#galleryGrid img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

#galleryGrid img:hover {
  transform: scale(1.02);
}