/* CSS FOR GYM CONCEPT */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: url("https://images.ctfassets.net/nnkxuzam4k38/5uWJWkeNbfKj1xCb0QYw4W/5f98c1cf50300f106e1027609733e4cb/white-triangle.jpg");
  height: 100%;
}

/* ANIMATIONS */
.slide-up {
  opacity: 0;
  transform: translateY(100px);
  animation: slideUp 1s forwards;
  animation-delay: 0.5s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards ease-out;
  animation-delay: 1s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* HEADER */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  color: white;
}

.video-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.video-container::after {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  z-index: 1;
}

.welcome-textbox {
  position: relative;
  z-index: 2;
  top: 40%;
  transform: translateY(-50%);
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.welcome-textbox h1 {
  font-size: 7rem;
  margin-bottom: 0.5rem;
}

.welcome-textbox p {
  font-size: 3rem;
}

/* NAVIGATION */
nav {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin-top: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #FFD700;
  transition: width 0.3s;
}

nav a:hover {
  color: #FFD700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

nav a:hover::after {
  width: 100%;
}

/* ABOUT SECTION */
.about-section {
  padding: 50px 20px;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  gap: 50px;
  align-items: center;
}

.about-container.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1 1 500px;
  animation: fadeInLeft 1s ease forwards;
}

.about-text h2 {
  background: linear-gradient(90deg, #FF6600, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  border-left: 4px solid #FFD700;
  padding-left: 12px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.about-text p::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin-top: 8px;
  border-radius: 2px;
}

.about-image {
  flex: 1 1 500px;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-image img:not(.slideshow img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  position: relative; 
  opacity: 1;      
}


.about-image img.active {
  opacity: 1;
  z-index: 2;
}

/* MEMBERSHIP SECTION */
#membership {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

#membership h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #333;
}

.membership-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.membership-card {
  background: #f8f8f8;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 30px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.membership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.membership-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FF6600;
}

.membership-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.membership-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
}

.membership-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.membership-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #FF6600;
}

.membership-card button {
  background: #FF6600;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.membership-card button:hover {
  background: #e65c00;
}

.ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #FF6600;
  color: white;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  transform: rotate(15deg);
}

/* STORE FINDER */
#finder {
  padding: 80px 20px;
  background: #f5f5f5;
  text-align: center;
}

.finder-map { 
  flex: 2 1 500px; 
  border-radius: 15px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
  max-width: 50%; 
  margin: 0 auto; 
}

/* FOOTER */
#contact {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 20px 20px;
  font-weight: 500;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #FF6600;
  text-transform: uppercase;
}

.footer-about p,
.footer-contact p {
  color: #e0e0e0;
  line-height: 1.8;
}

.footer-links ul li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}

.footer-links ul li a:hover {
  color: #FF6600;
  transform: translateX(3px);
}

.footer-socials a {
  color: #FF6600;
  text-decoration: none;
  font-weight: 600;
  margin-right: 15px;
  transition: color 0.3s, transform 0.2s;
}

.footer-socials a:hover {
  color: #e65c00;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.95rem;
  color: #ddd;
}

/* MEDIA QUERIES */
/* Laptops */
@media screen and (max-width: 1200px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-container.reverse {
    flex-direction: column;
  }

  .about-text, .about-image {
    text-align: center;
  }
  
  .about-image.slideshow {
    height: 350px; 
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }

  .about-image.slideshow img {
    height: 100%;
    width: 100%;
  }
}

/* Tablet / small screens */
@media screen and (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 20px;
  }

  .about-container.reverse {
    flex-direction: column;
  }

  .about-text, .about-image {
    text-align: center;
    width: 100%;
  }

  .about-image {
    height: 300px; 
    margin-bottom: 20px;
  }

  .about-image.slideshow {
    height: 300px;
    position: relative; 
    width: 100%;
  }

  .about-image.slideshow img {
    height: 100%;
    width: 100%;
  }

  .membership-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .membership-card {
    flex: none;
    width: 90%;
    max-width: 350px; 
    height: auto;
    min-height: 400px;    
    box-sizing: border-box; 
    margin: 0 auto;
  }

  .finder-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .footer-socials {
    margin-top: 10px;
  }
}

/* Mobile */
@media screen and (max-width: 600px) {
  .welcome-textbox h1 {
    font-size: 4rem;
  }

  .welcome-textbox p {
    font-size: 2rem;
  }
  
    nav ul {
    flex-direction: column;
    gap: 10px; 
    padding: 0;
    margin: 0;
  }

  nav li {
    width: 100%;
    text-align: center;
  }

  nav a {
    font-size: 0.9rem;
    padding: 8px 12px; 
    display: inline-block;
  }

  nav {
    padding: 10px 0;
  }
  
  .about-image {
max-height: 300px;
  }

  .finder-map {
    max-width: 90%;
    height: 250px;
  }

    .membership-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .membership-card {
    flex: none; 
    width: 90%;           
    max-width: 350px;     
    height: auto;          
    min-height: 400px;    
    box-sizing: border-box; 
    margin: 0 auto;
  }
}