/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
  }
  

/* Fonty dla calej strony */ 

  body {
    font-family: 'Roboto', sans-serif;
  }

/* Stylowanie dla nawigacji (navbar) */

.logo-letter{
  margin-left: 2rem;
}

.navbar-nav {
  margin-right: 6rem;
}

.navbar-brand {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.2rem;
}

.navbar-brand::first-letter {
  color: #4895ef;
}

.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: #343a40;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 5px;
}

.nav-link:hover {
  color: #4895ef;
}

.nav-link.active {
  color: #4895ef;
  border-bottom: 2px solid #4895ef;
}

/* nav-up */
.nav-up {
  top: -100px;
  transition: top 2.5s;
}

/* nav-down */
.nav-down {
  top: 0;
  transition: top 2.5s;
}








/* Stylowanie Home (Zdjecie glowne) */
#home {
  background-image: url('img/tlo/kitchenmid.1.webp');
  background-size: cover;
  background-position: center center;
  height: 80vh;
  margin: 1rem 0 150px 0;
}

/* tlo pod txt (Zdjecie glowne) */


.jumbotron h1 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
  font-weight: bold;
  color: #000000;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.jumbotron p.lead {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000000;
  margin-top: -1rem;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}




/* Stylowanie Home1 (kontener z textem) */
#id-container-1 {
  width: calc(100% - 40px);
  max-width: 110rem;
  height: 400px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid #000000;
  box-shadow: 10px 0px 50px #F8F9FA;
}

#id-title-1 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

#id-text-1 {
  font-size: 18px;
  margin: 2rem 16rem 0 16rem;
  line-height: 1.5;
  text-align: justify;
}

/* Stylowanie Home-2 */
img {
  width: auto;
  height: auto;
}

#id-home-2 h2 {
  margin: 2rem 0 1rem 0;
  font-size: 36px;
  font-weight: bold;
  background-color: #eaecee;
}

#id-home-2 img {
  max-width: 100%;
  height: auto;
}

#id-home-2 ul {
  list-style-type: none;
  padding-left: 0;
}

#id-home-2 li {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}

#id-home-2 p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}











/* Stylowanie service */
#service {
  padding: 50px 20px;
}

.service-image {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 2, 6.5);
  margin: 0px 10px;
}

/* (Sekcja service) txt z tlem pod zdjeciem */
.service-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.service-text h2 {
  font-size: 38px;
  margin: 1rem 0 10px 0;
}

.service-text p {
  margin: 0 5rem 1rem 5rem;
  font-size: 24px;
  line-height: 1;
}





/* Stylowanie service1 */
#service1 {
  padding: 30px 0;
  box-shadow: 0px 0px 20px rgba(26, 25, 25, 0.8);
}

#service1 h2 {
  color: #000000;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}





.card {
  border: none;
  border-radius: 20px;
  margin-top: 0.3rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(10px);
}

.card-title {
  color: #333333;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.card-text {
  color: #000000;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 20px;
  background-color: #ffffff;
}

.mb-5 {
  margin-bottom: 50px;
}

.mb-0 {
  margin-bottom: 0 !important;
}


/* Style for services section "Kitchen Fitting" */
.bg-light {
  background-color: #E9ECEF !important;
}

.container1 {
  max-width: 1200px;
  margin: 0 auto;
}

/* Style for image */
.img-fluid {
  width: 100%;
  height: auto;
}

/* Style for section headings */
h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* Style for section paragraphs */
.lead1 {
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Stylowanie service2 */
#service2 {
  background-color: #f8f9fa;
  margin-top: 60px;
  padding: 70px 0;
}

#service2 h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a1a;
}

#service2 p {
  font-size: 18px;
  line-height: 1.5;
  margin: 2rem 0 30px 0;
  color: #333;
}

#service2 img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

#service2 a.btn {
  display: block;
  margin-top: 40px;
  background-color: #007bff;
  color: #fff;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 12px 30px;
  transition: all 0.3s ease-in-out;
}

#service2 a.btn:hover {
  background-color: #0062cc;
}



/* Stylowanie blanka service */
.service-blank-service {
  background-color: #ADB5BD;
  padding: 80px 0;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* Stylowanie przycisku get in... w service */
.get-in-touch-btn-service {
  font-size: 18px;
  color: #fff;
  background-color: #4895ef;
  padding: 15px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  display: inline-block;
  font-weight: 600;
  color: darkblue;
  text-transform: uppercase;
  border: 2px solid #007bff;
  background-color: transparent;
  animation: pulsate 2s ease-in-out infinite;
}

/* Efekt hover przycisku w blank service */
@keyframes pulsate {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 252, 252, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    color: #fff;
    background-color: #007bff;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
}

.get-in-touch-btn-service:hover {
  background-color: #007bff;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


/* Stylowanie galerii tło-pierwsze zdjęcie. */
.container-gallery-tlo {
  background-color: #c7c2c2;
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
}

.gallery-tlo {
  margin-top: 3rem;
}

.container-gallery-tlo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.gallery-info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 40%;
  background-color: #c7c2c2;
  padding: 20px;
}

.gallery-heading {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.gallery-text {
  font-size: 18px;
  line-height: 1.5;
}

/* Stylowanie pustego pola galerii. */
.gallery-blank {
  background-color: #ebe2e2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0;
  height: 200px;
  transition: all 0.3s ease;
}

.gallery-blank:hover {
  transform: scale(1.05);
  background-color: #d9d1d1;
}

/* Stylowanie galerii masonry */
.container-gallery-imgs {
  background-color: #f2f2f2; /* kolor tła, np. szary */
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.gallery-toolbar button {
  margin-right: 10px;
  margin-bottom: 1rem;
}

.gallery-item {
  margin-left: 2px; /* dodaje margines z lewej strony */
  margin-right: 2px; /* dodaje margines z prawej strony */
}

.gallery-item img {
  width: 100%;
  height: 200px; /* przykładowa wysokość */
  display: block;
  margin-bottom: 1rem;
  object-fit: cover;
}

.gallery-item img {
  transition: all 0.5s ease-out;
}

.gallery-item:hover img {
  transform: scale(0.95);
}

/* Stylowanie kontenera masonry */
.masonry-container {
  margin: 0;
  padding: 0px;
}

.masonry-container .col-sm-6,
.masonry-container .col-md-4,
.masonry-container .col-lg-3 {
  padding: -1rem;
  margin-top: -1rem;
}






































/* Stylowanie about */
#about .about-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

#about .about-image {
  margin-top: 3rem;
  margin-bottom: 2rem;
  height: 500px;
  background-size: cover;
  background-position: center;
}

#about .about-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  font-weight: bold;
  color: #000000;
  padding: 50px;
  font-size: 24px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 1rem; /* dodanie zaokrąglenia */
}




/* style dla About (overlay) */
.overlay-section {
  margin-top: 60px;
  display: flex;
  margin-right: 10px;
  margin-left: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.overlay-left {
  display: flex;
  margin-bottom: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative; /* Ustawienie pozycji względem rodzica */
}

.overlay-left h2 {
  font-size: 30px;
  margin-top: 120px;
  margin-bottom: 40px;
}

.overlay-left p {
  font-size: 22px;
  margin-top: 30px;
  margin-left: 120px;
  margin-right: 120px;
  margin-bottom: 20px;
}

.overlay-left:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  transform: translateY(-50%);
  height: 2px;
  background-color: #000000;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  margin: 2px 0;
  z-index: -1;
  transition: width 0.2s ease-in-out, background-color 0.2s ease-in-out;
  }




/* style dla About (animacja dla lini poziomej) */
  .overlay-left:hover:before {
    width: 93.3%;
    background-color: #4895ef;
    box-shadow: 10px 4px 8px 4895ef(219, 15, 15, 0.8);
    border-bottom: 4px solid 4895ef;
  }

.overlay-right {
  position: relative;
  padding: 0;
}

.overlay-right .img-fluid {
  max-width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay:hover {
  opacity: 1;
}

.overlay .btn {
  margin-top: 0.2rem;
}
.overlay-text {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%; /* zmniejszenie szerokości tekstu */
  padding: 20px; /* zmniejszenie marginesów */
}

.overlay-text h3 {
  font-size: 40px;
  margin-bottom: 20px;
}

.overlay-text p {
  font-size: 28px;
  margin-bottom: 20px;
}



/* style dla About1 ( text) */
#about1 {
  background-color: #d1d5da;
  padding: 80px 0;
}

#about1 h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  background-color: #d1d5da;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  padding: 20px;
  display: inline-block;
  line-height: 1.2;
}

#about1 p {
  margin-top: 2rem;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 30px;
}

/* style dla About (kontenery) */

.about2 {
  background-color: #ced2d6;
}


.about2 img {
  display: block;
  max-width: 100%;
  margin-top: 8rem;
  padding: 0;
}


#container1-about1 {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 30px;
  margin-top: 3rem;
  margin-left:9rem;
  width: 80%;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#container1-about1 h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#container1-about1 p {
  font-size: 20px;
  line-height: 1.5;
}

#container1-about2 {
  background-color: #f8f9fa;
  padding: 20px;
  margin-bottom: 30px;
  margin-left:9rem;
  width: 80%;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#container1-about2 h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#container1-about2 p {
  font-size: 20px;
  line-height: 1.5;
}

#container1-about3 {
  background-color: #f8f9fa;
  padding: 20px;
  margin-bottom: 30px;
  margin-left: 9rem;
  width: 80%;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

#container1-about3 h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#container1-about3 p {
  font-size: 20px;
  line-height: 1.5;
}


.container-01,
.container-02,
.container-03 {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1.5s ease-in-out;
}




/* style dla About3 (kontener) */
#about-3 {
  background-color: #25282b;
  color: #ffffff;
  height: 20rem;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-header {
  margin-bottom: 30px;
}

.about-header h2 {
  font-size: 46px;
  font-weight: bold;
  text-align: center;
}

.about-3-content p {
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
}

.about-3-button {
  display: flex;
  justify-content: center;
}

.about-3-button .btn {
  font-size: 18px;
  font-weight: bold;
  padding: 12px 30px;
}

.about-3-button a.btn {
  font-size: 1rem;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
}






















/* Style for section "Contact" */
.image-container {
  position: relative;
  margin-top: -3rem;
  width: 100%;
  height: 400px; /* ustaw  wysokość */
  overflow: hidden;
}



.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 1;
}
.image-container {
  position: relative;
  overflow: hidden;
  height: 600px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}


.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-container h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  color: #fff;
}

#contact h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  color: #fff;
 }


/* Style for section "Contact1" */
 #contact1 {
  background-color: #8b8585;
 
}

#contact1 h2 {
  border-bottom: 1px solid #000000;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff; /* czerwony kolor tekstu */
}

#contact1 p {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #ffffff; /* niebieski kolor tekstu */
}


#contact1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  padding: 50px 0;
  border: 1px solid #000000;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}








/* Style for section "Contact" formularz*/


#contact2  {
background-color: #ffffff;
}


#contact2 label {
  font-weight: bold;
  font-size: 16px;
  margin-left: 0.5rem;
  margin-bottom: 10px;
}

#contact2 input[type="text"],
#contact2 input[type="email"],
#contact2 input[type="tel"],
#contact2 select,
#contact2 textarea {
  background-color: #e9e3e3;
  border: none;
  border-radius: 5px;
  color: #333;
  font-size: 16px;
  margin-bottom: 20px;
  padding: 10px 15px;
  width: 100%;
}

#contact2 input[type="text"]:focus,
#contact2 input[type="email"]:focus,
#contact2 input[type="tel"]:focus,
#contact2 select:focus,
#contact2 textarea:focus {
  border: 2px solid #5b7deb; /* domyślna grubość ramki */
  outline: none;
  box-shadow: 0 0 5px #5b7deb;
}

#contact2 select option:first-child {
  display: none;
}

#contact2 textarea {
  resize: none;
}

#contact2 button[type="submit"] {
  background-color: #1f75c7;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  padding: 10px 20px;
  transition: background-color 0.2s;
}

#contact2 button[type="submit"]:hover {
  background-color: #1553a3;
}



  #contact2 {
  margin-bottom: 10px;
  }
  
  
   
 
  







 /* Stylowanie Scroll-up (bottom) */
.scroll-top {
  height: 3rem;
  width: 2.5rem;
  margin-bottom: 1.5rem;
  margin-right: 0.3rem;
  background-color: white;
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.336);
  /* hover effect default */
  transform: scale(0.9);
  transition: 0.3s ease-in-out transform;
  /* for centering the icon */
  display: flex;
  align-items: center;
  justify-content: center;

  /*  opacity i transition */
  opacity: 0;
  transition: 0.3s ease-in-out opacity;
}

.scroll-top svg {
  width: 50%;
  color: #4895ef;
  pointer-events: none;
}

.scroll-top:hover {
  transform: scale(1.2);
}

/* .visible z właściwością opacity */
.scroll-top.visible {
  opacity: 1;
}




/* Stylowanie footer */

 .bg-light {
  background-color: #2b649c; /* kolor tła, możesz zmienić na dowolny inny */
}


footer {
  padding: 50px 0;
  font-size: 16px;
  color: #000000;
}

footer h5 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  margin-top: 3rem;
  margin-bottom: 20px;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #000000;
  text-decoration: none;
}

footer ul li a:hover {
  color: #000000;
}

footer hr {
  border-top: 1px solid #000000;
  margin: 30px 0;
}

footer p {
  margin-bottom: 0;
}

footer ul.list-inline li {
  display: inline-block;
  margin-right: 10px;
}

footer ul.list-inline li:last-child {
  margin-right: 0;
}

.container-2 {
  background-color: #000000;
}

.col-md-4.text-center p {
  margin-left: 1rem;
  margin-right: 1rem;
}

footer p {
  text-align: center;
}











  




/* kod CSS dla komunikatu "thank you" or fuck you w sekcji contact */


#thankYouMessage {
  background-color: #4a90e2;
  color: #fff;
  padding: 10px;
  border: 2px solid #fff;
  text-align: center;
}

#emailNotSentMessage {
  background-color: #f2dede;
  color: #a94442;
  padding: 10px;
  border: 2px solid #a94442;
  text-align: center;
}

#emailNotSentMessage.alert {
  margin-top: 20px;
}

#emailNotSentMessage.alert-danger {
  font-weight: bold;
}


/* animacja logo*/

















































