/* Color Variables */
:root {
  --main-color: red;
  --secondary-color: black;
  --tertiary-color: white;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  line-height: 1.6;
}

/* Section Spacing */
section {
  padding: 3rem 1.5rem;
}




































/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  background-color: var(--tertiary-color);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Positioned on the Left */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
}

.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  z-index: 1000; /* Lower than close button */
  pointer-events: auto; /* Prevents blocking clicks */
}

/* Add the logo inside the menu */
.nav-menu-logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
}

/* Smooth Open & Close Animations */
@keyframes menuOpen {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuClose {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.nav-links.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  animation: menuOpen 0.4s ease-in-out;
}


.nav-links.hide {
  animation: menuClose 0.4s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color: var(--tertiary-color);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  transition: color 0.3s ease-in-out;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--main-color);
}

/* Close Button */
.close-menu {
  position: absolute;
  top: 10px; /* Adjusted to prevent it from being pushed down */
  right: 10px; /* Moves it further away from edges */
  font-size: 2rem; /* Keeps size readable */
  color: var(--tertiary-color);
  background: none;
  border: none;
  padding: 10px; /* Ensures a bigger clickable area */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001; /* Makes sure it's above everything */
  pointer-events: auto; /* Ensures it's clickable */
}

.close-menu:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Burger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 300;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 30px;
  justify-content: center;
  align-items: center;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background-color: var(--main-color);
  transition: 0.3s ease-in-out;
}

/* Full-Screen Mobile Menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 2rem;
    background: var(--main-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 101;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links.hide {
    animation: menuClose 0.4s ease-in-out;
  }

  .nav-links li a {
    color: var(--tertiary-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 0;
    display: block;
    transition: background 0.3s ease-in-out;
  }

  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }
}





















































/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 60vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CROPPED BACKGROUND VIDEO */
.hero .background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* Ensures the video covers the area */
  clip-path: inset(25% 0 25% 0); /* Crop top and bottom */
  z-index: -1; /* Sends it behind everything */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfectly center */
  z-index: 2;
  color: var(--tertiary-color);
  text-align: center;
  max-width: 90%;
  padding: 0 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.hero-content .subheading {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.5;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
}

.btn {
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  background-color: var(--main-color);
  color: var(--tertiary-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background-color: var(--tertiary-color);
  color: var(--secondary-color);
  border: 2px solid var(--main-color);
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content .subheading {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}


























/* Section Titles */
.section-title, .section-subtitle {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--main-color);
  text-transform: uppercase;
  text-align: center;
}





































/* Backgrounds */
.about-section,
.offers-section,
.contact-section {
  background-color: var(--tertiary-color);
}

.coaches,
.reviews-section {
  background-color: #f8f8f8;
}

/* ABOUT & COACHES SECTION */
.about-section, .coaches {
  padding: 3rem 1.5rem;
}

/* Coaches Grid */
.coaches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Coach Card (Modern Boxed Style) */
.coach-card {
  background-color: var(--secondary-color); /* Black */
  color: var(--tertiary-color); /* White */
  border-radius: 20px;
  overflow: hidden;
  max-width: 350px;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-in-out;
}

/* Show cards when they enter viewport */
.coach-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Coach Name */
.coach-name {
  font-size: 2rem;
  font-weight: bold;
  color: var(--tertiary-color);
  margin-bottom: 1rem;
}

/* Coach Image */
.coach-image {
  width: 100%;
  height: 250px; /* Adjust to control vertical cropping */
  border-radius: 10px;
  object-fit: cover; /* Ensures cropping while keeping aspect ratio */
  object-position: center; /* Centers the image */
  margin-bottom: 1rem;
}

/* Coach Info */
.coach-info {
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  padding: 1.5rem;
  background: none; /* Removes the background */
  border-radius: 0; /* Removes rounded box */
  box-shadow: none; /* Removes shadow */
  color: var(--tertiary-color); /* Ensure text remains white */
}


/* Responsive Design */
@media (max-width: 768px) {
  .coaches-grid {
    flex-direction: column;
    align-items: center;
  }

  .coach-card {
    width: 90%;
  }
}





























/* Offers Section */
.offers-section {
  background-color: var(--tertiary-color);
  padding: 4rem 2rem;
  text-align: center;
}

/* Slider Container */
.offers-slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

/* Offers Slider */
.offers-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  
  /* Enables Snap Scrolling */
  scroll-snap-type: x mandatory;
  scroll-padding: 0 10vw;
}

/* Hide Scrollbar */
.offers-slider::-webkit-scrollbar {
  display: none;
}

/* Each Offer Card Snaps into Place */
.offer-card {
  scroll-snap-align: center;
  background: #f8f8f8;
  border-radius: 15px;
  overflow: hidden;
  min-width: 300px;
  max-width: 350px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Offer Image */
.offer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.offer-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  text-align: left;
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .offer-card {
    min-width: 280px;
    max-width: 300px;
  }
}
































/* REVIEWS SECTION */
.reviews-section {
  padding: 2rem;
}

.review {
  background-color: var(--tertiary-color);
  border: 2px solid var(--main-color);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  text-align: center;
}

.review-text {
  font-style: italic;
}

.review-author {
  font-weight: bold;
  color: var(--main-color);
}



























/* CONTACT SECTION */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
}





































/* FOOTER */
footer {
  background-color: var(--main-color);
  color: var(--tertiary-color);
  text-align: center;
  padding: 2rem 1rem;
}

/* HAMBURGER MENU FUNCTION */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* Limit text width for readability */
.hero-content p,
.coach-info p,
.offer-content ul,
.about-club p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

  .hero-content,
  .coach-info,
  .offer-content {
    padding: 0 1rem;
  }

  .coach-info p,
  .offer-content ul,
  .about-club p {
    font-size: 1rem;
    text-align: left;
  }
}

/* Updated Coach Image */
.coach-image {
  width: 100%;
  height: 300px; /* consistent with offer cards */
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
}

/* Updated Offer Image */
.offer-card img {
  width: 100%;
  height: 300px; /* consistent with coach images */
  object-fit: cover;
  object-position: center;
  border-radius: 10px 10px 0 0;
}

/* Improved Section Backgrounds for Contrast */
.about-section,
.contact-section {
  background-color: var(--tertiary-color); /* white */
}

.coaches,
.offers-section,
.reviews-section {
  background-color: #f2f2f2; /* light gray */
}

/* Subtle separator between sections */
section {
  padding: 4rem 1.5rem;
  border-bottom: 1px solid #ddd;
}

/* Review Slider */
.review-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem;
  scroll-padding: 1rem;
}

.review-slider::-webkit-scrollbar {
  display: none;
}

.review {
  scroll-snap-align: center;
  background-color: var(--tertiary-color);
  border: 2px solid var(--main-color);
  padding: 1.5rem;
  border-radius: 10px;
  min-width: 300px;
  max-width: 400px;
  flex: 0 0 auto;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  background-color: var(--main-color);
  color: var(--tertiary-color);
  text-align: center;
  padding: 4rem 2rem;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background-color: var(--tertiary-color);
  color: var(--main-color);
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background-color: transparent;
  border: 2px solid var(--tertiary-color);
  color: var(--tertiary-color);
}

.google-reviews-placeholder {
  background-color: #f2f2f2;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 2rem;
}

.google-reviews-placeholder p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.google-reviews-placeholder .btn.disabled {
  background-color: grey;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}