/*
Items Name : Tabia
Author : Ngetemplates
-------------------------------- */
/* ------------------------------
  Import Google Web Font
---------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
/* ------------------------------
  General
---------------------------------*/
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #686868;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  color: #2a2a2a;
}

h1 {
  font-size: 68px;
  line-height: 74px;
  font-weight: 600;
  position: relative;
}

h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  margin-bottom: 20px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 26px;
}

h5 {
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
  color: #f8a269;
  margin-bottom: 20px;
}

h6 {
  font-size: 18px;
}

a {
  text-decoration: none;
  color: #464646;
}

a:hover {
  color: #f8a269;
}

p {
  margin: 5px 0 15px;
  line-height: 28px;
  letter-spacing: 0.5px;
}

ul {
  padding: 0;
  margin: 0;
}
ul li {
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  padding: 4px 0;
}

img {
  width: 100%;
}

img2 {
  width: 100%;
  border-radius: 20%;
}

span.span-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  color: #87b04a;
  display: flex;
  justify-content: center;
}

span.span-title-left {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  color: #87b04a;
}

.bg-second {
  background: #fafff3;
}

/* ------------------------------
  preloader
---------------------------------*/
.spinner5 .cube1,
.spinner5 .cube2 {
  background-color: #f8a269;
}

/* ------------------------------
  button
---------------------------------*/
.button {
  padding: 12px 20px;
  background: #f8a269;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 1px;
  border: 0;
  transition: 0.2s;
  font-weight: 600;
  border: 1px solid transparent;
}

.button:hover {
  background: #2a2a2a;
  color: #ffffff;
  border-color: transparent;
}

/* ------------------------------
  navbar-brand
---------------------------------*/
.navbar {
  background: transparent;
  padding: 18px 0;
  position: fixed;
  width: 100%;
  z-index: 99;
  top: 0;
}

.navbar img {
  height: 150px;
  width: auto;
}

.navbar .navbar-brand {
  width: 20%;
  text-align: left;
}

.navbar .navbar-brand span {
  color: red;
}

.navbar .navbar-brand:hover {
  color: #333333;
}

.navbar .navbar-toggler {
  padding: 0;
}

.navbar .navbar-toggler i {
  font-size: 35px;
  color: #fff;
}

.navbar .navbar-toggler:focus {
  box-shadow: none;
}

.navbar .navbar-collapse {
  position: relative;
  width: 60%;
  text-align: center;
}

.navbar .navbar-nav {
  margin: auto;
}

.navbar .navbar-nav li {
  padding: 0 10px;
  transition: all 0.3s ease 0s;
}

.navbar .navbar-nav li a {
  color: #fff;
}

.navbar .navbar-nav li a:hover {
  color: #f8a269;
}

.navbar .navbar-nav li .button {
  color: #fff;
  margin-top: -3px;
  display: inline-block;
  margin-right: -15px;
}

.navbar .show .button {
  margin-top: 20px !important;
}

.navbar-nav {
  position: relative;
}

.navbar-fixed {
  background: #01392e;
}

.nav-right {
  text-align: right;
  width: 20%;
}

/* ------------------------------
  intro
---------------------------------*/
.intro {
  padding: 260px 0 110px;
  background: linear-gradient(rgba(12, 19, 2, 0.34), rgba(15, 23, 4, 0.63)), url(../img/intro.jpg);
  background-size: cover;
}

.intro .content {
  text-align: center;
  color: #ffffff;
  border: 8px solid #fff;
  padding: 40px;
  display: inline-block;
  margin: auto;
  left: auto;
  right: auto;
  position: relative;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}
.intro .content h1 {
  color: #fff;
  margin: 25px 0;
}
.intro .content p {
  margin: 0 22%;
}


.kategoria {
  margin-top: 10px;
   margin-bottom: -100px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #f8a269;
  padding-left: 30px;
  padding-right: 30px;
}

.kategoria .content {
  text-align: center;
  color: #ffffff;
  border: 0px solid #fff;
  padding: 10px;
  display: inline-block;
  margin: auto;
  left: auto;
  right: auto;
  position: relative;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}
.kategoria .content h1 {
  color: #fff;
  font-size: 20px;
  margin: 25px 0;
}
.kategoria .content p {
  margin: 0 22%;
}




/* ------------------------------
  about
---------------------------------*/
.about {
  padding: 100px 27% 0;
  text-align: center;
}

/* ------------------------------
clients
---------------------------------*/
.clients {
  margin-top: 110px;
  padding-top: 60px;
  padding-bottom: 60px;
  background: #f8a269;
  padding-left: 30px;
  padding-right: 30px;
}

.clients img {
  padding: 0 30px;
}

/* ------------------------------
wypozyczalnia
---------------------------------*/
.wypozyczalnia {
  margin-top: -100px;
  padding-top: 60px;
  padding-bottom: 60px;
  background: #f8a269;
  padding-left: 30px;
  padding-right: 30px;
}

.wypozyczalnia img {
  padding: 0 30px;
}
.wypozyczalnia .content {
	text-align: center;
  color: #ffffff;
  border: 8px solid #fff;
  padding: 40px;
  display: inline-block;
  margin: auto;
  left: auto;
  right: auto;
  position: relative;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

/* ------------------------------
  	services
---------------------------------*/
.services {
  padding-top: 100px;
  padding-bottom: 80px;
}
.services h2 {
  margin-bottom: 30px;
}
.services h4 {
  text-align: center;
  color: #f8a269;
}
}
.services .content {
  border: 1px solid transparent;
  padding-bottom: 15px;
  
}
.services .content img {
  height: 80px;
  width: auto;
  margin-bottom: 25px;
  display: block;
    margin-left: auto;
    margin-right: auto }
}
.services .content h5 {
  margin-bottom: 25px;
}

/* ------------------------------
  	why us
---------------------------------*/
.why-us {
  padding-top: 120px;
  padding-bottom: 120px;
 background: linear-gradient(rgba(12, 19, 2, 0.34), rgba(15, 23, 4, 0.63)), url(../img/why.jpg);
background-size: cover;
  color: #eee;
}
.why-us h2 {
  color: #fff;
}
.why-us h4 {
  color: #fff;
}
.why-us .content {
  position: relative;
  margin-bottom: 5px;
}
.why-us .content img {
  float: left;
  width: 50px;
  height: auto;
  margin-right: 20px;
  margin-top: 6px;
}
.why-us .content .entry {
  overflow: hidden;
}

/* ------------------------------
  	o nas
---------------------------------*/
.onas {
	margin-top: 50px;
  padding-top: 120px;
  padding-bottom: 120px;
 background: linear-gradient(rgba(12, 19, 2, 0.34), rgba(15, 23, 4, 0.63)), url(../img/onas.jpg);
background-size: cover;
  color: #eee;
}
.onas h2 {
  color: #fff;
}
.onas h4 {
  color: #fff;
}
.onas .content {
  position: relative;
  margin-bottom: 5px;
}
.onas .content img {
  float: left;
  width: 150px;
  height: auto;
  margin-right: 20px;
  margin-top: 6px;
  
}

.onas .img2 {
 
  height: auto;
  margin-right: 20px;
  margin-top: 6px;
  border-radius: 50%;
}
.onas .content .entry {
  overflow: hidden;
}

/* ------------------------------
  	project
---------------------------------*/
.project .container-fluid {
  padding: 0;
}
.project figure {
  margin-bottom: 0;
}

/* ------------------------------
  	pricing
---------------------------------*/
.pricing {
  padding-top: 120px;
  padding-bottom: 120px;
}
.pricing .content {
  border: 1px solid #ddd;
  border: 8px solid #fff9f5;
  padding-bottom: 15px;
  text-align: center;
  background: #fff9f5;
  margin-top: 30px;
}
.pricing .content h5 {
  background: #f8a269;
  padding: 30px 0;
  color: #fff;
}
.pricing .content .content-head {
  margin-bottom: 20px;
}
.pricing .content .content-head h1 {
  margin-top: 10px;
}
.pricing .active {
  border-color: #87b04a;
  margin-top: 0px;
}
.pricing .active h5 {
  background: #87b04a;
}
.pricing .button {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ------------------------------
  testimonial
---------------------------------*/
.testimonial {
  padding-top: 120px;
  padding-bottom: 100px;
}
.testimonial .content .entry2 {
  margin-left: 30px;
}
.testimonial .content .entry {
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  padding-bottom: 0;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px -15px rgba(0, 0, 0, 0.2);
}
.testimonial .content .entry .image {
  float: left;
  margin-right: 20px;
}
.testimonial .content .entry .image img {
  width: 50px;
  height: 50px;
  border-radius: 10%;
}
.testimonial .content .entry .text {
  overflow: hidden;
}
.testimonial .content .entry .text p {
  line-height: 26px;
}

/* ------------------------------
  	contact
---------------------------------*/
.contact {
  padding-top: 120px;
  padding-bottom: 60px;
}
.contact .icon {
  float: left;
  margin-right: 20px;
}
.contact .text {
  overflow: hidden;
}
.contact .content-map {
  margin-bottom: 40px;
}
.contact .content-map iframe {
  width: 100%;
}
.contact i {
  height: 60px;
  width: 60px;
  background: #87b04a;
  text-align: center;
  line-height: 60px;
  color: #fff;
  font-size: 25px;
  margin-bottom: 20px;
}
.contact h5 {
  margin-top: 11px;
  color: #333;
}
.contact .open {
  background: #87b04a;
  color: #fff;
  height: 100%;
  text-align: center;
  border: 8px solid #f8a269;
  padding-top: 18%;
}
.contact .open h3 {
  color: #fff;
}
.contact .open span {
  font-size: 22px;
  margin-bottom: 30px;
  display: block;
}
.contact .copyright {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  margin-top: 40px;
}

/* ------------------------------
    responsive
---------------------------------*/
@media (max-width: 992px) {
  .navbar .navbar-nav li {
    padding: 0 2px;
  }
}
@media (max-width: 991px) {
  .navbar-nav {
    padding-top: 20px;
    background: #87b04a;
    padding-bottom: 15px;
  }

  .navbar .navbar-toggler {
    margin-right: 100px;
    z-index: 1;
  }
  .navbar .button {
    margin-top: -6px;
  }

  .nav-right {
    text-align: right;
    width: 20%;
    position: absolute;
    float: right;
    right: 90px;
    top: 32px;
    width: 100%;
  }

  .intro .content {
    padding: 30px;
  }
  .intro .content p {
    margin: 0;
  }

  .intro .content img {
    left: 0;
  }

  .about {
    padding-left: 17%;
    padding-right: 17%;
  }

  .clients img {
    padding: 0;
  }
  .wypozyczalnia {
    padding: 0;
	margin-top: -100px;
	
  }

  .project p {
    display: none;
  }

  .contact .open {
    padding-top: 33%;
  }
}
@media (max-width: 768px) {
  .navbar .navbar-toggler {
    margin-right: 145px;
    z-index: 1;
  }
  .navbar .nav-right {
    right: 36px;
  }
}
@media (max-width: 767px) {
  .intro .content {
    width: 100%;
    padding: 0;
    border: 0;
  }
  .about {
    padding-left: 10%;
    padding-right: 10%;
  }
  

  .clients {
    padding-left: 0;
    padding-right: 0;
  }
  .clients .col-12 {
    flex: 33%;
    margin-bottom: 10px;
  }

  .clients img {
    padding: 0 5px;
  }

  .project h2 {
    display: none;
  }

  .contact .open {
    padding-top: 5%;
  }
}
@media (max-width: 575px) {
  .container {
    padding: 0 30px;
  }

  .intro .content {
    border: 0;
  }

  .about {
    padding: 120px 0 40px;
  }

  .clients img {
    margin: 20px 0;
  }

  .testimonial .content .entry2 {
    margin-left: 0;
  }

  .contact .open {
    padding-top: 8%;
  }
}
@media (max-width: 479px) {
  .navbar .nav-right {
    display: none;
  }

  .navbar .navbar-toggler {
    margin-right: 0;
  }

  h1 {
    font-size: 50px;
    line-height: 56px;
  }
}

 /* Styl dla przyciemnionego tła */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        /* Styl dla samego pop-upa */
        .popup {
			display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            text-align: center;
            width: 300px;
			height: 350px;
        }
.popup img {
  height: 120px;
  width: auto;
}
        /* Styl dla przycisku zamknięcia */
        .close-btn {
            background: #f8a269;
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            border-radius: 5px;
            margin-top: 10px;
			margin-bottom: 0px;
        }
		
		



/* Styl dla galerii */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.gallery img {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

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

/* Ukryta galeria referencji (domyślnie niewidoczna) */
.hidden-gallery {
    display: none;
}

/* Modal do powiększenia obrazka */
.modal {
    display: none; /* Ukrywamy modal domyślnie */
    position: fixed;
    z-index: 9999; /* Ustawienie wysokiego z-index, aby modal był na wierzchu */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
    overflow: auto;
    text-align: center;
}

/* Obrazek w powiększeniu */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    position: relative;
    z-index: 10000; /* Ustawienie z-index, aby obrazek był na wierzchu */
}

/* Przycisk zamknięcia */
.close-btn {
    background-color: #f8a269;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    bottom: 10px; /* Przycisk na dole powiększonego obrazka */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    z-index: 10001; /* Zabezpieczenie, żeby przycisk był nad obrazkiem */
}

.close-btn:hover {
    background-color: #000000;
}

/* Styl dla obrazu */
.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain; /* Dopasowanie obrazu do modalnego okna */
}

/* Responsywność */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 100%;
        max-width: 300px; /* Na mniejszych ekranach obrazki będą nieco większe */
    }

    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }

    .close-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .modal-content img {
        max-height: 70vh; /* Na bardzo małych ekranach obrazek będzie nieco mniejszy */
    }

    .close-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

#showMoreBtn {
    display: block; !important;
    margin: 20px auto; !important;
    padding: 10px 20px; !important;
    background-color: #f8a269; !important;/* Kolor tła przycisku */
    color: white; !important;/* Kolor tekstu */
    border: none; !important;/* Brak ramki */
    font-size: 16px; !important;
    cursor: pointer; !important;
    border-radius: 5px; !important;
    transition: background-color 0.3s ease; !important;
	
}

#showMoreBtn:hover {
    background-color: #000000; /* Kolor tła przycisku po najechaniu */
    color: white; /* Kolor tekstu pozostaje biały */
}


/* Styl dla kontenera galerii */
#gallery {
    display: flex;
    flex-wrap: wrap; /* Umożliwia zawijanie miniatur */
    justify-content: center; /* Wyśrodkowuje miniatury */
    align-items: center; /* Wyśrodkowuje miniatury */
    gap: 10px; /* Przestrzeń pomiędzy miniaturami */
    margin: 0 auto; /* Wyśrodkowanie galerii */
}

/* Styl miniatur */
.gallery-item {
    margin: 10px;
    width: 100px; /* Stały rozmiar miniatur */
    height: 100px; /* Stały rozmiar miniatur */
    object-fit: cover; /* Przycinanie obrazów do okręgu */
    border-radius: 10%; /* Ustala okrągły kształt */
    cursor: pointer;
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease; /* Efekty powiększenia miniatury */
    display: inline-block;
}

/* Efekt powiększenia miniatur na hover */
.gallery-item:hover {
    transform: scale(1.2); /* Powiększenie miniatury na hover */
}

/* Styl dla powiększonego obrazu */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Tło z przezroczystością */
    display: none; /* Ukryte na początku */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    position: relative;
    object-fit: contain; /* Zachowanie proporcji obrazka */
}

/* Przycisk do zamknięcia powiększonego obrazu */
#closeBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#closeBtn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Przycisk do rozwijania galerii */
#showGalleryBtn {
    margin: 20px;
    padding: 15px 30px; /* Zwiększenie rozmiaru przycisku */
    font-size: 18px; /* Zwiększenie rozmiaru czcionki */
    cursor: pointer;
    background-color: #f8a269;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
    display: block; /* Sprawia, że przycisk jest elementem blokowym */
    margin-left: auto; /* Wyśrodkowuje przycisk */
    margin-right: auto; /* Wyśrodkowuje przycisk */
    text-align: center; /* Centruje tekst wewnątrz przycisku */
    border-radius: 5px; /* Zaokrąglenie krawędzi */
    width: auto; /* Przyciski mają aut */
	
	
	
}
#showGalleryBtn:hover {
    
    background-color: #000000;

	
	
	
}

 #close-gallery-btn {
            position: absolute;
            bottom: 20px; /* Umieszczamy przycisk na dole obrazu */
            left: 50%;
            transform: translateX(-50%); /* Centrujemy przycisk */
            background-color: #f8a269; /* Kolor tła */
            color: white; /* Kolor tekstu */
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
            z-index: 10; /* Ustawiamy przycisk na wierzchu obrazu */
			 border-radius: 5px;
        }

        #close-gallery-btn:hover {
            background-color: black; /* Kolor przycisku po najechaniu */
        }

