/* Reset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust based on header height */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  /* Fixed Light Mode Colors */
  background-color: #ffffff;
  color: #222222;
  line-height: 1.6;
  padding-bottom: 80px;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.5); /* translucent background */
    backdrop-filter: blur(10px);          /* blur content behind */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    border-bottom: 1px solid rgba(255,255,255,0.); /* optional soft border */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    box-sizing: border-box;
}

header a{
  gap: 20px;
}

header h1 {
  font-size: 1.5rem;
  color: #111;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 80px;
  height: auto;
}

/* Ensure only the light logo is used */
.brand-logo.dark-mode-logo {
    display: none;
}


header nav {
  display: flex;
  padding: 5px;
  gap: 20px;
  border-radius: 6px;
  box-shadow: inset 0 -1px 5px rgba(122, 122, 122, 0.1);
    background: rgba(255, 255, 255, 0.3); /* translucent background */
    backdrop-filter: blur(10px);          /* blur content behind */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    border-bottom: 1px solid rgba(255,255,255,0.); /* optional soft border */
}

header nav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  padding: 8px 15px;

}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
}

header nav a:hover {
  color: #c04000;
}

header .cta {
  background: #FC5200;
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  transition: 0.3s;
  border-radius: 6px;
  padding: 12px 24px;
}

header .cta:hover {
  background: #e04300;
  box-shadow: 0 6px 12px rgba(252, 82, 0, 0.5);
}

/* No theme switch wrapper or icon styles needed */

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url("Images/ImageWide.png") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-bottom: 5%;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #FC5200;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #e04300;
}

/* ABOUT SECTION */
.about {
  padding: 4rem 5%;
  /* Fixed dark background */
  background: #202020;
  text-align: center;
}

.about h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.about p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

/* SERVICES */
.services {
  padding: 4rem 5%;
  background: #eeeeee;
}

.services h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #fefefe;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  color: #222;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.01);
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image-inner {
  position: relative;
  width: 200%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.card.active .card-image-inner {
  transform: translateX(-50.5%);
}

.card-image,
.card-description {
  width: 50%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(75%);
}

.card-description {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefefe;
}

.card-description p {
  color: #222;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card h4 {
  margin: 1rem 0;
  color: #111;
}


/* TESTIMONIALS */
.testimonials {
  padding: 4rem 5%;
  /* Fixed light background */
  background: #dddddd;
}

.testimonials h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: #fefefe;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  color: #222;
}

.testimonial-card img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
}

.testimonial-text {
  flex: 1;
}

.testimonial-text h4 {
  font-size: 1.5rem;
  color: #111;
}

.testimonial-text p {
  font-size: 1rem;
  color: #222;
}


/* LOCATION MAP */
.location-map {
  padding: 4rem 5%;
  text-align: center;
  /* Fixed light background */
  background: #eeeeee;
}

.location-map h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* BOOKING PAGE */
.booking-info {
  position: relative;
  min-height: 80vh;
  background: url("Images/EmptyGym.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  color: white; /* ensures text stays readable */
  overflow: hidden;
}

/* Dark overlay */
.booking-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness: 0.3 = light, 0.6 = darker */
  z-index: 0;
}

/* Make sure text stays above overlay */
.booking-info * {
  position: relative;
  z-index: 1;
}

.booking-content {
  background: #fefefe;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 600px;
}

.booking-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.booking-content h3 {
  color: #FC5200;
  font-size: 1.5rem;
  margin: 1rem 0;
}

.booking-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.coming-soon p {
  font-weight: bold;
  color: #FC5200;
  margin-top: 1rem;
}

.backBtn{
  background: #dddddd;
  color: #000000;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 6px;
  padding: 12px 24px;
}

/* FOOTER */
footer {
  /* Fixed color */
  background: #dddddd;
  color: #383838;
  padding: 3rem 5% 1rem;
}

footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

footer h4 {
  color: #383838;
  margin-bottom: 0.5rem;
}

footer p {
  font-size: 0.9rem;
}

footer .copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #383838;
}

/* ===========================
  RESPONSIVE DESIGN
  =========================== */


/* Mobile */
@media (max-width: 1100px) {
  /* Header */
  header {
    display: space-between;
    flex-direction: row;
    align-items: center;
    padding: 1rem 2rem ;
    gap: 1rem;
  }

/* Position hamburger bottom-left */
.menu-toggle {
  left: 3rem;
  display: block;
  font-size: 2rem;
  z-index: 1001;
}

header .cta{
  padding: 8px 10px;
}

header .backBtn{
    padding: 8px 10px;
}

/* The theme-switch-wrapper styling is now removed here */

  header nav {
    display: none; /* hide nav by default */
    flex-direction: column;
    background-color: #eeeeee;
    padding: 1rem;
    border-radius: 8px;
    position: absolute;
    top: 100%; /* below header */
    left: 0;
    right: 0;
    z-index: 999;
  }

    header nav.show {
    display: flex; /* show when toggled */
    }

  header nav a {
    padding: 10px;
    text-align: center;
    border-radius: 4px;
  }

  /* Hero */
  .hero {
    height: 60vh;
    padding: 2rem;
    text-align: center;

  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  /* About */
  .about {
    padding: 2rem;
  }

  .about p {
    font-size: 1rem;
  }

  /* Cards (services & testimonials) */
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 10px 30px;
  }

  .testimonial-card img {
    margin-bottom: 1rem;
  }

  /* Map */
  .map-container iframe {
    height: 300px;
  }

  /* Footer */
  footer .footer-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 700px) {

    /* Header */
  header {
    padding: 1rem 2rem;
  }

  header .brand h1, header .brand{
    font-size: .65rem;
  }

  header .brand .brand-logo{
    width: 50px;
    height: auto;
  }

}