/*
Theme Name: Lukas
Theme URI: https://rezultsoftware.com
Author: Julian Lewandowski - infele.pl
Author URI: https://infele.pl
Description: Motyw strony internetowej dla trenera personalnego
Version: 1.0
*/

/* CZCIONKI */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

/* Template */
html,
body {
  font-family:
    "Syne",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  color: #ffffff;
  margin: 0;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  min-height: 80vh;
}

@media (min-width: 768px) {
  body {
    background: #212121 url("assets/img/bg.webp") no-repeat center top;
    background-size: cover;
    /* Tło dopasowane do rozmiaru ekranu */
    background-position: center;
    /* Wycentrowanie tła */
    background-attachment: fixed;
    /* Ustawienie tła na stałe podczas przewijania */
    background-repeat: no-repeat;
  }
}

@media (max-width: 768px) {
  body {
    background: #212121;
    position: relative;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url("assets/img/bg-mob.webp") no-repeat left top;
    background-size: cover;
    z-index: -1;
    pointer-events: none; /* Zapewnia możliwość interakcji z zawartością strony */
  }
}
body.woocommerce-cart::before,
body.woocommerce-checkout::before,
body.woocommerce-account::before,
body.woocommerce-page::before,
.page-id-347::before,
.page-id-474::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("assets/img/bg-shop.webp") no-repeat left top;
  background-size: cover;
  z-index: -1;
  pointer-events: none; /* Zapewnia możliwość interakcji z zawartością strony */
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.woocommerce-page,
.page-id-347,
.page-id-999 {
  background: #333333 url("assets/img/bg-shop.webp") no-repeat center top !important;
  /* Opcjonalnie: dodaj obraz tła */
  background-size: cover !important;
  background-attachment: fixed !important;
  /* Dopasuj obraz tła */
  background-repeat: no-repeat !important;
  background-position: center !important;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account,
body.woocommerce-page,
.page-id-474,
.page-id-347,
.page-id-999 {
  margin-top: 150px;
}

html {
  scroll-behavior: smooth;
}

main {
  flex: 1;
  overflow: hidden;
}

@media (min-width: 1200px) {
  main {
    scroll-snap-type: y mandatory;
    /*         overflow-y: scroll; */
    /*         height: 100vh; */
    /* Ustawia widok na pełną wysokość okna */
  }

  .main-section {
    /*         height: 100vh; */
    scroll-snap-align: start;
  }
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

footer {
  padding-top: 50px;
  z-index: 10;
  color: #969696;
}

footer .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

@media (max-width: 1024px) {
  footer .wrapper {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
footer.homepage-footer {
  background: rgba(0, 0, 0, 0.5);
}

#react-menu {
  z-index: 50;
}

#react-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  opacity: 0; /* Gradient jest domyślnie niewidoczny */
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none; /* Aby gradient nie przeszkadzał w interakcji */
}

#react-menu.show-gradient::before {
  z-index: -1;
  opacity: 1; /* Gradient pojawia się, gdy dodamy klasę */
}

nav > div.bottom-0.flex.flex-col.gap-\[77px\] {
  gap: 20px;
}

nav
  > div.bottom-0.flex.flex-col.gap-\[77px\]
  > div.flex.justify-between.lg\:w-auto.w-\[350px\].px-4.items-center {
  margin-bottom: 50px !important;
}

.p-28 {
  padding: 28px;
}

/* METAMORFOZY */
.transformations-container {
  position: relative;
  max-width: 100%;
  /* Szerokość kontenera */

  overflow: hidden;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  /* Dostosuj szerokość kontenera slidera */
}

/* Stylizacja dla desktopu */
.slider {
  display: flex;
  transition: transform 0.3s ease;
  width: 1000%;
  /* Zmienia się w zależności od liczby elementów */
}

.slider > .coca-bais-shortcode {
  width: 312px;
  min-width: 312px;
  max-width: 360px;
  margin-right: 10px;
  /* Wyświetlaj 3 elementy naraz na szerokim ekranie */
}

.coca-image-compare-horizontal .coca-image-compare-after-label::before {
  content: "Po";
  padding: 0 15px !important;
  height: 21px;
  width: 52px;
  background: #ffffff;
  color: #aa9968;
  line-height: 21px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: "Syne";
  right: 0 !important;
  top: 0 !important;
  margin: 0 !important;
}

.coca-image-compare-horizontal {
  padding: 10px;
}

.coca-image-compare-horizontal .coca-image-compare-before-label::before {
  content: "Przed";
  padding: 0 15px !important;
  height: 21px;
  width: 52px;
  background: #ffffff;
  color: #aa9968;
  line-height: 21px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: "Syne";
  left: 0 !important;
  top: 0 !important;
  margin: 0 !important;
}

img.attachment-full.size-full.coca-bais-image.coca-image-compare-after {
  height: 100%;
}

@media (max-width: 768px) {
  .coca-bais-shortcode {
    transform: scale(0.8);
    margin-top: -50px;
    margin-bottom: -50px;
  }
}

.sukcesy-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.prev-button {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in;
  width: 69px;
  height: 69px;
  border-radius: 100%;
  border: 2px solid #c50100;
}

.prev-button:hover,
.next-button:hover {
  background: #c50100;
}

.next-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 5px;
  gap: 10px;
  transition: all 0.2s ease-in;
  height: 69px;
  border-radius: 90px;
  border: 2px solid #c50100;
  font-size: 20px;
  font-weight: medium;
}

.next-button .img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 57px;
  height: 57px;
  border-radius: 100%;
  background: #c50100;
}

@media (max-width: 768px) {
  .prev-button {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in;
    width: 37px;
    height: 37px;
    border-radius: 100%;
    border: 2px solid #c50100;
  }

  .next-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 15px;
    padding-right: 5px;
    gap: 10px;
    transition: all 0.2s ease-in;
    height: 37px;
    border-radius: 90px;
    border: 2px solid #c50100;
    font-size: 12px;
    font-weight: medium;
  }

  .prev-button img,
  .next-button img {
    width: 6px;
    height: 7px;
  }

  .next-button .img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    border-radius: 100%;
    background: #c50100;
  }
}

.button-double {
  background: #c50100;
}

.button-double::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 37px;
  height: 37px;
  border: 2px solid #c50100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.button-prev {
  transform: translateX(4px) translateY(-12px) !important;
  cursor: pointer;
}

.button-next {
  transform: translateX(-4px) translateY(-12px) !important;
  cursor: pointer;
}

.button-next::before,
.button-prev::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid #c50100;
  border-radius: 50%;
  transform: translate(-50%, -17px);
  z-index: -1;
}

@media (min-width: 768px) {
  .button-double::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    border: 2px solid #c50100;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
}

@media (min-width: 400px) and (max-width: 765px) {
  .button-prev {
    transform: translateX(-13px) translateY(-12px) !important;
    cursor: pointer;
  }

  .button-next {
    transform: translateX(13px) translateY(-12px) !important;
    cursor: pointer;
  }

  .button-next::before,
  .button-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    border: 2px solid #c50100;
    border-radius: 50%;
    transform: translate(-50%, -17px);
    z-index: -1;
  }
}

@media (min-width: 768px) {
  .button-prev {
    transform: translateX(-30px) translateY(-50%) !important;
    cursor: pointer;
  }

  .button-next {
    transform: translateX(30px) translateY(-50%) !important;
    cursor: pointer;
  }

  .button-next::before,
  .button-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 69px;
    height: 69px;
    border: 2px solid #c50100;
    border-radius: 50%;
    transform: translate(-51%, -50%);
    z-index: -1;
  }
}

/* Sukcesy */

.mySwiper {
  width: 100%;
  height: 100%;
  /* Możesz dostosować wysokość */
  margin-bottom: 200px;
}

.sukcesy-icon {
  width: 58px;
  height: 58px;
}

/* REZULT */

.rezult-trening-text,
.rezult-dieta-text,
.rezult-raporty-text,
.rezult-suple-text,
.rezult-czat-text {
  position: relative;
  overflow: hidden;
}

.kt-row-column-wrap > .rezult-trening img,
.kt-row-column-wrap > .rezult-dieta img,
.kt-row-column-wrap > .rezult-raporty img,
.kt-row-column-wrap > .rezult-suple img,
.kt-row-column-wrap > .rezult-czat img {
  height: 58px;
}

.rezult-trening ::before,
.rezult-dieta ::before,
.rezult-raporty ::before,
.rezult-suple ::before,
.rezult-czat ::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 70%,
    rgba(255, 0, 0, 0.6) 100%
  );
  pointer-events: none;
  /* Gradient nie przeszkadza w interakcji */
}

.kb-img.wp-image-168,
.kb-img.wp-image-167,
.kb-img.wp-image-169,
.kb-img.wp-image-170,
.kb-img.wp-image-171,
.kb-img.wp-image-172,
.kb-img.wp-image-173 {
  min-height: 58px;
}

.event-text-container {
  min-height: 130px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  background-color: #aa9968;
  z-index: 999;
}

/* OFERTA */

.offer-button .kb-svg-icon-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #c50100;
  width: 34px;
  height: 34px;
  border-radius: 100%;
}

/* KONTAKT */

/* Ustawienie pól Imię i Nazwisko obok siebie */
.wpcf7-form p:nth-of-type(1) {
  display: flex;
  gap: 8px;
  /* Odstęp między polami */
}

/* Ustawienie pól Email i Telefon obok siebie */
.wpcf7-form p:nth-of-type(2) {
  display: flex;
  gap: 8px;
  /* Odstęp między polami */
}

/* Ustawienie pól na równą szerokość */
.wpcf7-form-control-wrap {
  flex: 1;
  /* Każde pole zajmuje równą szerokość */
}

/* Stylizacje dla pól formularza */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  /* Pola w form-row zajmują całą szerokość kontenera flex */
  padding: 15px;
  margin-top: 15px;
  background-color: #ffffff;
  color: #aa9968;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid transparent;
  font-size: 12px;
}

.wpcf7-form-control:focus {
  outline: none;
  border: 2px solid #c50100;
}

/* Przycisk wysyłania */
.wpcf7-submit {
  background-color: #c2a05f;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  /* Zaokrąglony przycisk */
  font-size: 18px;
  cursor: pointer;
  display: block;
  margin: 20px auto;
  /* Wycentrowanie przycisku */
}

#wpcf7-f304-p8-o1 .wpcf7-list-item-label {
  font-size: 12px;
  line-height: 14px;
}

/* Przesunięcie linku WIĘCEJ
.wpcf7-form-control-wrap+a {
    position: relative;
    top: -24px;
    left: 365px;
    font-size: 14px;
    color: #c2a05f;
    text-decoration: none;
}

.wpcf7-form-control-wrap+a:hover {
    text-decoration: underline;
} */

.wpcf7-form a {
  font-weight: 700;
  font-size: 12px;
  color: #aa9968;
  margin-left: 15px;
}

.woocommerce-variation-availability {
  display: none;
}

.content-single-product-details .wc-price-history {
  margin-bottom: 15px;
}

/* SUPPORT */

.support-swiper {
  max-width: 300px;
}

@media (min-width: 640px) {
  .support-swiper {
    max-width: 100%;
  }
}

.support-next::before,
.support-prev::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid #c50100;
  border-radius: 50%;
  transform: translate(-50%, -17px);
  z-index: -1;
}
.support-next svg,
.support-prev svg {
  transform: scale(60%);
}

.support-prev svg {
  transform: rotate(180deg) scale(60%);
}
@media (min-width: 768px) {
  .support-next::before,
  .support-prev::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 69px;
    height: 69px;
    border: 2px solid #c50100;
    border-radius: 50%;
    transform: translate(-51%, -50%);
    z-index: -1;
  }
  .support-next svg {
    transform: scale(100%);
  }
  .support-prev svg {
    transform: rotate(180deg) scale(100%);
  }
  .support-next {
    right: 25px;
  }
  .support-prev {
    left: 25px;
  }
}

.support-next {
  right: 5px;
}
.support-prev {
  left: 5px;
}

.support-name,
.support-subname {
  font-weight: 800;
  color: #aa9968;
  text-transform: uppercase;
  line-height: 1;
  font-size: 1rem;
}

.discount-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 1rem;
  max-width: 160px;
  min-height: 160px;
}

.discount-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-height: 69px;
  padding: 0.8rem 1.3rem;
  background-color: #9b865b;
  border-radius: 90px;
  gap: 0.1rem;
}

.discount-amount {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.discount-code {
  font-size: 12px;
  line-height: 1;
}

.partner-title {
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 1rem;
}
