html{
  scroll-behavior: smooth;
  background-color: black;
}

.index {
  margin: 0;
  font-family: Arial, sans-serif;
  padding-top: 0;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.index {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: white;
}

.cs-navigation .cs-logo {
  float: left;
}

.wrapper {
  width: 90%;
  margin: 0 auto;
}

.banner-area {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* Ensures the image covers the entire container */
  background-position: center center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents image tiling */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.heading-container {
  text-align: center;
  color: white;
  z-index: 1;
}

.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  z-index: 1; 
}

.banner-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; 
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,1) 100%);
  z-index: 2; 
  pointer-events: none; 
}

.heading-container h2 {
  font-size: 450%;
  color: white;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.heading-container h3 {
  padding-left: 15%;
  padding-right: 15%;
  font-size: 4rem;
  font-weight: 400;
  color: white; 
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  margin-bottom: 60px;
}

.index .join .arrow-icon {
  height: 1em; /* Match the height of the text */
  width: auto; /* Maintain aspect ratio */
}

.index .join:hover {
  background-color: rgb(89, 119, 2); /* Slightly darker shade on hover */
}

.index .join{
  width: 150px;
  height: 60px;
  background-color: red;
  font-size: 1rem;
  font-weight: bold;
  color: #ffff;
  border-color: white;
  cursor: pointer;
  border-radius: 10px;
  margin-top: 50px;
}

/* =================== Banner on mobile =================== */

@media (max-width: 800px) {
  
    .banner-slide::before {
    background: rgba(0, 0, 0, 0.25); /* lighter overlay */
  }

  .banner-slide::after {
    height: 50%; /* extend fade area if needed */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,   /* fully transparent at top */
      rgba(0, 0, 0, 1) 100%  /* fade smoothly into black */
    );
  }

  .heading-container h2 {
      font-size: 1.5rem;
  }

  .heading-container h3 {
      font-size: 3rem;
  }

  .section {
    flex-direction: column;
}

.image-hover:hover img {
  filter: none; /* Remove blur effect on hover for mobile */
}

.image-hover:hover .hover-button {
  opacity: 0; /* Keep button hidden on hover for mobile */
}

.image-hover .hover-button {
  display: block;
  font-size: 1.2rem;
  font-weight: bolder;
  padding: 0;
  margin: 0;
  opacity: 0; /* Start with the button hidden on mobile */
  transition: opacity 0.3s ease-in-out;
}

.image-hover .hover-button2 {
  display: none;
}

.text-content h1 {
    font-size: 1.5rem;
    text-align: center;
}

.text-content p {
    font-size: 0.9rem;
}

.image-content {
    margin-top: 20px;
}
.image-left, .text-content2 {
  max-width: 100%; /* Make each container take full width */
}

.text-content2 h1 {
  font-size: 1.5rem; /* Adjust font size for smaller screens */
}

.text-content2 p {
  font-size: 0.9rem; /* Adjust font size for smaller screens */
}

.section2 {
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center content horizontally */
}

.image-left, .text-content2 {
  max-width: 100%; /* Make each container take full width */
}

.text-content2 h1 {
  font-size: 1.5rem; /* Adjust font size for smaller screens */
}

.text-content2 p {
  font-size: 0.9rem; /* Adjust font size for smaller screens */
}

.about-section {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for responsive design */
  justify-content: center; /* Center content horizontally */
  align-items: flex-start; /* Align content to the start vertically */
  padding: 0;
  background-color: #f9f9f9; /* Light background color for contrast */
  padding-bottom: 150px;
  }
  
  /* Styles for the text container */
  .about {
  flex: 1; /* Allow the text container to grow */
  max-width: 100%;
  }

  .about p {
    font-size: 0.8rem; /* Adjust font size for smaller screens */
    margin-bottom: 0;
    color: #666; /* Lighter text color for contrast */
    padding: 0;
  }

  .image-about{
    display: none;
  }

  .slider {
    padding: 0;
    }

  .mySwiper h1{
    font-size: 1rem;
    padding: 0;
  }
}

/* =================== First Section =================== */

/* Gradient section */
.section_1 {
  min-height: 96vh;
  background: linear-gradient(
    to bottom,
    #000 0%,
    #000 30%,
    #a01717 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1rem;
}


/* Content wrapper */
.content {
  display: flex;
  flex-direction: column; /* stack title, text, image */
  gap: 2rem;
  max-width: 600px;
  width: 100%;
  margin-top: 2rem;
}

/* Text */
.text-block {
  text-align: left; /* make sure text stays left aligned */
}

.text-block h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.text-block p {
  margin-bottom: 0;
  line-height: 1.8;
  letter-spacing: .5px;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Image */
.image-block img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Larger screens: side-by-side */
@media (min-width: 768px) {
  .content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
  }

  .text-block, .image-block {
    flex: 1;
  }

  .image-block {
    height: 350px;
  }
}

/* ===== Reviews Part ====== */

.reviews {
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding: 0.8rem 0;
  border-radius: 8px;
  order: 2;
}

.reviews-track a{
  text-decoration: none;
  color: inherit;
}

.reviews-track a{
  display: flex;
  gap: 2rem;
  animation: scrollReviews 25s linear infinite;
  cursor: grab;
}

.review {
  white-space: normal;
  max-width: 250px;
  font-size: 0.9rem;
  line-height: 1.4;
  font-style: italic;
  color: #fff;
  flex-shrink: 0;
}

.review p {
  font-weight: bold;
  margin-bottom: -1rem;
  font-style: normal;
  color: #9e9e9e;
}

/* Auto scroll animation */
@keyframes scrollReviews {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =================== Second Section =================== */

.section_2 {
  min-height: 80vh;
  background: linear-gradient(
    to bottom,
    #a01717 0%,
    #a01717 0%,
    #000 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem;
}

.content_2 {
  display: flex;
  flex-direction: column; 
  gap: 1Srem;
  max-width: 600px;
  width: 100%;
  margin-top: -2rem;
}

.section_2 .text-block .title_2{
  text-align: right; 
  margin-bottom: 2rem;
}

.section_2 .text-block p{
  margin-bottom: 2rem;
}

/* =================== Third Section =================== */

.section_3 {
  padding: 2rem 1rem;
  min-height: auto;  
  background: linear-gradient(
    to bottom,
    #000 0%,
    #000 20%,
    #a01717 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1rem;
  margin-bottom: 0;
}

.section_3 .title_3 {
  margin-bottom: 2rem;
}

.opening-hours {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: rgba(0, 0, 0, 0.479);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.opening-hours li span:first-child {
  font-weight: 600;
  padding-right: .5rem;
}

.opening-hours li span:last-child {
  font-family: monospace; /* makes times stand out */
  letter-spacing: 0.5px;
}

/* =================== fourth Section =================== */
.section_memberships a {
  text-decoration: none;
  color: inherit;
}

.section_memberships {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(
    to bottom,
    #a01717 70%,
    #000 100%,
    #000 100%
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}

.title_memberships {
  font-size: 2rem;       
  margin-bottom: 2rem;
  text-align: right;     
  width: 100%;           
}


.membership-carousel {
  position: relative;
  height: 200px;
}

.membership-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.315);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.membership-card.active {
  opacity: 1;
}

.membership-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f87171;
}

.price span {
  font-size: 0.9rem;
  color: #ddd;
  margin-left: 0.25rem;
}

.carousel-controls {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.carousel-controls button {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-controls button:hover {
  background: rgba(255,255,255,0.2);
}

/* =================== Google Maps =================== */

.map-section {
  padding: 2rem 1rem;
  background: #000; /* optional background */
  display: flex;
  justify-content: center;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-top: 56.25%; 
  border: 4px solid #a01717;
  border-radius: 12px;       
  box-shadow: 0 4px 20px rgba(0,0,0,0.5); 
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =================== Desktop Enhancements =================== */
@media (min-width: 801px) {
  /* Hero text more balanced */
  .heading-container h2 {
    font-size: 4rem;
  }

  .heading-container h3 {
    font-size: 2rem;
    padding-left: 25%;
    padding-right: 25%;
  }

  /* Section 1: side-by-side layout */
  .section_1 .content {
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto;
    gap: 4rem;
  }

  .section_1 .text-block {
    flex: 1;
    text-align: left;
  }

  .section_1 .image-block {
    flex: 1;
    max-width: 500px;
  }

  /* Section 2: text right-aligned, image left */
  .section_2 .content_2 {
    flex-direction: row-reverse;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto;
    gap: 4rem;
  }

  .section_2 .text-block {
    flex: 1;
    text-align: right;
  }

  /* Section 3: opening hours centered in a wider column */
  .section_3 {
    padding: 4rem 2rem;
  }

  .opening-hours {
    max-width: 700px;
    margin: 0 auto;
  }

  /* Memberships: cards centered and slightly bigger */
  .membership-card {
    max-width: 500px;
    padding: 2rem;
  }

  /* Reviews: wider track, more spacing */
  .reviews-track a {
    gap: 4rem;
  }

  .review {
    max-width: 300px;
    font-size: 1rem;
  }

  .about-section {
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .about {
    flex: 1;
  }

  .image-about {
    display: block;
    flex: 1;
    max-width: 500px;
  }

  .map-container {
    max-width: 500px;   /* smaller width on desktop */
    padding-top: 40%;   /* adjust aspect ratio (40% = shorter height) */
    margin: 0 auto;     /* keep it centered */
  }
}



