html {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f4f4;
  color: #505153;
}

p, h1, h2, h3 {
  margin: 0;
}

a {
  text-decoration: none;
}

section {
  margin: auto;
}

hr {
  width: 100%;
  border-top: 1px solid #183547;
}

button {
  border: none;
  background: none;
}

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 1em;
}

.text--highlight {
  font-weight: 600;
  color: #183547;
}

.text--shadow {
  font-size: 0.9rem;
  color: #505153;
  text-decoration: none;
}

.background-cover {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .background-cover {
    background-attachment: fixed;
  }
}

header {
  padding: 0.5em 2em;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  height: 3.5em;
}
header .navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .navigation .logo,
header .navigation .hamburger img {
  height: 3.5em;
}
header .nav-links {
  display: none;
  visibility: hidden;
  list-style: none;
}
header .nav-links.active {
  visibility: visible;
  display: flex;
  flex-direction: column;
  height: 9em;
  width: 100%;
  position: absolute;
  top: 100%;
  margin: 0;
  padding-top: 1em;
  background-color: #ffffff;
  right: 0;
  gap: 0.5em;
}
header .nav-links a {
  font-size: 1.125rem;
  padding-left: 1.5em;
  color: #183547;
}

@media (min-width: 768px) {
  header {
    padding: 0.5em 4em;
  }
  header .navigation {
    justify-content: space-around;
  }
  header .hamburger {
    display: none;
    visibility: hidden;
  }
  header .nav-links {
    display: flex !important;
    visibility: visible !important;
  }
  header .nav-links a {
    font-size: 1.25rem;
  }
  header .nav-links a:hover {
    font-weight: 500;
  }
}
.footer {
  padding: 5em 3em;
}
.footer .logo {
  width: 150px;
  height: auto;
  padding-bottom: 2em;
}
.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__content .footer__contact {
  color: #183547;
  font-size: 1.125rem;
  line-height: 1.5;
  padding-bottom: 2em;
  text-align: center;
}
.footer__content .footer__contact a {
  color: #183547;
}
.footer__content .footer__title {
  font-size: 1.5rem;
  padding-bottom: 1em;
}
@media (min-width: 1065px) {
  .footer__content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 3em;
  }
  .footer__content .footer__contact {
    text-align: left;
    display: flex;
    gap: 3em;
  }
}

.background {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url("../assets/bg-main.webp");
  background-position: center;
  color: #ffffff;
  text-align: center;
}
.background h1 {
  font-size: clamp(1.25rem, 6vw, 4rem);
  font-weight: 600;
}
.background p {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 500;
}

.layout-container {
  margin: auto;
}

#firma {
  max-width: 1200px;
  padding: 6em 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#firma .about__intro {
  padding: 0 1em 3.5em 1em;
  line-height: 1.5;
  max-width: 95em;
}
#firma .about__intro p {
  font-size: 1.125rem;
  text-align: center;
  padding-bottom: 0.7em;
}
#firma .values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
}
#firma .values .value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  max-width: 70%;
}
#firma .values .value-card__icon {
  height: 3em;
  color: #183547;
}
#firma .values .value-card__title {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 550;
  color: #183547;
}
#firma .values .value-card__text {
  text-align: center;
  line-height: 1.5;
  font-size: 1.125rem;
}
#firma .values .value-card::after {
  height: 1px;
  width: 70%;
  background-color: #183547;
}

.overlay-img {
  background-image: url("../assets/bg-construction.webp");
  height: 60vh;
}

#realizacje {
  padding-top: 4em;
}
#realizacje .projects {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  max-width: 1200px;
  margin: 0 auto;
}
#realizacje .projects .project {
  width: 100%;
}
#realizacje .projects .project__thumbnail--janow {
  background-image: url("../assets/janow/janow-thumbnail.webp");
}
#realizacje .projects .project__thumbnail--bychawa {
  background-image: url("../assets/bychawa/bychawa-thumbnail.webp");
}
#realizacje .projects .project__thumbnail--turobin1 {
  background-image: url("../assets/turobin-szkola/turobin-thumbnail.webp");
}
#realizacje .projects .project__thumbnail--turobin2 {
  background-image: url("../assets/turobin-przedszkole/turobin-thumbnail.webp");
}
#realizacje .projects .project__thumbnail--bystrzyca {
  background-image: url("../assets/bystrzyca/bystrzyca-thumbnail.webp");
}
#realizacje .projects .project__thumbnail {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  width: 100%;
  height: 400px;
  position: relative;
}
#realizacje .projects .project__thumbnail::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}
#realizacje .projects .project__thumbnail:hover::after, #realizacje .projects .project__thumbnail:active::after {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}
#realizacje .projects .project__thumbnail:hover .project__caption, #realizacje .projects .project__thumbnail:active .project__caption {
  font-weight: 600;
}
#realizacje .projects .project__thumbnail .project__caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  z-index: 100;
  font-size: 1.25rem;
  line-height: 1.5;
}

#oferta {
  background-color: #183547;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5em 0;
  color: #ffffff;
}
#oferta img {
  width: 100%;
  max-width: 1000px;
  height: auto;
}
#oferta .content {
  padding: 0 2em;
}
#oferta .content h2 {
  padding-top: 1em;
  font-weight: 600;
}
#oferta .content p {
  font-size: 1.125rem;
  line-height: 1.5;
}
#oferta .content ul li {
  margin-bottom: 0.75em;
  font-size: 1.125rem;
}

.project-details {
  max-width: 2000px;
}
.project-details__bg-wrapper {
  height: 30em;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.project-details__bg-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.project-details__title {
  padding: 2em;
}
.project-details__title h1 {
  text-transform: uppercase;
  padding-bottom: 0.5em;
}
.project-details__title p {
  font-size: 1.25rem;
  color: #183547;
}
.project-details__content {
  padding: 0 2em;
  font-size: 1.125rem;
}
.project-details__content-main {
  text-transform: uppercase;
  padding-right: 0.4em;
}
.project-details__content ul li {
  margin-bottom: 0.5em;
}
.project-details__gallery {
  padding: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.project-details__gallery img {
  height: 300px;
  width: 100%;
  aspect-ratio: 1/1; /* zachowuje kwadrat */
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.project-details__gallery img:hover {
  transform: scale(1.05);
}
.project-details .overlay-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.project-details .overlay-bg-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.project-details .overlay-bg-content button {
  cursor: pointer;
  padding: 0;
}
.project-details .overlay-bg-content .close-btn {
  color: #ffffff;
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 1.9rem;
}
.project-details .overlay-bg-content__img-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-details .overlay-bg-content__img-nav .nav-btn img {
  height: 1.5em;
}
.project-details .overlay-bg-content__img-nav .overlayImage {
  max-width: 1200px;
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 10px;
}

.vertical-padding {
  padding: 3.5em 0;
}

@media (min-width: 768px) {
  #firma {
    padding: 8em 2em;
  }
  #firma .values {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
    align-items: start;
    justify-items: center;
    row-gap: 3em;
    column-gap: 2em;
  }
  #firma .values .value-card {
    max-width: 30em;
  }
  #realizacje {
    padding: 6em 0;
  }
  #realizacje .projects {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  #realizacje .projects .project {
    max-width: calc(50% - 0.25em);
  }
  .project-details .overlay-bg-content__img-nav .nav-btn img {
    height: 2em;
  }
}
@media (min-width: 1025px) {
  #firma .values {
    max-width: 70vw;
  }
  #realizacje .projects {
    gap: 1em;
  }
  #realizacje .projects .project {
    max-width: calc(33.333% - 0.67em);
  }
  #realizacje .projects .project .project__caption {
    font-size: 1.25rem;
    width: 60%;
  }
  #oferta {
    padding: 5em 2em;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 3em;
  }
  #oferta img {
    width: 70%;
  }
  #oferta .content {
    padding: 0;
  }
  #oferta .content h2 {
    padding-top: 0;
  }
}

/*# sourceMappingURL=styles.css.map */
