:root {
    --color-blue: #5efefc;
}

@font-face {
    font-family: 'Bahnschrift';
    src: url('/static/theme/fonts/BAHNSCHRIFT.TTF') format('truetype');
}

body {
    background-color: #171613;
    color: #fff;
}

body, button {
    font-family: 'Bahnschrift', sans-serif;
    font-size: 24px;
    font-stretch: condensed !important;
}

a {
    text-decoration: none;
    color: inherit;
}
.errorlist{
    color: red;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Smooth zoom on hover */
}

.gallery-item img:hover {
    transform: scale(1.1);
}

#enlargedImage {
    width: 100%;
    height: auto;
    max-height: 80vh; /* Limit height to 80% of viewport height */
    object-fit: contain; /* Ensure aspect ratio is preserved */
}

.carousel-control-next, .carousel-control-prev {
    width: 70px !important;
    height: 70px !important;
}
.carousel-control-next img, .carousel-control-prev img {
    width: 70px !important;
    height: 70px !important;
}

.btn {
    font-size: 20px;
}
.form-check{
    padding-left: 2em;
}
.form-check-input{
    margin-right: 10px;
    margin-left: -3em !important;
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-blue);
    margin: 5px;
    color: #000;
    margin-left: 15px;
}
.icon-circle i{
    max-height: 30px;
}
.footer .icon-circle {
    background-color: #171613;
    color: var(--color-blue);
    margin: 15px;
}

nav ul {
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex;
    color: white; 
}

nav ul li {
    padding-top: 6px;
}

nav ul li a {
    text-decoration: none;
    color: white; 
    margin-right: 10px;
    margin-left: 10px;
}

nav ul li a.active {
    color: var(--color-blue);
    border-bottom: 2px solid var(--color-blue);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
}
.promo-bar {
    font-size: 28px;
    width: 100%;
    background-color: var(--color-blue);
    font-weight: 900;
    padding: 15px 30px;
}

.color-blue{
    color: var(--color-blue);
}

.promo-bar img, .arrow-img {
    width: 30px;
    height: 30px;
}

.promo-bar span {
    margin-top: 6px;
}

.promo-bar .bar {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}

.gray-btn{
    border: none;
    padding: 10px;
    padding-left: 70px;
    padding-right: 70px;
    background-color: #a4adb8;
    box-shadow: 0px 7px 16px 2px rgba(0, 0, 0, 1);
    font-size: 32px;
    color: #ffffff;
}

#id_country{
    max-width: 300px;
}

.offer-btn{
    position: absolute;
    max-height: 68px;
    top: 0;
    left: 0;
}

.check-us-button {
    background-color: #60697a;
    padding: 0;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 32px;
    margin-top: 8px;
    position: relative;
}

.check-us-button.active {
    background-color: var(--color-blue);
    color: black;
}

.check-us-button span {
    margin-right: 5px;
}

.check-us-desc {
    display: none;
    padding: 14px;
    margin-bottom: 4px;
    margin-top: 4px;
    background-color: rgb(29, 24, 24);
}
.check-us-desc.active {
    display: block;
}

.check-us-sign{
    position: absolute;
    right: 5px;
    cursor: pointer;
}

.find-us {
    background-color: var(--color-blue);
}

.coach-image-container {
    clip-path: polygon(0% 0%, 100% 0%, 100% 420px, 270px 100%, 0% 100%);
    width: 300px;
    height: 450px;
    background-color: #60697a; 
    position: relative;
    z-index: 100;
}
.coach-image {
    clip-path: polygon(0% 0%, 100% 0%, 100% 418px, 268px 100%, 0% 100%);
    width: 298px;
    height: 448px;
    margin: 1px;
}
.coach-info-container {
    clip-path: polygon(0% 0%, 100% 0%, 100% 220px, 270px 100%, 0% 100%);
    width: 300px;
    height: 250px;
    background-color: #60697a; 
    padding: 0;
    margin-top: -30px;
}
.coach-info {
    clip-path: polygon(0% 0%, 100% 0%, 100% 218px, 268px 100%, 0% 100%);
    width: 298px;
    height: 249px;
    background-color: #171613; 
    padding: 0;
    margin-top: 0;
    margin-left: 1px;
    padding-top: 40px;
}
.coach-info .icon-circle{
    margin: 5px;
    width: 30px;
    height: 30px;
    background-color: #60697a;
    color: #171613;
}
.coach-info .icon-circle i{
    font-size: 20px;
    max-height: 28px;
}

.carousel-control-next, .carousel-control-prev {
    position: relative;
    float: right;
    width: 70px;
    height: 70px;
    margin: 10px;
}

.membership-section{
    padding-top: 160px;
    padding-bottom: 60px;
}
.check-us{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 10px;
}

.membership-section img {
    max-width: 100%;
}
.footer-contact{
    float: right;
}

.about-section {
    background-image: url("../img/background_01.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.membership-section{
    background-image: url('../img/background_03.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.truncate-post {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-item {
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 10px 15px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu-item.active {
    border-color: var(--color-blue);
    color: var(--color-blue);
}
.menu-item:hover {
    background-color: var(--color-blue);
    transform: translateY(-2px);
    border-color: white !important;
    color: white !important;
}
.menu-item:hover span{
    color: white !important;
}


.account-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(104, 253, 251, 0.5),
    0 0 40px rgba(96, 105, 122, 0.5);
  text-align: center;
}

.account-container h2 {
  color: var(--color-blue);
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.input-group {
  position: relative;
  margin-top: 10px;
}

input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 6px;
  background-color: #e5e8ee;
  color: #60697a;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

input:focus {
  border-color: #60697a;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #60697a;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

input:focus + .floating-label,
input:not(:placeholder-shown) + .floating-label {
  top: -10px;
  left: 10px;
  background-color: white;
  padding: 0 5px;
  color: black;
  font-size: 14px;
}

button.custom-button {
  background: linear-gradient(135deg, #60697a, var(--color-blue));
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 12px 25px;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top: 20px;
}

button.custom-button:hover {
  background-color: #60697a;
  transform: scale(1.05);
}

button.custom-button:active {
  transform: scale(0.95);
}

.signup-link {
  margin-top: 15px;
  font-size: 20px;
}
.signup-link a {
  text-decoration: none;
  font-weight: 500;
}
.signup-link a:hover {
  text-decoration: underline;
}
.no-placeholder::placeholder {
  color: transparent;
}

form input[type="radio"] {
  width: 30px;
}
.fc-event{
  border-radius: 10px;
}
.account-container a:hover {
  text-decoration: underline;
}
.account-container h1, .account-container h2 {
  color: var(--color-blue);
}
.account-container {
  color: black;
}
.nav-bg{
    position: relative;
}
.nav.active{
    z-index: 10000;
}

.why-us-section{
    border-top: 2px solid white; position: relative;
}
.why-us-image{
    margin-top: -6.5%;
}
.nav-bg.bg-small {
    min-height: 100px;
}
.pr{
    position: relative;
}

.blog-list-text{
    border: 1px solid gray; position: relative; border-right: 0; min-height: 350px;
}

.blog-list-img {
    max-height: 420px; border: 1px solid gray; border-left: 0;
}
.post-body img{
    max-width: 100%;
}

.main-button {
    background-color: var(--color-blue); color: black; border: none; padding: 5px; padding-left: 25px; padding-right: 25px; border-radius: 10px;
}
.fc-theme-standard .fc-popover{
    background-color: black;
}

@media (max-width: 1400px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        padding-bottom: 15px;
    }

    nav.active ul {
        display: flex;
    }
}
@media (max-width: 1200px) {
    .blog-list-text{
        border-left: 0;
    }
    .blog-list-img {
        border-left: 1px solid gray;
        border-top: 0;
    }
    .blog-list-imgcontainer{
        text-align: center;
    }
}
@media (max-width: 767px) {
    .bg-image{
        margin-top: 100px;
    }
    .nav-2{
        background-color: black;
    }
    .nav-1-left, .nav-1-right{
        margin: auto;
    }
    .offer-btn{
        padding: 0;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 20px;
    }
    .promo-bar{
        font-size: 16px;
    }
    .promo-bar span {
        margin-top: 1px;
    }
    .promo-bar img {
        width: 16px;
        height: 16px;
    }
    .check-us {
        position: relative;
        margin-top: -150px;
    }
    .coach{
        margin-top: 25px;
    }
    .membership-section img {
        margin-top: 50px;
    }
    .cp {
        margin-top: 50px;
    }
    .logo {
        max-width: 100%;
    }
    .fc .fc-toolbar {
        display: block;
    }
    .fc-toolbar-chunk{
        text-align: center;
        margin-bottom: 20px;
    }
    .icon-circle{
        margin: 5px !important;
        width: 38px;
        height: 38px;
    }
    .list-inline-item{
        margin: 12px;
    }
    .list-inline{
        text-align: center;
    }
    .carousel-control-next, .carousel-control-prev {
        width: 30px !important;
        height: 30px !important;
    }
    .carousel-control-next img, .carousel-control-prev img {
        width: 30px !important;
        height: 30px !important;
    }
}

@media (min-width: 768px) {
    .mobile-only-br {
        display: none;
    }
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #333;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    font-family: sans-serif;
    color: white;
}
#cookie-banner button {
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#cookie-accept { background: #4caf50; color: white; }
#cookie-decline { background: #ccc; }




#consent-banner, #consent-preferences {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f1f1f;
    color: #ffffff;
    border-top: 3px solid #00d6d6;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
    z-index: 10000;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    font-size: 16px;
    display: none;
  }
  
  #consent-banner h3, #consent-preferences h3 {
    margin-top: 0;
    color: #00d6d6;
  }
  
  #consent-buttons, #preferences-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  #consent-buttons button, #preferences-buttons button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-size: 16px;
  }
  
  #accept-all, #save-preferences {
    background-color: #00d6d6;
    color: #1f1f1f;
  }
  
  #reject-all {
    background-color: #2c2c2c;
    color: #ffffff;
  }
  
  #manage-consent {
    background-color: transparent;
    color: #00d6d6;
    border: 2px solid #00d6d6;
  }
  
  #accept-all:hover, #save-preferences:hover {
    background-color: #26f3f3;
  }
  
  #reject-all:hover {
    background-color: #3a3a3a;
  }
  
  #manage-consent:hover {
    background-color: #00d6d6;
    color: #1f1f1f;
  }
  
  #consent-preferences {
    display: none;
    flex-direction: column;
  }
  
  .consent-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .consent-option input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #00d6d6;
  }
  
  /* Responsywność */
  @media (max-width: 600px) {
    #consent-buttons, #preferences-buttons {
      flex-direction: column;
    }
  }


#consent-management-panel {
    font-family: 'Arial', sans-serif;
    max-width: 800px;
    margin: 50px auto;
    background-color: #1f1f1f;
    color: #ffffff;
    border: 2px solid #00d6d6;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10000000;
    font-size: 16px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
}
@media (max-width: 600px) {
  #consent-management-panel {
    max-width: 100%;
    font-size: 10px;
  }
}

#consent-management-panel h2 {
  color: #00d6d6;
  margin-top: 0;
}

#consent-management-panel table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

#consent-management-panel th, #consent-management-panel td {
  padding: 12px;
  border-bottom: 1px solid #333;
  text-align: left;
  font-size: 14px;
}

#consent-management-panel th {
  background-color: #2c2c2c;
  color: #00d6d6;
}

.consent-switch {
  text-align: center;
}

.consent-switch input[type="checkbox"] {
  transform: scale(1.3);
  accent-color: #00d6d6;
}

#consent-management-buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

#consent-management-buttons button {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.save-btn {
  background-color: #00d6d6;
  color: #1f1f1f;
}

.reject-btn {
  background-color: #2c2c2c;
  color: #ffffff;
}

.accept-btn {
  background-color: transparent;
  border: 2px solid #00d6d6;
  color: #00d6d6;
}

.save-btn:hover {
  background-color: #26f3f3;
}

.reject-btn:hover {
  background-color: #3a3a3a;
}

.accept-btn:hover {
  background-color: #00d6d6;
  color: #1f1f1f;
}

#consent-user-info {
  font-size: 12px;
  margin-top: 25px;
  color: #ccc;
}

.consent-option input[type="checkbox"] {
    width: inherit;
    padding: 10px 15px;
    border: 1px solid black;
    border-radius: 6px;
    background-color: #e5e8ee;
    color: #60697a;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

@media (max-width: 600px) {
  #consent-management-panel {
    max-width: 100%;
    font-size: 12px;
  }
  #consent-management-panel th, #consent-management-panel td {
    font-size: 12px;
    padding: 6px;
  }
}
