body {
    font-family: sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
  }
  
  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(35%);
    transform: scale(1.1); /* delikatne powiększenie, żeby rozmycie nie pokazało białych krawędzi */
    z-index: 0;
  }

  .hero h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: clamp(2.5rem, 10vw, 8rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 750;
    margin: 0;
    padding: 0 1rem;
    word-break: break-word;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* efekt „mgły” */
    z-index: 1;
  }
  
 
  
  section {
    padding: 1.5rem;
    background: white;
    margin: 1rem auto;
    max-width: 1100px;
    border-radius: 8px;
  }
  
  .details ul {
    list-style: none;
    padding: 0;
  }
  
  .details li {
    margin-bottom: 0.5rem;
  }
 
  
  footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 1,2rem;
    font-size: 0,9rem;
  }
  
  footer a {
    color: #ddd;
    text-decoration: none;
  }
  
  .modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 10px;
  }
  
  .modal.show {
    display: flex;
  }
  
  .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }
  .details-grid {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  
  @media (min-width: 600px) {
    .details-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .details-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .detail-item {
    border-left: 4px solid #ddd;
    padding-left: 1rem;
  }
  
  .detail-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #555;
  }
  
  .detail-item p {
    margin: 0;
    font-size: 1.25rem;
    color: #111;
  }

  .gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }
  
  @media (min-width: 640px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.02);
  }

  .pdf-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .pdf-tile {
    background-color: #eee;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  
  .pdf-tile:hover {
    background-color: #ddd;
    transform: scale(1.02);
  }

  .map-section {
    padding: 1.5rem;
    background: white;
    margin: 1rem auto;
    max-width: 1100px;
    border-radius: 8px;
  }
  
  .map-section h2 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
  }

  .price {
    background: linear-gradient(to right, #f0f0f0, #ddd);
    text-align: center;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 1100px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .price h2 {
    margin: 0;
    font-size: 2.2rem;
    color: #222;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(18px, 5vw, 28px);
  }

  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
  }

  .scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
  }
  
  .scroll-down span {
    font-size: 6rem;
    color: white;
    opacity: 0.8;
  }
  
  /* Efekt „podskakiwania” */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(10px);
    }
    60% {
      transform: translateX(-50%) translateY(5px);
    }
}

