 .custom-panel {
      position: fixed;
      top: 0;
      right: 0;
      width: 120px;
      height: 75%;
      background-color: #f2f2f2;
      padding: 15px;
      box-sizing: border-box;
      transition: transform 0.3s ease-in-out;
    }

    .custom-panel.hidden {
      transform: translateX(200px);
    }

    /* CSS dla przycisków galerii */
    .custom-gallery-button {
      display: block;
      margin-bottom: 8px;
      padding: 5px 10px;
      background-color: #ccc;
      color: #333;
      text-decoration: none;
    }

    .custom-gallery-button:hover {
      background-color: #999;
      color: #fff;
    }
.button-container {
  text-align: center;
  margin-top: 20px;
}

.order-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  background-color: #ff5500;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out;
}

.order-button:hover {
  background-color: #ff7700;
}
  body {
      margin: 0;
      padding: 0;
    }

    .nawigacja {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #f2f2f2;
      padding: 10px 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      animation: slideDown 1s ease;
      z-index: 100;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
      }
      to {
        transform: translateY(0);
      }
    }

    body {
      margin: 0;
      padding: 0;
    }

    .nawigacja {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #f2f2f2;
      padding: 10px 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      animation: slideDown 1s ease;
      z-index: 100;
    }

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
      }
      to {
        transform: translateY(0);
      }
    }


.scrollbar {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   width: 100%;
   background-color: #f2f2f2;
   padding: 10px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   z-index: 999;
   overflow-y: auto;
   opacity: 0;
   transition: opacity 0.3s ease;
 }
 
 .scrollbar.visible {
   opacity: 1;
 }
 
 .scrollbar-nav button.active {
   background-color: #555;
   color: #fff;
 }
 
 .gallery-nav {
   list-style: none;
   padding: 0;
   margin: 0;
 }
 
 .gallery-nav li {
   margin-bottom: 10px;
 }
 
 .gallery-nav a {
   text-decoration: none;
   color: #333;
   padding: 5px;
   display: block;
 }
 
 .gallery-nav a:hover {
   background-color: #555;
   color: #fff;
 }
 
 .gallery-nav .current-gallery {
   font-weight: bold;
 }
 
 @media (min-width: 768px) {
   .scrollbar {
     top: 60%;
     transform: translateY(-50%);
     max-height: 80vh;
     width: auto;
   }
 }
 
 /* Nowoczesny styl strony */
 html,
 body {
   height: 100%;
   overflow: auto;
 }
 
 /* Nagłówek */
 header {
   background-color: #fff;
   padding: 20px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   text-align: center;
   animation: fadeIn 1s ease;
 }
 
 @keyframes fadeIn {
   from {
     opacity: 0;
   }
   to {
     opacity: 1;
   }
 }
 
 header img {
   max-width: 200px;
 }
 
 header h1 {
   font-size: 24px;
   margin-top: 10px;
   color: #333;
 }
 
/* Górne menu */
.top-nav {
   background-color: #f2f2f2;
   padding: 10px 0;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   animation: slideDown 1s ease;
   }
   
   @keyframes slideDown {
   from {
   transform: translateY(-100%);
   }
   to {
   transform: translateY(0);
   }
   }
   
   .top-nav ul {
   list-style: none;
   text-align: center;
   }
   
   .top-nav ul li {
   display: inline-block;
   margin-right: 10px;
   }
   
   .top-nav ul li a {
   text-decoration: none;
   color: #333;
   padding: 5px 10px;
   transition: color 0.3s ease;
   }
   
   .top-nav ul li a:hover {
   color: #555;
   }
   
   /* Główne menu */
   nav {
   background-color: #fff;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   animation: fadeIn 1s ease;
   }
   
   nav ul {
   list-style: none;
   text-align: center;
   }
   
   nav ul li {
   display: inline-block;
   margin-right: 10px;
   }
   
   nav ul li a {
   text-decoration: none;
   color: #333;
   padding: 5px 10px;
   transition: color 0.3s ease;
   }
   
   nav ul li a:hover {
   color: #555;
   }
   
   /* Sekcje */
   section {
   background-color: #fff;
   padding: 20px;
   margin-bottom: 20px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   animation: slideUp 1s ease;
   }
   
   @keyframes slideUp {
   from {
   transform: translateY(100%);
   }
   to {
   transform: translateY(0);
   }
   }
   
   section h2 {
   font-size: 24px;
   margin-bottom: 10px;
   color: #333;
   }
   
   section p {
   font-size: 16px;
   line-height: 1.5;
   color: #555;
   }
   
   /* Galeria */
   section#galeria {
   text-align: center;
   overflow: hidden;
   }
   
   section#galeria h2 {
   font-size: 24px;
   margin-bottom: 10px;
   color: #333;
   }
   
   section#galeria ul {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   padding: 0;
   margin: 0;
   list-style: none;
   }
   
   section#galeria li {
   width: 200px;
   height: 200px;
   margin: 10px;
   overflow: hidden;
   position: relative;
   }
   
   section#galeria li img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
   }
   
   section#galeria li:hover img {
   transform: scale(1.1);
   }

/* Animacja galerii - brak przewijania */
section#galeria {
   overflow: hidden;
   position: relative;
 }
 
 section#galeria ul {
   display: flex;
   width: 100%;
   height: 100%;
   position: relative;
   animation: slideGallery 10s infinite linear;
 }
 
 @keyframes slideGallery {
   0% {
     transform: translateX(0);
   }
   100% {
     transform: translateX(-100%);
   }
 }
 
 /* Globalne style */
 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }
 
 .container {
   max-width: 800px;
   margin: 0 auto;
   padding: 20px;
 }
 
 h1 {
   text-align: center;
 }
 
 h2 {
   font-size: 24px;
   margin-bottom: 20px;
   text-align: center;
 }
 
 /* Legenda */
 .legend {
   background-color: #f2f2f2;
   border: 1px solid #e5e5e5;
   border-radius: 8px;
   padding: 20px;
   margin-bottom: 20px;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 6px 0 12px rgba(0, 0, 0, 0.1), -6px 0 12px rgba(0, 0, 0, 0.1);
 }
 
 .legend ul {
   list-style: none;
   padding: 0;
 }
 
 .legend li {
   margin-bottom: 10px;
 }
 
 .legend li:before {
   content: "•";
   margin-right: 10px;
   color: #333;
 }
 
 .legend a {
   text-decoration: none;
   color: #333;
   transition: color 0.3s ease;
 }
 
 .legend a:hover {
   color: #555;
 }
 
 /* Trapy */
 .trap-table-title,
 .trap-info-title,
 .trap-images-title {
   text-align: center;
 }
 
 .trap-images {
   display: flex;
   justify-content: space-between;
 }
 
 .trap-image-box {
   flex: 0.5;
   margin: 10px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
   display: flex;
   align-items: center;
   justify-content: center;
   animation: fade-in 1s ease;
 }
 
 .trap-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }
 
 @keyframes fade-in {
   0% {
     opacity: 0;
   }
   100% {
     opacity: 1;
   }
 }
 
 /* Tabela */
 .trap-table {
   width: 50%;
   margin: 0 auto;
   border-collapse: collapse;
   font-family: Arial, sans-serif;
   color: #333;
 }
 
 .trap-table th,
 .trap-table td {
   padding: 10px;
   text-align: center;
   border: 1px solid #ccc;
 }
 
 .trap-table th {
   background-color: #f2f2f2;
   font-weight: bold;
   text-transform: uppercase;
 }
 
 .trap-table td {
   background-color: #fff;
 }
 .gallery2 {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   gap: 10px;
   overflow: hidden;
   }
   
   .gallery2 img {
   max-width: 200px;
   width: 100%;
   height: auto;
   cursor: pointer;
   border: 5px solid #ccc;
   object-fit: cover;
   }
   
   @media only screen and (max-width: 600px) {
   .gallery2 img {
   max-width: 50%;
   }
   }
   
   @media only screen and (max-width: 400px) {
   .gallery2 img {
   max-width: 100%;
   }
   }
   
   .gallery {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-gap: 20px;
   }
   
   .gallery img {
   max-width: 100%;
   height: auto;
   overflow: hidden;
   cursor: pointer;
   border: 5px solid #ccc;
   }
   
   .lightbox {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.3s ease;
   }
   
   .lightbox.show {
   opacity: 1;
   pointer-events: auto;
   }
   
   .lightbox img {
   max-width: 90%;
   max-height: 90%;
   object-fit: contain;
   }
   
   .lightbox .close {
   position: absolute;
   top: 10px;
   right: 10px;
   color: #fff;
   font-size: 20px;
   cursor: pointer;
   }
   
   .lightbox .prev,
   .lightbox .next {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   color: #fff;
   font-size: 30px;
   cursor: pointer;
   padding: 10px;
   background-color: rgba(0, 0, 0, 0.5);
   }
   
   .lightbox .prev {
   left: 10px;
   }
   
   .lightbox .next {
   right: 10px;
   }
   
   .category-boxes {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   flex-wrap: wrap;
   }
   
   .category-box {
   width: 48%;
   margin-bottom: 20px;
   }
   
   .category-info {
   margin-top: 10px;
   }
   
   .category-info h3 {
   font-size: 18px;
   margin-bottom: 5px;
   }
   
   .category-info p {
   font-size: 14px;
   color: #666;
   }
   .contact-panel {
      background-color: #f2f2f2;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 6px 0 12px rgba(0, 0, 0, 0.1), -6px 0 12px rgba(0, 0, 0, 0.1);
   }
   
   .contact-panel h2 {
      font-size: 24px;
      margin-bottom: 20px;
      color: #333;
   }
   
   .contact-info {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 20px;
      margin-bottom: 20px;
   }
   
   .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
   }
   
   .contact-label {
      font-weight: bold;
      margin-right: 10px;
      width: 120px;
   }
   
   .contact-text {
      color: #666;
   }
   
   .contact-button {
      display: inline-block;
      padding: 10px 20px;
      background-color: #333;
      color: #fff;
      text-decoration: none;
      border-radius: 4px;
      transition: background-color 0.3s ease;
   }
   
   .contact-button:hover {
      background-color: #555;
   }
   
   .contact-map {
      text-align: center;
      margin-top: 20px;
   }


   #kategorie {
      text-align: center;
      padding: 20px;
    }
    
    .category-boxes {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .category-box {
      position: relative;
      width: 240px;
      height: 240px;
      margin: 10px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
    
    .category-thumbnail {
      width: 100%;
      height: 70%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
    
    .category-thumbnail img {
      display: block;
      width: 100%;
      height: 143%;
      object-fit: cover;
    }
    
    .category-name {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 10px;
      background-color: rgba(255, 255, 255, 0.9);
      color: #333;
      font-weight: bold;
      text-align: center;
      transition: opacity 0.3s;
    }
    
    .category-box:hover .category-name {
      opacity: 1;
    }
    
    


   * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
   }
   
   .car-box {
      position: relative;
      flex: 1;
      width: 300px;
      height: 250px;
      margin: 10px;
      border: 2px solid #ddd;
      border-radius: 5px;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      transition: transform 0.3s ease;
   }
   
   .car-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
   }
   
   .car-box:hover img {
      transform: scale(1.1);
   }
   
   .car-name {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      padding: 10px;
      background-color: rgba(0, 0, 0, 0.75);
      color: #fff;
      font-weight: bold;
      font-size: 14px;
      text-align: center;
   }
   
   .car-boxes-horizontal {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 20px;
      overflow-x: auto;
   }
   
   .car-boxes-horizontal::-webkit-scrollbar {
      height: 8px;
   }
   
   .car-boxes-horizontal::-webkit-scrollbar-thumb {
      background-color: #888;
      border-radius: 4px;
   }
   
   .car-boxes-horizontal::-webkit-scrollbar-track {
      background-color: #eee;
      border-radius: 4px;
   }
   
   body {
      font-family: Arial, sans-serif;
      background-color: #f2f2f2;
      color: #333;
   }
   
   .o-nas-heading {
      text-align: center;
      font-weight: bold;
   }
   
   #informacja-o-firmie h2,
   #lokalizacja h2 {
      margin-bottom: 20px;
      text-align: center;
   }
   
   .o-nas-box {
      background-color: #fff;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 6px 0 12px rgba(0, 0, 0, 0.1), -6px 0 12px rgba(0, 0, 0, 0.1);
   }
   
   .speech-bubble {
      background-color: #f2f2f2;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   }
   
   .o-nas-description {
      font-size: 18px;
      color: #666;
      line-height: 1.5;
   }
   
   .location-info {
      text-align: center;
      margin-top: 20px;
   }
   
   .btn-dojazd {
      margin-left: auto;
      display: inline-block;
      padding: 10px 20px;
      background-color: #333;
      color: #fff;
      text-decoration: none;
      border-radius: 4px;
      transition: background-color 0.3s ease;
   }
   
   .btn-dojazd:hover {
      background-color: #555;
   }
   
   header {
      background-color: #fff;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      text-align: center;
   }
   
   header img {
      max-width: 200px;
   }
   
   header h1 {
      font-size: 24px;
      margin-top: 10px;
      color: #333;
   }
   
   .top-nav {
      background-color: #f2f2f2;
      padding: 10px 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   }
   
   .top-nav ul {
      list-style: none;
      text-align: center;
   }
   
   .top-nav ul li {
      display: inline-block;
      margin-right: 10px;
   }
   
   .top-nav ul li a {
      text-decoration: none;
      color: #333;
      padding: 5px 10px;
      transition: color 0.3s ease;
   }
   
   .top-nav ul li a:hover {
      color: #555;
   }
   
   nav {
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   }
   
   nav ul {
      list-style: none;
      text-align: center;
   }
   
   nav ul li {
      display: inline-block;
      margin-right: 10px;
   }
   
   nav ul li a {
      text-decoration: none;
      color: #333;
      padding: 5px 10px;
      transition: color 0.3s ease;
   }
   
   nav ul li a:hover {
      color: #555;
   }
   
   section {
      background-color: #fff;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
   }
   
   section h2 {
      font-size: 24px;
      margin-bottom: 10px;
      color: #333;
   }
   
   section p {
      font-size: 16px;
      line-height: 1.5;
      color: #555;
   }
   
   section#galeria {
      text-align: center;
     overflow: hidden;
   }
   
   section#galeria h2 {
      font-size: 24px;
      margin-bottom: 10px;
      color: #333;
   }
   
   section#galeria ul {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding: 0;
   }
   
   section#galeria li {
      list-style: none;
      margin-right: 10px;
   }
   
   section#galeria img {
      width: 200px;
      height: auto;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
   }
   
   section#galeria img:hover {
      transform: scale(1.1);
   }
   
   footer {
      background-color: #f2f2f2;
      padding: 10px;
      text-align: center;
      font-size: 14px;
      color: #555;
   }
   
   #ciezarowe {
      background-color: #ffffff;
      padding: 40px;
   }

   .o-nas-box3 {
      text-align: center;
   }

   .o-nas-box3 h2 {
      font-size: 24px;
      color: #333;
      margin-bottom: 20px;
   }

   .car-boxes-horizontal1 {
      display: flex;
      justify-content: center;
      align-items: center;
   }

   .car-box1 {
      display: inline-block;
      width: 300px;
      height: 200px;
      background-size: cover;
      background-position: center;
      position: relative;
      margin: 10px;
      overflow: hidden;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
   }

   .car-box1:hover {
      transform: scale(1.05);
   }

   .car-box1::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: opacity 0.3s ease;
   }

   .car-box1:hover::before {
      opacity: 1;
   }

   .car-name1 {
      position: absolute;
      bottom: 10px;
      left: 10px;
      color: #444444;
      background-color: rgba(255, 255, 255, 0.7); /* Mniejsza przezroczystość tła tekstu */
      padding: 5px;
      font-size: 18px;
      width: calc(100% - 20px); /* Rozciąga tło tekstu */
   }

   /* Dodatkowy styl dla linków */
   .car-box1 {
      text-decoration: none;
      color: #fff;
   }
   @media screen and (max-width: 767px) {
      header {
         padding: 10px;
      }
   
     section#galeria {
       overflow: hidden;
     }
      header h1 {
         font-size: 20px;
      }
   
      .top-nav {
         padding: 5px 0;
      }
   
      .top-nav ul li a {
         padding: 2px 5px;
      }
   
      nav ul li a {
         padding: 2px 5px;
      }
   
      section {
         padding: 10px;
      }
   
      section h2 {
         font-size: 20px;
      }
   
      section p {
         font-size: 14px;
      }
   
      section#galeria img {
         width: 150px;
      }
   }
   


