/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background: brown;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  margin-bottom: 0.5rem;
}

header .tagline {
  font-style: italic;
  color: white;
}

/* Navigation Bar */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  background: red;
  padding: 0;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 0.3rem;
  white-space: nowrap;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
}

nav ul li a:hover {
  background-color: transparent;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 1rem;
}  
#schedule-section {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#schedule-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

#schedule-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Styling the iframe */
#schedule-section iframe {
  max-width: 100%;
  width: 800px;
  height: 600px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}


/* Merchandise Section */
.merchandise-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2rem;
} 
.merchandise-img-container {
  width: 100%;
  height: 150px; /* Fixed height */
  overflow-y: auto; /* Enable vertical scrolling */
}

.merchandise-img {
  width: 100%; /* Keep image width consistent */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Prevent cropping */
}


.merchandise-item {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  width: 220px; /* Set consistent width */
  height: 350px; /* Ensure all cards have the same height */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space between image, text, and button */
}

/* Merchandise Images Container */
.merchandise-images-container {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  gap: 10px;
}

.merchandise-images {
  display: flex;
  gap: 10px;
}

.merchandise-images::-webkit-scrollbar {
  display: none;
}

.merchandise-img {
  max-height: 150px;
  /*width: 100%;*/
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
}

.merchandise-img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

/* Adjust merchandise item height to accommodate images */
.merchandise-item {
  height: auto;
  padding: 20px;
}

.merchandise-item p {
  font-size: 1rem;
  color: #333;
  margin: 10px 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-button {
  padding: 10px 15px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
}

.buy-button:hover {
  background-color: #0056b3;
}

/* Hidden Sections */
.hidden {
  display: none;
}

/* Slider Container */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  max-width: 1200px;
  margin: auto;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

/* Content (Image and Text) Container */
.slide-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: auto;
  gap: 20px;
  height: auto;
  background-color: transparent;
  padding: 0 20px;
}

/* Image Container */
.image-container {
  flex: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  margin-left: 2%;
}

.slide-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px 0 0 10px;
}

/* Text Container */
.text-container {
  flex: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: black;
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
  background-color: transparent;
  overflow: visible;
  height: auto;
}

.text-container p {
  margin: 0;
  white-space: normal;
  flex: 1;
  display: flex;
  align-items: flex-start;
}

/* Navigation Buttons */
button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 12px;
  padding: 10px 10px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 5px;
}

button.prev {
  left: 5px;
}

button.next {
  right: 5px;
}

button:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
}

/* Footer */
footer {
  background-color: brown;
  color: #fff;
  /*padding: 20px 0;*/
  position: relative;
  bottom: 0;
  width: 100%;
 /* height: 120px; */
  min-height: 80px;
  flex-shrink: 0;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-left {
  flex: 1;
}

.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left li {
  margin-bottom: 8px;
}

.footer-left a {
  color: #fff;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-center {
  flex: 1;
  text-align: center;
  font-size: 14px;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer-right img {
  width: 30px;
  height: auto;
}
.follow-text {
  margin-right: 10px; /* Space between text and icon */
  font-size: 18px; /* Adjust font size */
  font-weight: bold; /* Make the text bold */
  color:white; /* Dark gray color for the text */
  font-family: 'Arial', sans-serif; /* Font family */
  letter-spacing: 1px; /* Slight spacing between letters */
}
/* Contact Information */
#contact-us-section {
  background: transparent;
  padding: 0;
  text-align: left;
  margin-top: 2rem;
}

#contact-us-section h2 {
  margin-bottom: 1rem;
  color: black;
  text-align: left
}

#contact-us-section p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color:black;
}

#contact-us-section a {
  color: black;
  text-decoration: none;
}

#contact-us-section a:hover {
  color: #00008B;
  text-decoration: none;
}

/* Gym Addresses Section */
#gym-addresses {
  padding: 2rem;
  background: #4CAF50;
  color: white;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#gym-addresses h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.address {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #e0e0e0;
}

/* Locate Us Button */
#locate-us-button {
  background-color: #ff9800;
  color: white;
  padding: 5px 5px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 90px;
  display: inline-block;
  width: auto;
}

#locate-us-button:hover {
  background-color: #e68900;
}

/* Social Media Section */
#social-media {
  text-align: center;
  margin: 1rem 0;
}

#social-media a {
  font-size: 1.2rem;
  color: #000;
  text-decoration: none;
}

#social-media a:hover {
  text-decoration: underline;
}

/* Instagram Icon */
.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 0%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Google Form Registration Link Styling */
#registration-section a {
  display: inline-block;
  text-decoration: none;
  background-color: #007BFF;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

#registration-section a:hover {
  background-color: #0056b3;
}

/* Google Map Section */
#map-section {
  text-align: center;
  margin: 2rem 0;
}

#map-section iframe {
  width: 100%;
  max-width: 600px;
  height: 400px;
  border: 0;
  margin: 1rem 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#map-section button {
  background-color: #007BFF;
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

#map-section button:hover {
  background-color: #0056b3;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  /* Header Adjustments */
  slider {
    overflow-x: auto; /* Enable horizontal scrolling if necessary */
    padding: 0; /* Remove extra padding */
  }
  .slides {
    flex-direction: column; /* Stack slides vertically for better readability */
  }

  .slide {
    flex-direction: column; /* Stack image and text vertically */
    padding: 10px; /* Add some padding for spacing */
  }

  .slide-content {
    flex-direction: column;
    gap: 10px; /* Add spacing between the image and text */
  }

  .image-container {
    width: 100%;
    text-align: center;
  }

  .slide-image {
    max-width: 300px; /* Limit image size */
    width: 100%;
    height: auto; /* Maintain aspect ratio */
  }

  .text-container {
    text-align: center;
    font-size: 1rem; /* Adjust text size for smaller screens */
  }

  .a1{
    justify-content: left;
    align-items: center;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header .tagline {
    font-size: 0.9rem;
  }

  /* Navigation Bar */
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  /* Main Content */
  main {
    padding: 1rem;
  }

  /* Footer Adjustments */
  footer {
    text-align: center;
    padding: 1rem;
    position: relative;  /* Ensure footer stays at the bottom */
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;  /* Add padding if needed */
  }

  .footer-left, .footer-center, .footer-right {
    margin-bottom: 1rem;
    text-align: right; /* Ensure text is centered */
    width: 100%; /* Make sure they take full width */
  }

  .footer-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-left li {
    margin-bottom: 8px;
  }

  .footer-left a {
    color: #fff;
    text-decoration: none;
  }

  .footer-left a:hover {
    text-decoration: underline;
  }

  /* Social Media Section */
  #social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem; /* Add some margin for spacing */
  }

  #social-media a {
    font-size: 1.2rem;
  }

  .social-icon {
    width: 30px; /* Adjust size for visibility */
    height: 30px;
    border-radius: 50%; /* Optional: make icons circular */
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .social-icon:hover {
    transform: scale(1.1);
  }

  /* Instagram Icon */
  .social-icon.instagram {
    width: 28px;
    height: 28px;
  }

  /* Merchandise Section */
  .merchandise-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .merchandise-item {
    width: 90%;
    max-width: 300px;
  }

  #schedule-section iframe {
    width: 100%;
    height: 400px; /* Adjust height for smaller screens */
  }
  
  #schedule-section h2 {
    font-size: 1.5rem;
  }
  
  #schedule-section p {
    font-size: 0.9rem;
  }

  /* Map Section */
  #map-section iframe {
    width: 100%;
    height: 250px;
  }

  #map-section button {
    width: 100%;
  }

  /* Google Form Registration Link */
  #registration-section a {
    padding: 1rem 2rem;
  }
}