/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Grand+Hotel&family=Permanent+Marker&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'); */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton';
  color: #FFD700;
}

p, span, a, li {
  font-family: 'Roboto';
  color: #FFF;
}

body {
  background-image:linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url(../img/web-bg4.png);
  width: 100%;
  background-repeat: repeat-y;
  background-size: contain;
  position: relative;
  z-index: -1;
}

#body-container {
  position: relative;
  z-index: 0;
}

.z-100 {
  z-index: 100;
}

.primary-text-colour {
  color: #FFD700!important;
}

.secondary-text-colour {
  color: #FFF!important;
}

.btn-primary {
  position: relative;
  display: inline-block;
  background-color: #FFD700;
  color: black;
  border-radius: 8px;
  padding: 0.75rem 1.15rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  transition: color 0.4s ease, background-color 0.4s ease;
  z-index: 1;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  background-color: black;
  transition: all 0.4s ease;
  z-index: -1;
  transform: translateX(-50%);
}

.btn-primary:hover {
  color: #FFD700; 
  background-color: #000;
}

.btn-primary:hover::before {
  width: 100%;
}

.title-span {
  color: #FFF; 
  font-family: 'Anton';
}

.toggle {
  display: none;
}

/* Hero Section */

#hero-container {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, #2B2B2B 100%), url(../img/11ElevenGymMobile.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}

.nav-bar {
  transition: background 0.15s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

.nav-bar.transparent {
  background: transparent;
}

.nav-bar.blurred {
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(10px);
}

.nav-logo {
  width: 4rem;
  height: 4rem;
}

.hamburger {
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar {
  height: 2px;
  width: 18px;
  background-color: #000;
  position: relative;
}

.bar::before,
.bar::after {
  content: '';
  height: 100%;
  width: 100%;
  background-color: #000;
  position: absolute;
  left: 0;
  transition: .3s ease;
  transition-property: top, botto
}

.bar::before {
  bottom: 6px;
}

.bar::after {
  top: 6px;
}

.hamburger.active {
  border-color: #FFF;
}

.hamburger.active .bar,
.hamburger.active .bar::before,
.hamburger.active .bar::after {
  background-color: #FFF;
}

.hamburger.active .bar::before {
  bottom: 0;
}

.hamburger.active .bar::after {
  top: 0;
}

#nav-list {
  list-style: none;
  position: absolute;
  background-color: rgb(31, 30, 30);
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  overflow-x: hidden;
  transition: left 0.7s ease;
}

#nav-list.active {
  left: 0;
}

.nav-link {
  display: block;
}

.nav-link:hover {
  transform: scale(1.05);
}

.nav-hr {
  background-color: #FFF;
  height: 2px;
  width: 60%;
}

.hamburger-socials:hover {
  transform: scale(1.05);
}

.desktop-nav {
  display: none;
}

.desktop-nav-list {
  display: flex;
  flex-direction: row;
}

/* .d-nav-link.active {
  border-bottom: solid 2px #FFCC00; 
} */

.d-nav-link {
  position: relative;
  text-decoration: none;
  color: white; /* Adjust as needed */
  padding: 10px 15px;
}

.d-nav-link::after {
  content: "";
  position: absolute;
  left: 100%; /* Start from the right */
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #FFCC00; 
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.d-nav-link.active::after {
  width: 100%; /* Full width */
  left: 0; /* Move to the left */
}

.section-subheader {
  font-size: 1rem;
  line-height: 1.5;
}

.section-header {
  font-size: 3rem;
  line-height: 1;
}

.section-p {
  font-size: 1.25rem;
  line-height: 1;
}

/* End Hero Section */

/* Train Section */

.card {
  width: 100%;
  height: 450px;
  margin: 0 auto;
  overflow: hidden;
  max-width: 350px;
  border-radius: 10px;
}

.card-description {
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.card:hover > .card-description {
  opacity: 1;
}

#classes-card {
  /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 15%, #0c0a0a 100%), url(../img/ai/gym.png); */
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) -10%, #0c0a0a 100%), url(../img/classes.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#facilities-card {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) -10%, #0c0a0a 100%), url(../img/facilities.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#pt-card {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) -10%, #0c0a0a 100%), url(../img/pt.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#recovery-card {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) -10%, #0c0a0a 100%), url(../img/sauna.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#classes-card:hover {
  background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0.5) 0%, #000 90%), url(../img/classes.jpg);;
}

#facilities-card:hover {
  background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0.5) 0%, #000 90%), url(../img/facilities.png);;
}

#pt-card:hover {
  background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0.5) 0%, #000 90%), url(../img/pt.jpg);;
}

#recovery-card:hover {
  background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0.5) 0%, #000 90%), url(../img/sauna.jpg);;
}

.card:hover {
  scale: 1.02;
  filter: grayscale(0.9);
}

.card:hover > .card-icon {
  display: none;
}

.card-btn {
  background-color: transparent;
  border: 2px solid #dab601;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color ease-in 0.2s;
}

.card-btn:hover {
  background-color: #dab601;
}

/* End Train Section */

/* Packages Section */

#packages li {
  font-family: 'Bebas Neue';
  letter-spacing: 0.05em;
}

.package-card {
  width: 307px;
  height: 419px;
  overflow: hidden;
}

.package-card:hover::before {
  left: 150%;
}

.custom-list {
  list-style: none; 
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 25px;
  letter-spacing: 0.05em;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; 
  height: 20px;
  background-image: url("../img/marker.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* End Packages Section */

/* Trainers Section */
/* 
.trainer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 450px;
  width: 300px;
  cursor: pointer;
  transition: width 0.4s ease-in-out;
}

.trainer-img {
  flex-shrink: 0;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.trainer-info {
  background: rgba(0, 0, 0, 0.9);
  width: 14rem;
  position: absolute;
  right: -100%;
  opacity: 0;
  border-radius: 0.5rem;;
  visibility: hidden;
  padding: 20px;
  transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.trainer-card.expanded {
  width: 600px; 
}

.trainer-card.expanded .trainer-img {
  transform: translateX(0); 
}

.trainer-card.expanded .trainer-info {
  right: 0;
  opacity: 1;
  visibility: visible;
  width: 18rem;
}

.trainer-card:not(.expanded) .trainer-info {
  transition: none; 
  opacity: 0;
  visibility: hidden;
  right: -100%;
} */

.trainer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: auto;
  width: 100%;
  cursor: pointer;
  transition: height 0.4s ease-in-out;
}

.trainer-img {
  width: 100%;
}

.trainer-img img {
  margin: 0 auto;
}

.trainer-info {
  background: rgba(0, 0, 0, 0.9);
  width: 100%;
  position: relative;
  top: -100%;
  opacity: 0;
  visibility: hidden;
  border-radius: 0.5rem;
  padding: 20px;
  transition: top 0.4s ease-in-out, opacity 0.4s ease-in-out;
  max-width: 80%;
  height: 0;
}

.trainer-card.expanded .trainer-info {
  top: 0;
  opacity: 1;
  visibility: visible;
  height: auto;
}

/* Desktop Animation (Larger than 768px - Slide In) */
@media (min-width: 768px) {
  .trainer-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 450px;
    width: 300px;
    cursor: pointer;
    transition: width 0.4s ease-in-out;
  }
  
  .trainer-img {
    flex-shrink: 0;
    width: 100%;
    transition: transform 0.4s ease-in-out;
    margin: 0 auto;
  }
  
  .trainer-info {
    background: rgba(0, 0, 0, 0.9);
    width: 14rem;
    position: absolute;
    right: -100%;
    opacity: 0;
    border-radius: 0.5rem;;
    visibility: hidden;
    padding: 20px;
    transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out;
  }
  
  .trainer-card.expanded {
    width: 600px; 
  }
  
  .trainer-card.expanded .trainer-img img {
    margin-left: 0;
  }

    
  .trainer-card.expanded .trainer-img {
    transform: translateX(0); 
    margin-left: 0;
  }
  
  .trainer-card.expanded .trainer-info {
    right: 0;
    opacity: 1;
    visibility: visible;
    width: 18rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .trainer-card:not(.expanded) .trainer-info {
    transition: none; 
    opacity: 0;
    visibility: hidden;
    right: -100%;
  }
}

/* End Trainers Section */

/* Help Section */

.faq {
  color: #FFF;
  display: flex;
  justify-content: space-between;
}

.faq-text a {
  color: #FFCC00;
  text-decoration: underline;
}

.faq-text {
  display: none;
  font-size: 14px;
}

.toggle:checked+label+.faq-text {
  display: block;
}

.chevron {
  filter: invert(16%) sepia(53%) saturate(2713%) hue-rotate(359deg) brightness(108%) contrast(106%);
}

/* Help Section */

/* Follow Us Section */

#follow-us {
  background-image: url(../img/11ElevenBG4.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 
.follow-us-text  {
  font-family: 'Permanent Marker';
} */

.insta-post {
  width: 350px;
  height: 450px;
}

/* End Follow Us Section */

/* Map Section */



/* End Map Section */

/* Footer Section */

#footer {
  background: rgb(8 8 8 / 1);
}

.social-link:hover {
  transform: scale(1.1);
}

/* End Footer Section */

/* Media Queries */

/* @media (max-width: 768px) {
  .trainer-card {
    flex-direction: column; 
    align-items: center;
    width: 100%;
  }
  .trainer-img {
    transform: none; 
  }
  .trainer-info {
    width: 100%;
    position: relative;
    top: -100%;
    opacity: 0;
    visibility: hidden;
    transition: top 0.4s ease-in-out, opacity 0.4s ease-in-out;
  }
  .trainer-card.expanded .trainer-info {
    top: 0;
    opacity: 1;
    visibility: visible;
  }
} */

@media (min-width: 576px) {
  .insta-post {
    height: 500px;
  }
}

@media (min-width: 768px) {
  .insta-post {
    width: 450px;
    height: 500px;
  }
  .footer-links {
    border-left: 2px #000 solid;
    padding-left: 2rem;
  }
  .social-icon {
    width: 45px;
    height: 45px
  }
  .section-subheader {
    font-size: 1.25rem;
    line-height: 1.5;
  }
  .section-header {
    font-size: 3.75rem;
  }
  .section-p {
    font-size: 1.35rem;
    line-height: 1;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .package-card {
    width: 250px;
    height: 340px;
  }
}

@media (min-width: 992px) {
  #hero-container {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, #2B2B2B 100%), url(../img/11ElevenFitness.webp);
  } 
  /* #hero-container {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, #2B2B2B 100%), url(../img/11ElevenFitness.webp);
  }  */
  #nav-list.active {
    width: 500px;
    left: calc(100vw - 500px);
  }
  .nav-hr {
    height: 3px;
  }
  .desktop-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    /* background: rgb(0 0 0 / 35%); 
    backdrop-filter: blur(10px); */
    padding: 1rem 8rem 1rem 3rem;
  }
  /* .d-nav-link.active */
  .d-nav-link:hover 
   {
    border-bottom-width: 3px;
    border-color: #FFCC00;
  }
  .arrow {
    width: 150px;
    right: 150px;
    transform: rotate(20deg);
  }
  .insta-post {
    width: 500px;
  }
  .exclusive-link {
    position: relative;
  }
  .exclusive-link::before {
    content: '+';
    font-size: 0.9rem;
    color: #FFCC00;
    padding-right: 4px;
    position: absolute;
    right: -5px;
  }
}

@media (min-width: 1200px) {
  .desktop-nav {
    padding: 0.65rem 10rem 0.65rem 4rem;
  }
  #hero .header {
    font-size: 6rem;
  }
  /* .d-nav-link.active {
    border-bottom-width: 4px;
  } */
  .arrow {
    width: 200px;
  }
  .footer-container {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .card {
    height: 350px;
    max-width: 275px;
  }
}

@media (min-width: 1500px) {
  .footer-container {
    max-width: 70%;
  }
  #train {
    max-width: 95rem;
    margin: auto;
  }
}

@media (min-width: 1700px) {  
  .desktop-nav {
    padding: 1rem 10rem 1rem 4rem;
  }
  .nav-logo {
    width: 5rem;
    height: 5rem;
  }
  /* .section-subheader {
    font-size: 1.25rem;
    line-height: 1.5;
  } */
  .section-header {
    font-size: 4.5rem;
  }
  .section-p {
    font-size: 1.5rem;
  }
  #train {
    max-width: 100rem;
    margin: auto;
  }
}

/* End Media Queries */