/* ===============================================
   CSS VARIABLES
   =============================================== */
:root {
  --theme-primary: #ad191c;
  --theme-secondary: #0D0106;
  --theme-accent: #6D7275;
  --theme-black: #0D0106;
  --theme-lightgrey: #F4F7F5;
  --theme-text: #0D0106;
  --container-width: 1600px;
  --font-family-primary: 'Clash Display', sans-serif;
}

/* Plus Jakarta Sans */

/* ===============================================
   RESET & BASE STYLES
   =============================================== */
html {
  font-size: 17px;
}

body {
  font-family: var(--font-family-primary);
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}

.text-center {
  text-align: center;
}

/* Hide Google reCAPTCHA badge */
.grecaptcha-badge {
  display: none !important;
}

/* Error page */
.error-404 {
  padding: 150px 0;
  text-align: center;
}

/* ===============================================
   LAYOUT
   =============================================== */

.mega-menu-item > div,
.container, .elementor-section-boxed > .elementor-container {
  max-width: var(--container-width)!important;
}

.mega-menu-item > div{
  padding-left: 15px;
  padding-right: 15px;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */

/* Links */
a {
  color: var(--theme-primary);
  transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
  color: var(--theme-primary);
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
}

/* Responsive heading sizes */
.h1,
h1 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 2.5rem;
  }
}

.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2rem;
  }
}

.h3,
h3 {
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 1.75rem;
  }
}

.h4,
h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.5rem;
  }
}

.h5,
h5 {
  font-size: 1.25rem;
}

.h6,
h6 {
  font-size: 1rem;
}




/* ===============================================
   COMPONENTS
   =============================================== */

/* Buttons */

.btn-wrapper {
  display: inline-flex;
  align-items: center;
}


.button {
  display: inline-block;
  color: #FFF;
  background: var(--theme-black);
  padding: 20px 55px;
  line-height: 1;
  min-width: 180px;
  position: relative;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden ;
  font-size: 0.875rem;
}

.button-shadow{
    box-shadow: 0 0 50px rgba(0,0,0,0.3)!important;
}

.button .button-text {
  position: relative;
}

.button::before {
  content: "";
  display: block;
  width: 100%;
  height: 200%;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(.7)translateY(55%);
  background: var(--theme-primary);
  border-radius: 100%;
  transition: all .25s cubic-bezier(0,0,.31,.99);
}

.button:hover::before {
  transform: scaleX(2)scaleY(1)translateY(-15%);
}

.button.button-header{
  margin-left: 30px!important;
}

.button.button-red{
  background-color: var(--theme-primary);
  color: #FFF;
}



.button.button-red::before,
.button.button-header::before{
  background-color: var(--theme-black);
}


.button-alt{
  display: block;
  color: var(--theme-black);
  font-weight: 600;
  margin-right: 10px;
  border-bottom: 1px solid;
  padding: 10px 0;
}

.button-alt.text-white{
  color: #FFF;
  border-color: #FFF;
}

.buuton-alt.text-white:hover{
  color: #FFF;
}

.circle-arrow-btn-alt{
  font-size: 11px;
  color: var(--theme-black);
}

.arrow-text-white{
  color: #FFF;
}

.circle-arrow-btn {
  color: #FFF;
  background: var(--theme-black);
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border-radius: 50%;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: ;
}

.circle-arrow-btn.arrow-button-white{
  background: #FFF;
  color: var(--theme-black);
}

.circle-arrow-btn:hover,
.circle-arrow-btn:focus {
  color: #FFF;
  background: var(--theme-primary);
  text-decoration: none;
}

.button.button-blue .circle-arrow-btn {
  background: var(--theme-primary);
  color: #FFF;
}



.button:hover,
.button:focus {
  color: #FFF;
  text-decoration: none;
}

.button.button-outline {
  background: transparent;
  border: 1px solid var(--theme-primary);
  color: var(--theme-black);
}

.button.button-text-white{
  color: #FFF;
}

.button.button-outline:hover,
.button.button-outline:focus {
  background: #040303;
  color: #FFF;
}

.button.button-red{
    background: var(--theme-primary);
    color: #FFF;
}

.button.button-red:after{
    background: #FFF;
}

.circle-arrow-btn.arrow-button-outline{
    background: transparent;
  border: 1px solid var(--theme-black);
  color: var(--theme-black);
}

.button.button-white {
  background: #FFF!important;
  color: var(--theme-black)!important;
}

.button.button-white:hover,
.button.button-white:focus {
  background: var(--theme-primary);
  color: #FFF!important;
}

.button .icon-arr {
  font-size: 70%;
}

.btn-align-right {
  text-align: right;
}

.btn-align-left {
   text-align: left;
}

.btn-align-center {
   text-align: center;
}





/* ===============================================
   SWIPER SLIDER
   =============================================== */
.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
}

.swiper-pagination-bullet-active {
  background: var(--theme-primary);
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  cursor: pointer;
  color: #fff;
}

/* Custom navigation buttons */
.button-prev,
.button-next {
  position: absolute;
  bottom: 0;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  z-index: 3;
  text-align: center;
}

.button-prev::before,
.button-next::before {
  content: '';
  display: block;
  background: #D2D7DF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: #FFF;
  position: absolute;
  top: 0;
  z-index: -1;
  transition: background 0.3s ease;
}

.button-prev:hover::before,
.button-next:hover::before {
  background: var(--theme-primary);
}

.button-prev::before {
  left: 0;
}

.button-next::before {
  right: 0;
}

.button-prev svg,
.button-next svg {
  fill: #fff;
}

.button-prev {
  right: 70px;
}

.button-prev svg {
  margin-right: -15px;
}

.button-next {
  right: 15px;
}

.button-next svg {
  margin-left: -15px;
}

/* Forms */

.wpcf7-submit{
  border: none;
}

.wpcf7-submit:hover{
  background-color: var(--theme-primary);
}

.wpcf7-form-control-wrap {
  margin-bottom:15px;
  display:block
}
.form-control::placeholder {
  color:var( --e-global-color-accent );
  opacity:1;
  font-weight:400
}
.form-control {
  color:var( --e-global-color-accent );
  font-weight:400;
  border-radius:0;
  border:none;
  background-color: transparent;
  border-bottom: 1px solid var(--theme-primary);
  padding:15px 0;
  height:auto
}

textarea.form-control {
  height:90px
}

.form-control:focus {
  box-shadow:none;
  border-color:var(--theme-primary)
}
.wpcf7 form .wpcf7-response-output {
  padding:20px
}
.wpcf7-acceptance {
  font-size:14px
}

/* Elementor 50% seciton */

.half-section .half-column-left{
  padding-left: calc( (100vw - var(--container-width)) / 2);
}

.half-section .half-column-right{
  padding-right: calc( (100vw - var(--container-width)) / 2);
}

.half-section-image{
  min-height: 550px;
}



@media (max-width: 991px) {
  .half-section-image{height: 500px !important; min-height: 500px;}
  
}

@media (max-width: 575px) {
  .half-section-image{height: 380px !important; min-height: 300px;}
}

/* Elementor bg grow animation */

/* Animation for bg */
.half-section-image,
.background-grow{
  overflow: hidden;
}

.zoomIn {
  animation-name: noneAnim!important;
}


@keyframes scaleImg {
 0%   {
  transform: scale(1.25);
 }
 100% {
     transform: scale(1);
 }
}

.half-section-image.animated .elementor-widget-wrap,
.background-grow.animated .elementor-widget-wrap{
  animation-name: scaleImg;
  animation-timing-function: cubic-bezier(.1,.55,.4,1);
  animation-duration: 2.5s;
}




/* Custom */

/* Section title */

.after-line {
  position: relative;
  display: inline-block;
}

.text-primary{
  color: var(--theme-primary);
}

.text-white{
  color: #FFF;
}

.text-bold{
  font-weight: 500;
}

.after-line::after {
  content: '';
  width: 42px;
  height: 1px;
  background-color: currentColor;
  display: inherit;
  margin-bottom: 5px;
  margin-left: 10px;
}

.icon-block{
  position: relative;
}


.icon-block::after {
  content: '\e812';
  position: absolute;
  width: 58px;
  height: 58px;
  font-variant: normal;
  text-transform: none;
  font-family: "pueoiconpack";
  font-style: normal;
  font-weight: normal;
  speak: never;
  text-align: center;
  line-height: 38px;
  border-radius: 20px;
  bottom: -10px;
  font-size: 11px;
  right: -10px;
  background-color: #1f1f1f;
  color: #FFF;
  border: 10px solid var(--theme-black);
  transition: all 0.3s ease;
}

.animate-arrow .icon-arr{
  position: relative;
}

.animate-arrow .icon-arr:after,
.animate-arrow .icon-arr:before{
  transition: all 0.3s ease;
}

.animate-arrow .icon-arr:after{
  content: '\e812';
  font-family: "pueoiconpack";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-150%, 50%);
  opacity: 0;
}

.animate-arrow:hover .icon-arr:after{
    opacity: 1;
    transform: translate(-50%, -50%);
}

.animate-arrow:hover .icon-arr:before{
    transform: translate(20%, -50%);
    opacity: 0;
}

.overlay-link{
  position: absolute;
  top: 0;
  display: block;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}




.blurred-footer-text{
    display: inline-block;
    width: 275px;
    text-align: left;
    backdrop-filter: blur(20px);
    background: linear-gradient(140deg,rgb(255 255 255 / .08) 0%,rgb(255 255 255 / .1) 100%);
    padding: 30px;
    font-size: 1.125rem;
    border-radius: 5px;
    color: #FFF;
    font-weight: 300;
}

.blurred-footer-text .icon-arr{
    color: var(--theme-text);
    background: #FFF;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    font-size: 11px;
    margin-top: 20px;
    border-radius: 50%;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

.elementor .map-popup-content .portfolio-link{
    background-color: var(--theme-primary);
    color: #FFF;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.map-popup-content{
  font-size: 18px;
  color: var(--theme-text);
  font-family: var(--font-family-primary)!important;
}

.elementor .map-popup-content .portfolio-link:hover{
    background-color: var(--theme-black);
    color: #FFF;
}

.height-100{
    height: 100%;
}

.error-404 h1{
    font-size: 49px;
    font-weight: 200;
    margin-bottom: 20px;
}

.small-logo-gallery .gallery-item img{
  height: 42px;
  width: auto;
}

.breadcrumbs-black a,
.breadcrumbs-black{
  color: var(--theme-black);
  font-weight: 400;
  font-size: 20px;
}

.archive-post.realizacja-post{
  background-color: #f5f4f4;
  padding-bottom: 30px;
  border-radius: 20px;
}

@media (max-width: 575px) {
  .small-logo-gallery .gallery-item{
    width: 33.33333%!important;
  }

  .small-logo-gallery .gallery-item img{
    height: 28px;
    width: auto;
  }

  .breadcrumbs-black a,
  .breadcrumbs-black{
    font-size: 16px;
  }

}





/* ===============================================
   MASONRY GALLERY
   =============================================== */

/* Reset wszystkich domyślnych stylów galerii */
.my-masonry-gallery .elementor-image-gallery,
.my-masonry-gallery .elementor-gallery {
  display: block !important;
  columns: 3 !important;
  column-gap: 15px !important;
  flex-wrap: nowrap !important;
}

.my-masonry-gallery .gallery-item,
.my-masonry-gallery .elementor-gallery-item {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 !important;
  break-inside: avoid !important;
  page-break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  float: none !important;
  vertical-align: top !important;
  flex: none !important;
  grid-column: unset !important;
  grid-row: unset !important;
}

.my-masonry-gallery .gallery-icon,
.my-masonry-gallery .elementor-gallery-item__content {
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.my-masonry-gallery .gallery-icon a,
.my-masonry-gallery .elementor-gallery-item__content a {
  display: block;
  line-height: 0;
}

.my-masonry-gallery .gallery-icon img,
.my-masonry-gallery .elementor-gallery-item__content img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.my-masonry-gallery .gallery-icon:hover img,
.my-masonry-gallery .elementor-gallery-item__content:hover img {
  opacity: 0.9;
}

/* Responsive breakpoints */
@media (max-width: 991px) {
  .my-masonry-gallery .elementor-image-gallery,
  .my-masonry-gallery .elementor-gallery {
    columns: 2 !important;
    column-gap: 15px !important;
  }
  
}

@media (max-width: 575px) {
  .my-masonry-gallery .elementor-image-gallery,
  .my-masonry-gallery .elementor-gallery {
    columns: 2 !important;
    column-gap: 15px !important;
  }
  
}




/* ===============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =============================================== */


/* Large Desktop - 1700px */
@media (max-width: 1700px) {

  html{font-size: 16px;}
  :root {
    --container-width: 1380px;
  }

  .button{
    padding: 18px 50px;
  }

}

/* Large Desktop - 1440px */
@media (max-width: 1440px) {
  :root {
    --container-width: 1320px;
  }
  .offcanvas-body { padding: 55px 0 55px 0;}
  .offcanvas-widgets .menu li a {font-size: 30px;}
}

/* Desktop - 1350px */
@media (max-width: 1350px) {
  :root {
    --container-width: 1280px;
  }
}

/* Medium Desktop - 1300px */
@media (max-width: 1300px) {
  :root {
    --container-width: 1200px;
  }
}

/* Tablet - 1200px */
@media (max-width: 1200px) {

}

/* Small Tablet - 991px */
@media (max-width: 991px) {
  
}

/* Mobile Landscape - 767px */
@media (max-width: 767px) {

}


/* Mobile Portrait - 575px */
@media (max-width: 575px) {
   .button {
    padding-left: 30px;
    padding-right: 30px;
   }
}

/* Small Mobile - 400px */
@media (max-width: 400px) {

}



/* Replacing anims for elementor */

@keyframes fadeInUpAos {
  from {
    opacity:0;
    -webkit-transform: translate3d(0,100px,0);
    transform: translate3d(0,100px,0);
  }
  to {
    opacity:1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
}
.fadeInUp {
  animation-name:fadeInUpAos!important;
}

.fadeInUp.animated{
    animation-duration: 0.5s!important;
}

.fadeInDown,
.fadeInRight,
.fadeInLeft{
    opacity: 0;
}


.elementor-editor-active .fadeInDown,
.elementor-editor-active .fadeInRight,
.elementor-editor-active .fadeInLeft{
    opacity: 1;
}


.fadeInLeft{
    animation: img-anim-left 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s!important;
}


.fadeInRight{
    animation: img-anim-right 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s!important;
}

.fadeInDown{
     animation: img-anim-top 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s!important;
}


 /* Animations */

  .img-custom-anim-right {
    animation: img-anim-right 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
    opacity: 0;
  }

  @keyframes img-anim-right {
    0% {
      transform: translateX(5%);
      clip-path: inset(0 0 0 100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }
  }
  .img-custom-anim-left {
    animation: img-anim-left 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
    opacity: 0;
  }

  @keyframes img-anim-left {
    0% {
      transform: translateX(-5%);
      clip-path: inset(0 100% 0 0);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }
  }
  .img-custom-anim-top {
    animation: img-anim-top 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1);
    opacity: 0;
  }

  @keyframes img-anim-top {
    0% {
      transform: translateY(-5%);
      clip-path: inset(0 0 100% 0);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }
  }


