@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* LOADER */

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s ease; /* Płynne znikanie */
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 75px;
    height: 100px;
  }
  
  .loader__bar {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 50%;
    background: rgb(230, 230, 230);
    transform-origin: center bottom;
    box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
  }
  
  .loader__bar:nth-child(1) {
    left: 0px;
    transform: scale(1, 0.2);
    -webkit-animation: barUp1 4s infinite;
    animation: barUp1 4s infinite;
  }
  
  .loader__bar:nth-child(2) {
    left: 15px;
    transform: scale(1, 0.4);
    -webkit-animation: barUp2 4s infinite;
    animation: barUp2 4s infinite;
  }
  
  .loader__bar:nth-child(3) {
    left: 30px;
    transform: scale(1, 0.6);
    -webkit-animation: barUp3 4s infinite;
    animation: barUp3 4s infinite;
  }
  
  .loader__bar:nth-child(4) {
    left: 45px;
    transform: scale(1, 0.8);
    -webkit-animation: barUp4 4s infinite;
    animation: barUp4 4s infinite;
  }
  
  .loader__bar:nth-child(5) {
    left: 60px;
    transform: scale(1, 1);
    -webkit-animation: barUp5 4s infinite;
    animation: barUp5 4s infinite;
  }
  
  .loader__ball {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    background: #cda000;
    border-radius: 50%;
    -webkit-animation: ball624 4s infinite;
    animation: ball624 4s infinite;
  }
  
  @keyframes ball624 {
    0% {
      transform: translate(0, 0);
    }
  
    5% {
      transform: translate(8px, -14px);
    }
  
    10% {
      transform: translate(15px, -10px);
    }
  
    17% {
      transform: translate(23px, -24px);
    }
  
    20% {
      transform: translate(30px, -20px);
    }
  
    27% {
      transform: translate(38px, -34px);
    }
  
    30% {
      transform: translate(45px, -30px);
    }
  
    37% {
      transform: translate(53px, -44px);
    }
  
    40% {
      transform: translate(60px, -40px);
    }
  
    50% {
      transform: translate(60px, 0);
    }
  
    57% {
      transform: translate(53px, -14px);
    }
  
    60% {
      transform: translate(45px, -10px);
    }
  
    67% {
      transform: translate(37px, -24px);
    }
  
    70% {
      transform: translate(30px, -20px);
    }
  
    77% {
      transform: translate(22px, -34px);
    }
  
    80% {
      transform: translate(15px, -30px);
    }
  
    87% {
      transform: translate(7px, -44px);
    }
  
    90% {
      transform: translate(0, -40px);
    }
  
    100% {
      transform: translate(0, 0);
    }
  }
  
  @-webkit-keyframes barUp1 {
    0% {
      transform: scale(1, 0.2);
    }
  
    40% {
      transform: scale(1, 0.2);
    }
  
    50% {
      transform: scale(1, 1);
    }
  
    90% {
      transform: scale(1, 1);
    }
  
    100% {
      transform: scale(1, 0.2);
    }
  }
  
  @keyframes barUp1 {
    0% {
      transform: scale(1, 0.2);
    }
  
    40% {
      transform: scale(1, 0.2);
    }
  
    50% {
      transform: scale(1, 1);
    }
  
    90% {
      transform: scale(1, 1);
    }
  
    100% {
      transform: scale(1, 0.2);
    }
  }
  
  @-webkit-keyframes barUp2 {
    0% {
      transform: scale(1, 0.4);
    }
  
    40% {
      transform: scale(1, 0.4);
    }
  
    50% {
      transform: scale(1, 0.8);
    }
  
    90% {
      transform: scale(1, 0.8);
    }
  
    100% {
      transform: scale(1, 0.4);
    }
  }
  
  @keyframes barUp2 {
    0% {
      transform: scale(1, 0.4);
    }
  
    40% {
      transform: scale(1, 0.4);
    }
  
    50% {
      transform: scale(1, 0.8);
    }
  
    90% {
      transform: scale(1, 0.8);
    }
  
    100% {
      transform: scale(1, 0.4);
    }
  }
  
  @-webkit-keyframes barUp3 {
    0% {
      transform: scale(1, 0.6);
    }
  
    100% {
      transform: scale(1, 0.6);
    }
  }
  
  @keyframes barUp3 {
    0% {
      transform: scale(1, 0.6);
    }
  
    100% {
      transform: scale(1, 0.6);
    }
  }
  
  @-webkit-keyframes barUp4 {
    0% {
      transform: scale(1, 0.8);
    }
  
    40% {
      transform: scale(1, 0.8);
    }
  
    50% {
      transform: scale(1, 0.4);
    }
  
    90% {
      transform: scale(1, 0.4);
    }
  
    100% {
      transform: scale(1, 0.8);
    }
  }
  
  @keyframes barUp4 {
    0% {
      transform: scale(1, 0.8);
    }
  
    40% {
      transform: scale(1, 0.8);
    }
  
    50% {
      transform: scale(1, 0.4);
    }
  
    90% {
      transform: scale(1, 0.4);
    }
  
    100% {
      transform: scale(1, 0.8);
    }
  }
  
  @-webkit-keyframes barUp5 {
    0% {
      transform: scale(1, 1);
    }
  
    40% {
      transform: scale(1, 1);
    }
  
    50% {
      transform: scale(1, 0.2);
    }
  
    90% {
      transform: scale(1, 0.2);
    }
  
    100% {
      transform: scale(1, 1);
    }
  }
  
  @keyframes barUp5 {
    0% {
      transform: scale(1, 1);
    }
  
    40% {
      transform: scale(1, 1);
    }
  
    50% {
      transform: scale(1, 0.2);
    }
  
    90% {
      transform: scale(1, 0.2);
    }
  
    100% {
      transform: scale(1, 1);
    }
  }
  

body {
    background-color: #1a1a1a;
    color: white;
    font-family: "Poppins", sans-serif;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background-color: #cda000;
    margin: 10px auto;
}


/* Początkowy styl nawigacji (duża wersja) */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

/* Po zmniejszeniu */
.navbar.shrink {
    padding: 10px 50px;
    background: rgba(0, 0, 0, 0.8);
}

/* Zmniejszone logo */
.navbar.shrink .logo {
    font-size: 20px;
}

/* Styl nawigacji */
.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: font-size 0.3s ease;
}

/* Zmniejszony tekst w menu */
.navbar.shrink ul li a {
    font-size: 16px;
}

/* Styl logo w nawigacji */
.logo {
    height: 60px;
    /* Dopasuj wysokość */
    width: auto;
}

/* Po przewinięciu zmniejsza logo */
.navbar.shrink .logo {
    height: 35px;
    /* Zmniejszone logo */
    transition: height 0.3s ease;
    /* Animacja przy przewijaniu */
}

.hero {
    position: relative;
    background: url('image2.jpg') center/cover no-repeat fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Przyciemnienie */
}

.hero .container {
    position: relative;
    z-index: 1;
}

.btn-strong {
    background-color: #cda000;
    border: none;
}

.btn-strong:hover {
    background-color: #a88b00;
}

section {
    padding-bottom: 2%;
}

#blog h2 {
    margin-top: 7%; /* Dopasuj wartość do wyglądu strony */
}



.about-section {
    font-size: 20px;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 50px 10%;
}

.split-section img {
    width: 50%;
    border-radius: 10px;
}

.split-section .text {
    width: 50%;
}

.trainer-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.offer-section {
    text-align: center;
    padding: 50px 20px;
}

.offer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.offer-item {
    display: flex;
    align-items: center;
    max-width: 1200px;
    padding: 20px;
    gap: 20px;
}

.offer-item img {
    max-width: 550px;
    border-radius: 10px;
}

.offer-text {
    flex: 1;
    text-align: left;
}

.offer-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.offer-text p {
    font-size: 16px;
}

.opinie-slider {
    padding: 10px 40px; /* Dodatkowy padding na strzałki */
}

.opinie-card {
    background-color: #222;
}

.opinie-prev, .opinie-next {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    /* display: none; */
    align-items: center;
    justify-content: center;
}

.opinie-prev {
    left: -50px; /* Strzałka na lewo poza kontener */
}

.opinie-next {
    right: -50px; /* Strzałka na prawo poza kontener */
}

.opinie-prev::after, .opinie-next::after {
    font-size: 20px;
    color: white;
}

.opinie.btn {
    outline: white solid;
}

.accordion-button {
    background-color: #1e1e1e;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out;
}

.accordion-button:not(.collapsed) {
    background-color: #111;
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(1); /* Zmienia kolor strzałki na biały */
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.5); /* Inny kolor dla aktywnego przycisku */
}


.accordion-item {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-body {
    background-color: #222;
    color: #ccc;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.accordion h2::after {
    background: none;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    font-size: 22px;
    color: white;
    transition: color 0.3s ease-in-out;
}

.social-icon:hover {
    color: #f8d210; /* Zmiana koloru po najechaniu */
}


/* Style dla pól formularza */
.form-label {
    font-weight: 500;
    color: #bdbdbd;
}

.form-control {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease-in-out;
}

.form-control:focus {
    background-color: #333;
    border-color: #cda000;
    color: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(205, 160, 0, 0.5);
}

/* Dostosowanie dla inputów typu number i date */
input[type="number"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="text"],
textarea {
    appearance: none;
}

/* Styl dla textarea */
textarea {
    resize: none;
    min-height: 100px;
}

/* Przycisk wysyłania */
.btn-primary {
    background-color: #cda000;
    border: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #cda000;
    box-shadow: 0 0 10px #cda000;
}

.btn-primary:active {
    background-color: #cda000;
}

@media (max-width: 768px) {
    .navbar.shrink {
        background: rgb(0, 0, 0)
    }
    
    .lead {
        margin-top: 10%;
    }

    .opinie-prev { 
        display: none; 
    }
    .opinie-next { 
        display: none; 
    }

    .offer-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .offer-item img {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .about-img {
        order: -1 !important;
    }
    .about-row {
        flex-direction: column !important; /* Wymusza układ w kolumnie */
        align-items: center !important; /* Wyśrodkowanie */
        text-align: center !important; /* Wyśrodkowanie tekstu */
    }
    .about-section {
        text-align: right !important;
    }

}

@media (max-width: 1198px) {
    .about-img {
        order: -1 !important;
    }
    .offer-item {
        flex-direction: column !important;
    }
}
