/*GLOBAL*/
body {
  font-family: 'Raleway', arial, helvetica, sans-serif;
  color: #0D0F42;
}
body {
  overflow-x: hidden;
}
.bg-white-mb {
  background-color: #fff;
  padding-bottom: 60px;
}
.about-container .bg-white-mb {
  padding-top: 100px;
}
a, a img, a h2, a h3, a h4, a p, .card {
  transition: all 0.3s ease-in-out; /* Łagodne przejście */
}
p {line-height: 1.5;}
.bold900 {font-weight: 900;}
#content li {margin-bottom: 7px;}
.mobile-menu li {margin-bottom: 0;}
.pagetitles {
  margin-top:50px;
  margin-bottom: 50px;
}
h2 {font-size: 32px; font-weight:700;}
h1.special, h2.special, h3.special, h4.special, h5.special, #footer-cont a  {
  font-family: 'Pacifico', cursive;
}
.hr20 {
  color: #e5e8ea;
  opacity: 1;
  max-width: 100px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.gap160 {height: 160px;}
.gap120 {height: 120px;}
.gap80 {height: 80px;}
.gap60 {height: 60px;}
.gap40 {height: 40px;}
.button-normal {
  background:#dc0000;;
  color:#fff;
  border-radius: 0;
  text-decoration: none;
  padding: 10px 18px;
  display: inline-block;
}
.button-normal:hover {
  background:#ad0000;;
  color:#fff;
}

.wpcf7 input[type=submit] {
    background: #ef7985;
    color: #fff;
    padding: 10px 25px;
    border-radius: 0px;
    box-shadow: rgba(239, 121, 133, .28) 0 0 15px;
    filter: blur(0) grayscale(0%) brightness(100%);
    display: inline-flex;
    margin-top: 30px;
    border: none;
}
.wpcf7 input[type=submit]:hover {
    text-decoration: none;
    filter: blur(0) grayscale(0%) brightness(120%);
    background: var(--wp--preset--color--red);
}
/*TOP*/
.top-bar {
  background-color: #333;
  color: #fff;
  padding: 5px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info, .top-bar-delivery {
  margin: 0;
}
.top-bar-info, .top-bar-info a {color:#0D0F42; text-decoration: none;}
.top-bar-info span {
  margin-left:20px;
}
.top-bar-delivery {
  text-align: right;
}
.top-bar-delivery a {
  text-decoration: none;
  color:#f2f2f2;
}
#wrapper-navbar {
  margin-top: 30px;
  margin-bottom: 10px;
}
.navbar-toggler {
  background-color:#000;
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  border: none;
  border-radius: 50%;
  height: 60px;
  width: 60px;
  transition: transform 0.3s ease; /* płynna animacja */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)'  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'  d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler:hover {
  transform: rotate(90deg) scale(1.1); /* obrót + lekkie powiększenie */
}
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}
.nav-link {
  color:#0D0F42;
  font-weight: 700;
  font-size: 1.4rem;
  }
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-link:hover, .nav-link:active, .current-menu-item .nav-link, .current-menu-item .nav-link, .nav-link:focus, 
.secondary-menu a:hover, .secondary-menu a:active, .current-menu-item .secondary-menu a, .current-menu-item .secondary-menu a, .secondary-menu a:focus  {
  color: var(--wp--preset--color--red);
}

.lang-item a img {width:24px !important; height: 17px !important;}
.lang-item a {padding-top:6px;}

.pll-parent-menu-item > ul {min-width: 50px;}

/*FOOTER=======================*/
#footer-cont h4 {
  color:#0D0F42;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}
#footer-cont a {
  font-size: 1.3rem;
  text-decoration: none;
  margin-right: 40px;
  color:#DCDCE2;
}
#footer-cont a:hover {
  color:var(--wp--preset--color--red);
}
#wrapper-footer .row {
  align-items: flex-end;
}
.site-info h2 {
  color:#0D0F42;
  font-size: 48px;
}

/*MOBILE MENU*/
.btn-close {
  color: #fff !important;
  margin-top: 30px;
  width: 2em;
  height: 2em;
  font-size: 28px;

}
.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}

.site-info {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #999;
}

.priv-policy {
  padding: 8px;
  text-align: right;
  font-size: 0.8rem;
}
.priv-policy a {
  text-decoration: none;
  color:#999;
}
.priv-policy a:hover {
  text-decoration: underline;
}

html, body {
  overflow-x: hidden;
}

/*ANIMACJA*/
.animowana-sekcja {
  text-align: left;
  margin: 60px auto;
  max-width: 900px;
  padding: 20px;
}

.animowana-sekcja h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #0D0F42;
}

.animowana-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animowana-lista li {
  opacity: 0;
  color: #999;
  transform: translateX(-20px); /* zmiana: z translateY na X */
  animation: fadeInItem 0.6s forwards;
}

@keyframes fadeInItem {
  to {
    opacity: 1;
    color: #0D0F42;
    transform: translateX(0); /* końcowa pozycja */
  }
}


/* DESIGN =============================================================== */
.navbar-brand img:hover {
  opacity: 0.7;
}
h2.about-title {font-size: 3rem; font-weight: 800;}
.home h5 {line-height: 1.7;}
.vertical-text {
    position:absolute;
    left: 7%;
    top: 900px;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: left center;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e9ecef;
    z-index: 10;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Raleway', sans-serif;
}

.bg-primary {background-color: #fff !important;}

.home-offer li {
  font-size: 1.2rem;
  line-height: 2.4;
  font-weight: 600;
}
/*link zobacz więcej animacja*/
.smile-link-js span {
  display: inline-block;
  transition: transform 0.4s ease;
  white-space: pre; /* zachowuje spacje */
}
/*skacząca litera*/
.skaczaca-litera {
  display: inline-block;
  animation: hop 3s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes hop {
  0%, 90%, 100% {
    transform: translateY(0);
  }
  95% {
    transform: translateY(-6px);
  }
}
/*obracająca litera*/
.obracajaca-litera {
  display: inline-block;
  animation: rotate-wink 3s ease-in-out infinite;
  animation-delay: 2s; /* opóźnienie przy pierwszym uruchomieniu */
  transform-origin: center center;
}

@keyframes rotate-wink {
  0%, 94%, 100% {
    transform: rotate(0deg);
  }
  96% {
    transform: rotate(30deg);
  }
  98% {
    transform: rotate(0deg);
  }
}
.realizacje-template-default header, .realizacje-template-default .vertical-text{
  display: none;
}
.realizacje-template-default .container {
  max-width: 100%;
}
/*Przycisk close*/
#back-btn {
  position: fixed;
    right: 50px;
    top: 50px;
}
.close-circle {
  box-shadow: 0 0 15px #eaeaea;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #000000; /* kolor tła */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* usuwa podkreślenie linka */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.close-circle i {
  font-size: 40px;
  color: #fff;
  transition: transform 0.3s ease;
}

.close-circle:hover {
  transform: scale(1.1); /* powiększenie całego przycisku */
}
.close-circle:hover i {
  transform: rotate(90deg); /* obrót ikony w prawo */
}

.realizacje-glowna .kwadrat-info .kwadrat {
  background: linear-gradient(135deg, #fff, #DCF6FF, #FED4D4);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.btn-projects {
  font-weight: bold;
}
.filter-buttons .btn-projects.active {
  color: var(--wp--preset--color--red);
  border:none;
}
.filter-buttons .btn-projects:hover {
  color: var(--wp--preset--color--red) !important;
}
.realizacja-box {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  transition: transform 0.3s ease;
  margin: 0px;
}

.realizacja-box:hover {
  transform: scale(1.02);
}

.realizacja-box .overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  mix-blend-mode: multiply;
  z-index: 1;
}

.realizacja-box:hover .overlay {
  opacity: 0.7;
}

.realizacja-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.realizacja-box p {
  margin: 0;
  font-size: 0.875rem;
}
.see-more a {
  font-size:1.8rem;
  font-weight: 700;
  text-decoration: none;
}
.see-more a:hover {
  text-decoration: underline;
}

/* O nas =================== */
.about-us-box {
  margin-top:80px;
}
.about-us-box .col {
  margin-top:20px;
}
.about-us-box p {
  margin-top:20px;
}
.about-container {
}
/* PROSTOKĄT PIONOWO STAKOWANY */
.realizacja-box.prostokat-half {
  aspect-ratio: unset;
  height: 50%;
  min-height: 336.5px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: block;
  overflow: hidden;
}

/* PAGINACJA =========================================================== */
.pagination-wrapper {
  text-align: center;
}

.page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 12px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.page-numbers:hover {
  background-color: #0d6efd;
  color: #fff;
}

.page-numbers.current {
  background-color: #0d6efd;
  color: #fff;
  font-weight: bold;
}

/* ...poprzednie reguły... */

.realizacja-box.prostokat-half {
  aspect-ratio: unset;
  flex: 1 1 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.col-lg-6.p-3.d-flex.flex-column {
  height: 0;
  flex: 1;
}

/* Zaktualizowany overlay z efektem pojawiania się na hover */

.realizacja-box .overlay-content {
  position: absolute;
  bottom: 10%;
  left: 10%;
  right: 10%;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.realizacja-box:hover .overlay-content {
  opacity: 1;
  transform: translateY(0);
}

/*LOGA*/
.lista-logo {
  max-height: 80px;
}
.logo-klienta {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-klienci-section {

}
/*Single realizacje*/
.realizacje-template-default {
  background-color: #fff;
}
.realizacja-entry, .realizacja-entry .col, .realizacja-entry .col-12 {
  margin:0;
  padding: 0;
}


.realizacja-entry img {
  object-fit: contain;
}

.realizacja-pagination a {
  text-decoration: none;
  font-weight: 600;
  color: #0D0F42;
  transition: color 0.3s ease;
}

.realizacja-pagination a:hover {
  color: #dc0000;
}
/* KONTAKT ================ */
.email-tel {font-weight: bold;}
.email-tel a {text-decoration: none; color:#0D0F42;}
.email-tel a:hover {
  text-decoration: underline;
  color: var(--wp--preset--color--red);
}
#contact-top {
  display: flex;
  align-items: center;
}

.phone-link a {
  text-decoration: none;
  color:#0D0F42;
  margin-right: 20px;
  font-weight: bold;
}
.phone-link a:hover {
    transform: scale(1.1);
    color: var(--wp--preset--color--red);
}
.contact-data {margin-top:120px;}
.contact-data p {font-size: 1.2rem;}

.fb-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
 
    font-size: 28px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

  .fb-link a:hover {
    transform: scale(1.1); /* lekkie powiększenie */
  }
    #typing {
      font-size: 48px;
      font-weight: bold;
      white-space: pre;
      padding-right: 5px;
      animation: blink 0.8s infinite; 
      margin-top:120px;
    }

    @keyframes blink {
      0% { border-color: transparent; }
      50% { border-color: black; }
      100% { border-color: transparent; }
    }

/*Mobile=============================*/
#mobile-menu {
  margin-top:40px;
} 
.offcanvas {
  background-color: #e8f9fb !important;
  width: 100% !important;
}
.btn-close-my {
  background-color: #000;     /* czarne tło */
  border-radius: 50%;         /* okrąg */
  width: 60px;
  height: 60px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 30px auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-close-my .bi-x {
  color:#fff;
  font-size: 36px;
  transition: transform 0.3s ease;
}
/* usuwamy domyślne tło "btn-close" Bootstrapa */
.btn-close-my::before,
.btn-close-my::after {
  display: none !important;
}

.btn-close-my:hover {
  transform: scale(1.1); /* powiększenie całego przycisku */
}
.btn-close-my:hover i {
  transform: rotate(90deg); /* obrót ikony w prawo */
}


#mobile-bot {display: none;}
@media (max-width: 1400px) {
  .nav-link {
    font-size: 14px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (min-width: 1500px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1410px;
  }
}
@media (min-width: 992px) {

  .navbar-expand-lg .offcanvas .offcanvas-body {
    margin-top: 28px;
  }

}
@media (max-width: 1200px) {
  .heldesk-text {border:none;}
  .secondary-menu a {
    padding: 5px 5px 16px;
    margin: 5px 8px;
    font-size: 15px;
  }
}
@media (max-width: 991px)  {
  .vertical-text {display: none;}
  .nav-link {
    font-size: 34px;
    font-weight: 800;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }
  #mobile-menu ul {font-size: 20px;}
  .menu-opisowe a {font-size: 16px; font-weight: 600;}
  li.mo1 {margin-top:30px !important;}
  .nav-tabs li.nav-item {border-right:1px solid #eaeaea;}
  #contact-top {display: none;}
  #mobile-bot {
    display: block;
    text-align: center;
  }
  #mobile-bot .phone-link {
    font-size: 1.2rem;
  }
  #mobile-bot .fb-link a {
    margin-bottom: 30px;
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  .home .container {
  padding-right: calc(var(--bs-gutter-x) * 0.75);
  padding-left: calc(var(--bs-gutter-x) * 0.75);
}
  .see-more a {font-size: 1.5rem;}
  .about-us-box {
    margin-top: 20px;
    margin-bottom:0;
  } 
  .bg-white-mb {padding-bottom: 0px;}
  .about-container .bg-white-mb {padding-top:60px; padding-bottom: 10px; padding-left:0; padding-right:0;}
  .logo-klienci-section .bg-white-mb {padding-top:0px; padding-left:0; padding-right:0;}
  h2.about-title {font-size: 2rem;}
  .contact-box {margin-bottom: 20px;}
  #home-slider .carousel-item {
    padding: 20px 0;
  }
  h3.slider-h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  }
  h2.slider-h2 {
    font-size:2.5rem;
    margin-bottom: 30px;
  }
  .carousel-control-next, .carousel-control-prev {
  width: 15%;
  }
  #typing {font-size:26px; margin-top:60px;}
  .contact-data {margin-top:60px;}
  .site-info h2 {font-size: 2rem;}
  .our-brands {text-align: center;}
}


@media (max-width: 576px) {
  .top-bar .container {
    flex-direction: column; /* Ustaw kolumnowy układ */
    align-items: flex-start; /* Wyrównaj elementy do lewej */
  }

  .top-bar-info, .top-bar-delivery {
    text-align: left; /* Wyrównanie tekstu do lewej */
    margin-bottom: 5px; /* Dodanie odstępu między wierszami */
  }
  .row>* {
    padding-right: calc(var(--bs-gutter-x)* 1.0);
    padding-left: calc(var(--bs-gutter-x)* 1.0);
  }
  .contact-box {margin-bottom: 20px;}
  .contact-us {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 40px;
  }
  .priv-policy, .site-info {text-align: center;}
  .vertical-text {
    display: block;
    transform: none !important;
    position: relative !important;
    font-size: 1.4rem !important;
    left: 5%;
    top:0px;
  }
  .animowana-sekcja {
    margin: 30px auto;
  }
  .animowana-sekcja h2 {
    font-size: 1.3rem !important;
    margin-bottom: 15px;
  }
  .home-offer li {
    font-size: 0.95rem !important;
    line-height: 2.0 !important;
  }
  .realizacja-box.prostokat-half {
    min-height: 200px !important;
  }
}