/* General Styles */
body {
  margin: 0;
  font-family: 'Adelphi PE', Arial, sans-serif; /* Set main font */
  box-sizing: border-box;
}

h1 {
  font-weight: 700; /* Bold */
}

p {
  font-weight: 300; /* Light */
  font-size: 30px
}

/* Make sure body and html elements are 100% width */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  background-color: #0099cc;
  width: 100%; /* Ensures full width, but no overflow */
  box-sizing: border-box; /* Include padding and border in the total width */
  z-index: 999;
}

.logo-and-lang {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 90px;
  height: auto;
}

.language-toggle {
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.language-toggle a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  margin: 0 5px;
  font-weight: 600;
}

.language-toggle a:hover {
  color: #2287ca;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 30px;
  height: 4px;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.open .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (max-width: 768px) {

  html, body {
      overflow-x: hidden; /* Prevent horizontal scrolling */
      scroll-behavior: smooth;
  }

  .navbar {
      flex-wrap: wrap; /* Stack items on smaller screens */
      position: relative; /* Ensure proper stacking */
      z-index: 10; /* Ensure navbar stays above other elements */
      
  }

  /* Logo and Language Toggle */
  .logo-and-lang {
      display: flex;
      align-items: center;
      width: 100%;
      justify-content: space-between;
      margin-bottom: 10px;
  }

  /* Hamburger Menu */
  .hamburger-menu {
      display: flex; /* Show hamburger menu on mobile */
      position: relative; /* Ensure it stacks properly */
      z-index: 20; /* Higher than the logo */
  }

  /* Hide nav links by default on small screens */
  .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      gap: 10px;
      padding: 10px;
      background-color:#0099cc;
      position: absolute;
      top: 80px;
      left: 0;
  }

  /* Show the nav links when the 'active' class is added */
  .nav-links.active {
      display: flex;
  }

  /* Make nav link items spaced with borders on mobile */
  .nav-links li {
      border-bottom: 1px solid white;
      padding: 10px 0;
  }

  .nav-links li:last-child {
      border-bottom: none;
  }
}

/* Hero Section */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  text-align: center;
  margin-bottom: 0;
  overflow: hidden; /* Ensures the image doesn't overflow */
  background-color: black;
}

.hero-content {
  z-index: 2; /* Place the text content above the image */
  position: relative;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes sure the image covers the section */
  z-index: 1;
  opacity: 0.6;
  
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0 0 15px 0;
  font-family: 'Adelphi PE', Arial, sans-serif; /* Adelphi PE font */
  font-variation-settings: "wght" 900; /* Use "Display Bold" weight */
  font-weight: 900; /* Fallback for older browsers */
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: 'Adelphi PE', Arial, sans-serif; /* Optional: match header */
  font-weight: 400; /* Normal weight */
}

/* Updated CTA Button in Hero Section */
.hero-content .cta {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: transparent; /* Remove orange background */
  color: white;
  border: 2px solid white; /* Add white border */
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Add transition for color changes */
  font-family: 'Adelphi PE', Arial, sans-serif;
  font-weight: 600; /* Semi-bold for button */
  text-decoration: none;
}

.hero-content .cta:hover {
  background-color: white; /* White background on hover */
  color: #0099cc; /* Change text color to blue on hover */
  border-color: #0099cc; /* Change border color to blue on hover */
}



/* Gymnastics Section Styling */
#gym {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
  background-color: #0099cc; /* Blue background */
  color: white;
  margin-top: 0; /* Ensure no margin pushing content down */
}

/* Header Section */
.gymnastics-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start; /* Align items at the top */
  width: 100%;
  margin-bottom: 20px;
  gap: 25px;
  flex-wrap: wrap; /* Wrap content if needed for smaller screens */
}

/* Info-line items inside the header */
.info-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-wrap: wrap; /* Wrap content if needed for longer text */
}

.info-title {
  font-weight: bold;
  font-size: 1.2rem;
}

.info-text {
  font-size: 1rem;
  word-wrap: break-word; /* Ensures long text breaks to the next line */
  max-width: 200px; /* Ensure the text doesn't overflow */
}

/* Grid layout for content */
.gym-image-row {
display: grid;
grid-template-columns: 1fr 1fr; /* Two equal columns */
gap: 20px; /* Space between columns */
width: 100%;
margin-top: 20px;
}

/* Text Section */
.gym-text {
display: flex;
flex-direction: column;
justify-content: center;
padding-right: 15px;
}

/* Image Section */
.gym-image {
display: flex;
justify-content: center;
align-items: center;
}

.gym-image img {
max-width: 100%; /* Make the image fill its container */
height: auto;    /* Maintain the aspect ratio */
}

/* General description Section */
.gymnastics-description p {
margin-bottom: 30px;
font-size: 1.1rem;
}

/* Key Skills Section */
.key-skills {
margin-top: 20px;
}

.skills-header h2 {
font-size: 1.6rem;
font-weight: bold;
margin-bottom: 10px;
text-align: left;
}

.skills-list {
list-style-type: disc;
margin-left: 20px;
font-size: 1.1rem;
line-height: 1.5;
}

.skills-list li {
margin-bottom: 8px;
}



/* Mobile layout */
@media (max-width: 768px) {
  .gym-image-row {
      display: flex;
      flex-direction: column; 
      align-items: center;    
  }

  .gym-text {
      order: 1;  
  }

  .gym-image {
      order: 2;  
      width: 250%; 
      margin-top: 20px; 
  }

  .gym-image img {
      width: 100%; 
  }
}





/* Info Line styling */
.info-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
}

/* Header Text Styling */
.info-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  position: relative;
}

.info-title::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
}

.info-text {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Combined Description and Image Section */
.gymnastics-description-and-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

/* Description text styling */
.gymnastics-content-left {
  width: 60%; /* Adjust text section width */
  font-size: 1.2rem;
  line-height: 1.6;
}










/* Footer Styling */
.footer {
  background-color: #123456; /* Replace with your dark blue color */
  color: white;
  padding: 40px 20px;
  text-align: left;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 0 10px;
}

.footer-column h3 {
  font-size: 1.5em; /* Increased header size */
  margin-bottom: 15px;
  color: white;
}

.footer-column p, 
.footer-column li, 
.footer-credit {
  font-size: 1em;
}

.footer-column ul {
  list-style-type: disc;
  margin-left: 0; /* Align bullet points with header */
  padding-left: 0;
}

.footer-column ul li {
  margin-left: 20px; /* Add indentation to the list items */
}

.footer-column a {
  color: white;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-icon {
  width: 30px;
  height: 30px;
}

.footer-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-logo img {
  max-width: 150px; /* Increased logo size */
  height: auto;
}

.footer-credit {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
}
