:root {
  --primary-color: #2e2e2e;
  --secondary-color: #ededed;
  --accent-color: #0e7490;
  --bg-color: #f1f1f1;
  --text-color: #111827;
  --secondary-bg-color: #ff6d4d;
}

body {
  background-color: var(--bg-color);
  padding-top: 3rem;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

.img-gym-home {
  width: 100%;
  height: auto;
  max-height: 667px;
  object-fit: cover;
}

.img-gym-pt {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
}

.custom-text-color {
  color: var(--text-color) !important;
}

.custom-text-color:hover {
  color: var(--accent-color) !important;
}

.navbar {
  background-color: var(--bg-color) !important;
}

.carousel-inner img {
  margin: auto !important;
  border-radius: 15px;
}

.bg-section {
  background-color: var(--primary-color);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.custom-icon {
  width: 10rem;
  color: var(--accent-color) !important;
}

.card {
  background-color: rgb(237, 237, 237);
  color: var(--text-color);
}

.btn-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 10px;
}

.btn-custom:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.65);
}

.active {
  color: var(--accent-color) !important;
}

.custom-img {
  transition: transform 0.5s ease;
}

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

.image-container {
  position: relative;
  width: 100%;
  max-width: 1050px;
}
.image-container img {
  width: 100%;
  height: auto;
  display: block;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.table-transparent,
.table-transparent th,
.table-transparent td {
  background-color: transparent !important;
}

.responsive {
  width: 100%;
  max-height: 667px;
  height: auto;
}

.bg-dark-custom {
  background-color: var(--primary-color) !important;
}

.bg-custom-2 {
  background-color: var(--accent-color) !important;
}

.form-check-custom {
  padding-left: 0.75rem !important;
}

.form-check-input {
  border-color: transparent;
}
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.ratio-9x16 {
  position: relative;
  width: 100%;
  padding-top: 177.77%;
}

.ratio-9x16 iframe,
.ratio-9x16 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.a-custom:visited {
  color: #7759be;
}

.a-custom:link {
  color: #0d6efd;
  text-decoration: underline;
}

body.high-contrast * {
  background-color: black !important;
  color: yellow !important;
  font-size: 1.25em !important;
  letter-spacing: 1px !important;
}

body.high-contrast header *,
body.high-contrast nav *,
body.high-contrast footer * {
  font-size: 1em !important;
}

.btn-contrast {
  cursor: pointer;
}

.card video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
}

.bg-dark-custom-contact,
.bg-custom-2-contact {
  max-width: 100%;
  box-sizing: border-box;
}

.bg-custom-2-contact {
  background-color: var(--accent-color) !important;
}

.bg-dark-custom-contact {
  background-color: var(--primary-color) !important;
}

@media (max-width: 768px) {
  .custom-icon {
    width: 6rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .img-gym-home {
    max-height: 250px;
  }

  .btn-custom {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer .nav {
    flex-direction: row;
    justify-content: center !important;
    flex-wrap: wrap;
  }

  footer .nav-item {
    margin: 0 10px;
  }

  .overlay-text {
    font-size: 1rem;
  }
}
