/* ===============================================
   CSS VARIABLES
   =============================================== */
:root {
  --theme-primary: #00521f;
  --theme-secondary: #00521f;
  --theme-accent: #3C3C3C;;
  --theme-black: #1e1e1e;
  --theme-logo-grey: #2e3336;
  --theme-lightgrey: #f5f4f4;
  --theme-text: #1e1e1e;
  --theme-silver: #ACBDBA;
  --container-width: 1400px;
  --theme-font-heading: "Bricolage Grotesque", sans-serif;
  --theme-font-default: "Bricolage Grotesque", sans-serif;
}

/* Plus Jakarta Sans */

/* ===============================================
   RESET & BASE STYLES
   =============================================== */
html {
  font-size: 16px;
}

body {
  font-family: var(--theme-font-default);
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}

.text-primary {
    color: var(--theme-primary) !important;
}

.text-secondary {
    color: var(--theme-secondary) !important;
}

#site-main-container{
  position: relative;
  z-index: 0;
  width: 100%;
  overflow: hidden;
}

.site-main-container__inner{
  position: relative;
  z-index: 1;
}

.site-main-container__footer{
  position: relative;
  z-index: 0;
}

.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-family: var(--theme-font-heading);
  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;
  }
}

h1.elementor-heading-title,
.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
   h1.elementor-heading-title,
  .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;
}

.hover-text-white:hover {
  color: #FFF;
}

.elementor-element.flex-height-100 {
  height: 100%;
  display: flex;
  align-items: center;
    justify-content: center;
}


/* ===============================================
   COMPONENTS
   =============================================== */

/* Buttons */

.btn-wrapper {
  display: inline-flex;
  align-items: center;
}


.button {
  display: inline-block;
  color: #FFF;
  background: var(--theme-secondary);
  padding: 13px 30px;
  line-height: 1;
  min-width: 200px;
  position: relative;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.button.button-transparent{
    padding-left: 0;
    padding-right: 0;
    font-weight: 400;
    min-width: 50px;
}

.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-silver);
  border-radius: 100%;
  transition: all .25s cubic-bezier(0,0,.31,.99);
}

.button:hover::before {
    transform: scaleX(2)scaleY(1)translateY(-15%);
} 

.button-alt{
  display: inline-block;
  color: var(--theme-secondary);
 font-weight: 600;
  padding: 0px 0;
}

.button-alt:hover{
  color: var(--theme-silver);
  text-decoration: none;
}


.button-alt.text-white{
  color: #FFF;
  border-color: #FFF;
}

.buuton-alt.text-white:hover{
  color: #FFF;
}

.circle-arrow-btn-alt{
  font-size: 8px;
  color: var(--theme-black);
}

.arrow-text-white{
  color: #FFF;
}

.circle-arrow-btn {
  color: #FFF;
  background: var(--theme-black);
  width: 45px;
  height: 45px;
  margin-left: -7px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  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;
}

.circle-arrow-white{
  color: var(--theme-black);
  background: #FFF;
}



.button:hover,
.button:focus {
  color: #FFF;
  text-decoration: none;
}

.button.button-outline {
  background: transparent;
  padding-top: 15px;
    padding-bottom: 15px;
  border: 1px solid var(--theme-black);
  color: var(--theme-black);
}

.button.button-outline:hover,
.button.button-outline:focus {
  border-color: var(--theme-primary);
  color: #FFF;
}

.circle-arrow-btn.arrow-button-outline{
    background: transparent;
    margin-left: 0;
  border: 1px solid var(--theme-black);
  color: var(--theme-black);
}

.button.button-white {
  background: #FFF;
  color: var(--theme-black);
}

.button.button-white:hover,
.button.button-white:focus {
  background: var(--theme-primary);
  color: #FFF;
}

.button .icon-arr {
  font-size: 70%;
}

.btn-align-right {
  text-align: right;
}

.btn-align-left {
   text-align: left;
}

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

.footer-widgets .phone-number{
  color: #FFF;
  font-size: 18px;
}

/* Animated arrow */

.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;
}



/* ===============================================
   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;
  padding: 17px 0;
  border-radius: 20px;
  min-width: 240px;
}
.wpcf7-submit[disabled]:hover,
.wpcf7-submit[disabled]{
  background: #aaaaaa;
  color: #FFF;
  cursor: not-allowed;
}

.wpcf7-submit:hover{
  background-color: var(--theme-primary);
}

.wpcf7-form-control-wrap {
  margin-bottom:15px;
  display:block
}

.privacy-form .wpcf7-form-control-wrap{
    margin-bottom: 0;
    font-size: 12px;
    color: #888;
}

.form-control::placeholder {
  opacity:1;
  font-weight:400
}
.form-control {
  color: var(--theme-black);
  font-weight:400;
  border-radius:10px;
  border-color: #fff;
  padding:15px;
  height:auto;
  background: #f5f4f4;
}
.form-control:focus {
  box-shadow:none;
  border-color:var(--theme-primary)
}
.wpcf7 form .wpcf7-response-output {
  padding: 20px;
  border-radius: 20px;
  border-width: 1px;
}
.wpcf7-acceptance {
  font-size:13px
}

.wpcf7 form textarea{
  height: 150px;
}

.form-title{
  font-family: var(--theme-font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  display: block;
  margin-top: 30px;
}

.form-option-centered{
  margin-top: 15px;
  display: block;
}

/* Konfigurator CSS */

/* Balustrade Selector Styles */
.balustrade-selector {
    margin: 20px 0;
}

.balustrade-selector input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.balustrade-selector .balustrade-option {
    display: block;
    position: relative;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
    margin: 0;
}

.balustrade-selector .balustrade-option:hover {
    border-color: #999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.balustrade-selector .balustrade-option img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.balustrade-selector .balustrade-label {
    display: block;
    padding: 15px;
    font-weight: 500;
    font-family: var(--theme-font-heading);
    text-align: center;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    color: #FFF;
    transition: all 0.3s ease;
}

.balustrade-selector .balustrade-option .checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #0044a3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Klasa aktywna dodawana przez JavaScript */
.balustrade-selector .balustrade-option.selected {
    border-color: #0044a3 !important;
    box-shadow: 0 0 0 4px rgba(0, 68, 163, 0.2),
                0 8px 20px rgba(0, 68, 163, 0.3) !important;
}

.balustrade-selector .balustrade-option.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 68, 163, 0.1);
    pointer-events: none;
    z-index: 1;
}

.konfigurator-selected + img{
    border-color: #0044a3 !important;
     box-shadow: 0 0 0 4px rgba(0, 68, 163, 0.2),
                0 8px 20px rgba(0, 68, 163, 0.3) !important;
}

.g-3 .col-md-4{
    margin-bottom: 30px;
}

/* Responsywność */
@media (max-width: 767px) {
    .balustrade-selector .balustrade-option img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .balustrade-selector .balustrade-option img {
        height: 220px;
    }
}

/* Elementor 50% seciton */

.half-section .half-column-left{
  padding-left: calc( (100vw - var(--container-width)) / 2);
  overflow: hidden;
}

.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 */

.elementor .ti-widget.ti-goog .ti-review-item > .ti-inner, .ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
  border: none!important;
  border-radius: 0 !important;
}

.section-subtitle span{
  display: block;
  margin-bottom: 30px;
  font-family: var(--theme-font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-accent);
  position: relative;
  padding-left: 50px;
}

.section-subtitle span.text-white{
  color: #FFF;}

.section-subtitle span::before{
 content: '';
  width: 25px;
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  height: 2px;
  background: currentColor;
}

.color-primary{
  color: var(--theme-primary);
}

.before-icon{
  position: relative;
  display: inline-block;
  z-index: 1;
}

.before-icon img{
  filter: invert(100);
  opacity: .5;
}

.before-icon:before{
  content: '';
  width: 64px;
  height: 64px;
  background: #121212;
  position: absolute;
  left: 15px;
  top: 0;
  border-radius: 50%;
  z-index: -1;
}

.elementor-custom-embed-play svg{
  width: 30px;
}

.elementor-custom-embed-play:before{
  position: absolute;
  content: "";
  height: 160px;
  width: 160px;
  border: 1px solid rgba(255,255,255,.11);
  top: 50%;
  left: -65px;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,.36);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  opacity: .95;
  -ms-opacity: .95;
  -o-opacity: .95;
  -moz-opacity: .95;
  -webkit-opacity: .95;
  filter: alpha(opacity=95);
  z-index: 0;
}

/* .elementor-custom-embed-play:after{
  border-radius: 200%;
  content: "";
  position: absolute;
  z-index: -1;
  height: 160px;
  width: 160px;
  top: 50%;
  left: -65px;
  transform: translateY(-50%);
  transform: scale(1);
  pointer-events: none;
  animation: lexus-scale 2s infinite;
  box-shadow: 0 0 0 1px #fff;
} */


.social-icons.social-icons-invert a{
  background: #CCC;
  color: #444;

}

.social-icons.social-icons-invert a:hover{
  background: var(--theme-primary);
  color: #FFF;  
}

.breadcrumbs a{
  color: var(--theme-accent);
  transition: color 0.3s ease;
}

/* Styled vertical menu */

.styled-vertical-menu ul{
  list-style: none;
  padding: 15px 25px;
  background-color: var(--theme-silver);
  margin: 0;
  position: sticky;

}

.styled-vertical-menu ul li{
  border-bottom: 1px solid var(--theme-silver);
}

.styled-vertical-menu ul li a{
  display: block;
  padding: 15px 0;
  color: var(--theme-accent);
  font-weight: 500;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.styled-vertical-menu ul li a:hover{
  color: var(--theme-primary);
  text-decoration: none;
}

.pochwyt .elementor-image-box-content{
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 575px) {
  .pochwyt .elementor-image-box-content{
    padding-top: 30px;
  }

  .min-450{
    height: 450px !important;
  }
}

.archive-header .breadcrumbs{
  margin-top: 15px;
}


.archive-header .breadcrumbs,
.elementor-widget-container .breadcrumbs{
    color: #FFF;
}

.archive-header .breadcrumbs a,
.elementor-widget-container .breadcrumbs a{
    color: #FFF;
}

.archive-header .container,
.container.blog-paddings{
  padding: 0 50px;
  max-width: 100% !important;
}

.block-hvr-primary .elementor-image-box-img img{
    transition: transform 0.3s ease;
}

.block-hvr-primary:hover .elementor-image-box-img img{
    filter: brightness(100) grayscale(100); 
}

.block-hvr-primary{
    transition: background 0.3s ease;
}

.block-hvr-primary:hover{
    color: #FFF;
    background: var(--theme-primary)!important;
}

.height-100.hover-text-white{
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ===============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =============================================== */


/* Large Desktop - 1600px */
@media (max-width: 1600px) {

  html{font-size: 15px;}
  :root {
    --container-width: 1300px;
  }

}

/* Large Desktop - 1400px */
@media (max-width: 1400px) {
  :root {
    --container-width: 1200px;
  }
  .offcanvas-body { padding: 55px 0 55px 0;}
  .offcanvas-widgets .menu li a {font-size: 30px;}
}

/* Desktop - 1350px */
@media (max-width: 1350px) {
  /* Add styles for 1350px breakpoint if needed */
}

/* Medium Desktop - 1300px */
@media (max-width: 1300px) {
  /* Add styles for 1300px breakpoint if needed */
}

/* Tablet - 1200px */
@media (max-width: 1200px) {
  .min-h-img{height: 400px !important; min-height: 400px;}
}

/* Small Tablet - 991px */
@media (max-width: 991px) {
  
}

/* Mobile Landscape - 767px */
@media (max-width: 767px) {
    .archive-header .breadcrumbs,
    .elementor-widget-container .breadcrumbs{
        font-size: 12px;
        line-height: 1.5;
    }

    .archive-header .container,
    .container.blog-paddings{
      padding: 0 15px;
    }
}


/* Mobile Portrait - 575px */
@media (max-width: 575px) {
   
}

/* 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) 0s!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;
    }
  }


