   .parallax {
      position: relative;
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
	  width: 100%;
	  height: 70vh;
	  min-height: 300px;
    }

    .section {
      padding: 40px 0px;
      text-align: center;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      padding: 40px;
      background-color: #fff;
    }

    .gallery a img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }

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

.przycisk200p{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:1.0em;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 170px; }
.przycisk200p:hover{opacity: 1;}
.przycisk300{background-image: url(../graf/walecstalowy1.webp); margin-top: 10px; font-size:1.0em;text-align: center; display: inline-block; text-decoration: none;padding: 5px;border-radius: 5px;opacity: 0.8;box-shadow:2px 2px 2px #111;width: 300px; }
.przycisk300:hover{opacity: 1;}

/* przeniesione ze styl.css*/


.img-overlay-container {
  position: relative;
  display: inline-block; /* dopasowuje się do szerokości obrazka */
  margin: 0 auto;
  text-align: center;
}

.img-overlay-container img.img_menu {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 48px;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border-radius: 10px;
  pointer-events: auto;
  white-space: nowrap;
  z-index: 10;
}
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 18px;
  background-color: #333;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}
#scrollTopBtn:hover {
  background-color: #555;
}

/* Preloader pełnoekranowy */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #ffffff; /* Możesz zmienić na ciemny np. #222 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease;
}

/* Animowany "spinner" */
.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #999;
  border-top: 5px solid #1a73e8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animacja obrotu */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ukrycie preloadera */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}
