* {
  font-family: Helvetica;
  margin: 0;
}
header {
  position: sticky;
  top: 0;
  box-shadow: 0px 0.5px 10px rgb(50, 47, 39);
  z-index: 1000;
  display: block;
}
#blok1 {
  background-color: rgb(50, 47, 39);
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
}
#kontakt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: orange;
}

#kontakt h3 {
  color: orange;
  margin: 2px 0;
}
nav {
  background-color: orange;
  padding-bottom: 10px;
  height: 30px;
  text-align: center;
}
nav a {
  display: inline-block;
  margin-right: 20px;
  color: rgb(50, 47, 39);
  font-size: large;
}
nav ul {
  list-style-type: none;
}
nav ul li {
  display: inline-block;
  padding-right: 20px;
  padding-top: 9px;
}
a {
  text-decoration: none;
  color: rgb(173, 130, 73);
  transition: color 0.2s ease 0.1s;
}
a:hover {
  color: white;
  text-decoration: underline;
}
#logo {
  width: 150px;
  height: auto;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgb(50, 47, 39);
  flex-shrink: 0;
  position: relative;
  top: 20px;
  margin-left: 50px;
}

main {
  height: auto;
  margin-top: 120px;
  margin-bottom: 120px;
}
.przesuwak {
  position: relative;
  width: 100%;
  height: 650px;
  margin: auto;
  overflow: hidden;
}

.przesuwak img {
  width: 100%;
  display: none;
}

img.pokazSlajd {
  display: block;
  animation-name: zanik;
  animation-duration: 2s;
}

.przesuwak button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  padding: 10px 15px;
  background-color: hsla(0, 0%, 0%, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.poprzedni {
  left: 0;
}

.nastepny {
  right: 0;
}

@keyframes zanik {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  background-color: rgb(50, 47, 39);
  color: white;
  padding: 50px 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-box {
  flex: 1 1 300px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

h3 {
  color: white;
}

p {
  color: orange;
}

#tel,
#mail,
#fb,
#tarnowiak {
  width: 30px;
  border-radius: 10px;
  vertical-align: middle;
}

#fb:hover,
#tarnowiak:hover {
  transform: scale(1.2);
}

#fb,
#tarnowiak {
  transition: transform 0.5s ease;
  margin-left: 10px;
}

h5 {
  font-size: 130%;
  color: rgb(198, 129, 0);
}
h6 {
  font-size: 120%;
  font-weight: 200;
  color: rgb(50, 47, 39);
}
strong {
  color: rgb(198, 129, 0);
}

hr {
  height: 3px;
  background-color: orange;
  border: none;
}
.Uslugi-calosc {
  display: table;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 100px;
}
#Uslugi-1,
#Uslugi1,
#Uslugi-2,
#Uslugi2 {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}
#Uslugi-1 {
  padding-right: 150px;
}
#Uslugi-2 {
  padding-right: 150px;
}
#Uslugi-calosc {
  scroll-margin-top: 250px;
}
.lista1 li {
  color: rgb(203, 133, 3);
  font-weight: 500;
  font-size: 120%;
}
.O-nas-calosc {
  display: table;
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  margin-bottom: 50px;
}
#O-nas,
#O-nas-1 {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}
#O-nas {
  padding-right: 150px;
}
#O-nas-1 {
  padding-right: 150px;
}
#O-nas-calosc {
  scroll-margin-top: 250px;
}
.info {
  text-align: center;
  background-image: url("./zdjecia/marmur.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 60px;
  padding-right: 0;
  padding-bottom: 60px;
  padding-left: 0;
  margin-bottom: 200px;
  width: 100%;
  box-sizing: border-box;
}
.info-2 {
  display: inline-block;
  background-color: rgba(128, 128, 128, 0.8);
  border-radius: 15px;
  padding-top: 30px;
  padding-right: 50px;
  padding-bottom: 30px;
  padding-left: 50px;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 0;
  margin-left: 20px;
  color: white;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#wstep {
  color: rgb(198, 129, 0);
}
.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  margin: 0 auto;
  max-width: 1200px;
}

.galeria img {
  width: calc(33.33% - 16px); 
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.nakladka {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.nakladka.aktywna {
  display: flex;
}
.nakladka img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}
.zamknij-przycisk {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: black;
  cursor: pointer;
  background: orange;
  padding: 5px 12px;
  border-radius: 5px;
}
.rozmyte {
  filter: blur(6px);
  pointer-events: none;
}
#produkty {
  scroll-margin-top: 150px;
}
.info-produkty {
  text-align: center;
  background-image: url("./zdjecia/marmur.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 60px;
  padding-right: 0;
  padding-bottom: 60px;
  padding-left: 0;
  margin-bottom: 80px;
  width: 100%;
  box-sizing: border-box;
}

.strzalka {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
  transition: background-color 0.3s ease;
}
.strzalka:hover {
  background-color: rgba(255, 165, 0, 0.8);
}
.strzalka.lewa {
  left: 40px;
}
.strzalka.prawa {
  right: 40px;
}

@media (max-width: 768px) {
  #blok1 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 20px 10px;
    text-align: center;
    position: static;
  }

  #logo {
    position: static;
    margin: 0 auto;
    top: 0;
  }

  #kontakt {
    align-items: center;
    margin-top: 10px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    display: block;
    padding: 0;
  }

  nav a {
    margin: 0;
    font-size: 18px;
  }
  .O-nas-calosc {
    display: block;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  #O-nas,
  #O-nas-1 {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .info-2 {
    padding: 20px 40px; 
    display: block;
    width: 100%;
    max-width: 300px; 
    margin: 0 auto; 
  }
  .Uslugi-calosc {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  #Uslugi-1,
  #Uslugi1 {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center; 
  }

  #obraz1 {
    width: 100%;
    height: auto;
    border-radius: 10px; 
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); 
  }
  .Uslugi-calosc:nth-of-type(2) {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  #Uslugi-2,
  #Uslugi2 {
    display: block;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  #obraz2 {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  }
  #Uslugi-2 ul {
    text-align: left;
    margin-left: 20px; 
  }
  .galeria img {
    width: calc(50% - 16px);
  }
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-box {
    width: 100%;
  }

  nav {
    position: static;
    box-shadow: none;
    height: auto;
    padding: 20px 0;
  }

  header {
    position: static;
    box-shadow: none;
  }

}
@media (min-width: 1024px) {
  .galeria img {
    height: 450px; 
  }
}
