/* Wspólny CSS dla podstron usług - services.css */

/* Sekcja główna - wspólne style */
.u-section-1 {
  background-image: none;
  min-height: 856px;
}

/* Obrazek nagłówkowy - wspólne style */
.u-section-1 .u-image-1 {
  min-height: 416px;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
  background-position: 50% 50%;
  background-size: cover;
}

/* Specyficzne tła dla różnych podstron */
.bg-masaze-ciala .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-masaz-ciala.png');
}

.bg-masaz-twarzy .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-lifting-antiage.png');
}

.bg-modelowanie-sylwetki .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-modelowanie-sylwetki.png');
  background-position: 50% 50%, 50% 93.53%;
}

.bg-lifting .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-terapia-specjalistyczna.png');
  background-position: 50% 50%, 50% 32.84%;
  background-size: cover, cover;
}

.bg-mezoterapia .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-mezoterapia.png');
  background-size: cover, cover;
}

.bg-oczyszczanie .u-image-1 {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../images/usluga-oczyszczanie.png');
  background-size: cover, cover;
}

/* Layout kontenerów */
.u-section-1 .u-container-layout-1 {
  padding: 148px 30px;
}

/* Tytuł główny */
.u-section-1 .u-text-1 {
  text-shadow: 2px 2px 25px rgba(0,0,0,0.35);
  background-image: none;
  font-size: 4.5rem;
  font-weight: 400;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 0.3;
  margin: 41px auto 0;
  color: white;
  text-align: center;
}





/* Wspólne style dla wszystkich list-item */
.u-section-1 .u-list-item {
  background-image: none;
  --animation-custom_in-translate_x: 0px;
  --animation-custom_in-translate_y: 300px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 1;
  box-shadow: 5px 5px 29px 0 rgba(0,0,0,0.15);
  --top-right-radius: 50px;
  --bottom-left-radius: 50px;
}

/* Wspólne style dla wszystkich container-layout (oprócz pierwszego) */
.u-section-1 .u-container-layout:not(.u-container-layout-1) {
  padding: 30px;
}

/* Wspólne style dla wszystkich ikon */
.u-section-1 .u-icon {
  height: 85px;
  width: 85px;
  background-image: none;
  --animation-custom_in-translate_x: 300px;
  --animation-custom_in-translate_y: 0px;
  --animation-custom_in-opacity: 0;
  --animation-custom_in-rotate: 0deg;
  --animation-custom_in-scale: 1;
  margin: 0 auto;
  padding: 9px;
}

/* Wspólne style dla wszystkich tekstów (oprócz tytułu głównego) */
.u-section-1 .u-text:not(.u-text-1) {
  font-size: 1.375rem;
  margin: 30px 0 0;
}

/* Wspólne style dla wszystkich list (u-list-1, u-list-2, u-list-3) */
.u-section-1 .u-list {
  width: 1140px;
  margin: 55px auto 0;
}

/* Ostatnia lista ma margin-bottom */
.u-section-1 .u-list:last-of-type {
  margin-bottom: 60px;
}

/* Wspólne style dla wszystkich repeater - domyślnie 4 kolumny jak u-list-1 */
.u-section-1 .u-repeater {
  grid-template-columns: repeat(4, calc(25% - 22.5px));
  min-height: 316px;
  grid-gap: 30px;
  grid-auto-columns: calc(25% - 22.5px);
}

/* Specjalne style dla stron z mniejszą liczbą elementów */
/* Mezoterapia - 2 elementy */
.bg-mezoterapia .u-list {
  width: 557px;
}

.bg-mezoterapia .u-repeater {
  grid-template-columns: repeat(2, calc(50% - 15px));
  grid-auto-columns: calc(50% - 15px);
}

/* Oczyszczanie - 3 elementy */
.bg-oczyszczanie .u-list {
  width: 850px;
}

.bg-oczyszczanie .u-repeater {
  grid-template-columns: repeat(3, calc(33.3333% - 20px));
  grid-auto-columns: calc(33.3333% - 20px);
}




.u-section-1 .u-btn-1 {
  background-image: none;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
  border-style: solid;
}

@media (max-width: 1199px) {
  .u-section-1 .u-image-1 {
    height: auto;
  }

  .u-section-1 .u-text-2 {
    width: auto;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-container-layout-1 {
    padding-top: 195px;
    padding-bottom: 30px;
  }

  /* Wspólne style dla wszystkich list na tabletach */
  .u-section-1 .u-list {
    width: 720px;
  }

  .u-section-1 .u-repeater {
    grid-template-columns: repeat(2, calc(50% - 15px));
    min-height: 861px;
  }

  .bg-masaz-twarzy .u-repeater {
    min-height: 800px;
    grid-auto-columns: calc(50% - 15px);
  }

  /* Mezoterapia na tabletach */
  .bg-mezoterapia .u-repeater {
    grid-template-columns: 100%;
    grid-auto-columns: calc(100% - 0px);
  }

  /* Oczyszczanie na tabletach */
  .bg-oczyszczanie .u-list {
    width: 720px;
  }

  .bg-oczyszczanie .u-repeater {
    grid-template-columns: repeat(2, calc(50% - 15px));
    min-height: 858px;
    grid-auto-columns: calc(50% - 15px);
  }




  
  .u-section-1 .u-text-2 {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-container-layout-1 {
    padding-top: 255px;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Wspólne style dla wszystkich list na mobile */
  .u-section-1 .u-list {
    width: 540px;
  }

  .u-section-1 .u-repeater {
    grid-template-columns: 100%;
  }

  .bg-masaz-twarzy .u-repeater {
    grid-auto-columns: calc(100% - 0px);
  }

  /* Mezoterapia na mobile */
  .bg-mezoterapia .u-list {
    width: 340px;
  }

  .bg-mezoterapia .u-repeater {
    grid-template-columns: 100%;
    min-height: 632px;
    grid-auto-columns: calc(100% - 0px);
  }

  /* Oczyszczanie na mobile */
  .bg-oczyszczanie .u-list {
    width: 340px;
  }

  .bg-oczyszczanie .u-repeater {
    grid-template-columns: 100%;
    min-height: 948px;
    grid-auto-columns: calc(100% - 0px);
  }



  /* Wspólne style dla wszystkich container-layout na mobile */
  .u-section-1 .u-container-layout:not(.u-container-layout-1) {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-container-layout-1 {
    padding-top: 155px;
  }

  .u-section-1 .u-text-1 {
    width: auto;
    margin-top: 122px;
    margin-left: 38px;
    margin-right: 38px;
    font-size: 3rem;
  }

  /* Wspólne style dla wszystkich list na małych ekranach */
  .u-section-1 .u-list {
    width: 340px;
  }

  .u-section-1 .u-repeater {
    grid-auto-columns: 100%;
  }

  /* Wspólne style dla wszystkich tekstów na małych ekranach */
  .u-section-1 .u-text:not(.u-text-1) {
    margin-left: 0;
    margin-right: 0;
  }
}
