/* HTML=================================================================================================*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* match your header height */
}

/* BASE STYLES ===========================================================================================*/

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #e8f0ff, #f5f9ff);
  color: #1a3e72;
}

main {
  padding: 10px 20px;
}

section {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

section h2 {
  font-weight: 700;
  color: #2258a5;
}

section p {
  font-size: 1.0rem;
}


/* NAV BAR ================================================================================================*/

.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  z-index: 10;
  gap: 10px 30px;
}

.logo img {
  height: 50px;
}

.hamburger-menu {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.nav-links a {
  text-decoration: none;
  color: #2258a5;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover { 
  color: #ff6b3d; 
}


/* ABOUT SECTION ================================================================================================*/

.about-horizontal-image img {
  width: 100%;
  /* height: auto; */
  border-radius: 16px; /* optional rounded corners */
  object-fit: cover;
  /* display: block; */
  /* margin: 0 auto; */
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.about-text {
  flex: 1;
  min-width: 200px;
  align-items: center;   /* horizontally center */
  text-align: center;    /* center text */
}

.about-text h1 {
  font-size: 2rem;
  color: #2258a5;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.1rem;
  margin: 20px 0;
}

.about-logo {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.about-logo img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

/* LOCATION SECTION  ====================================================================*/

/* CURRENT SESSION SECTION ====================================================================*/

.current-session-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 20px 40px;
}

.current-session-left {
  flex: 1;
  min-width: 200px;
  text-align: left;
  align-self: start;
}

.current-session-left h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.current-session-left p { 
  margin: 10px 0; 
}

.current-session-right {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.current-session-right img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  align-self: center;
  border-radius: 8px;
}

/* STAY CONNECTED ====================================================================*/

.stay-connected-section {
  display: flex;
  flex-direction: column;
  gap: 20px; 
}

.row1-FB,
.row2-TeamReach,
.row3-email{
  display: flex;
  align-items: center;
  gap: 50px;
}

.logo-fb img,
.logo-teamreach img,
.logo-email img {
  max-height: 110px;
  max-width: 110px;
  /* width: 100%; */
  /* height: 100%; */
  object-fit: cover;
  /* display: block; */
  border-radius: 16px;/* optional rounded corners */
}

.text-fb p,
.text-teamreach p,
.text-email p {
  max-width: 500px;
}


/* FREQUENTLY ASKED QUESTIONS ====================================================================*/

.faq-subsection {
  max-width: 700px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: #f4f4f4;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  color: inherit;
  text-decoration: none;
}

.faq-question:hover {
  background: #e0e0e0;
}

.faq-question:visited {
  color: inherit;
}

.faq-answer {
  display: none;
  padding: 1rem;
  background: #fafafa;
  border-left: 2px solid #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* TOURNAMENT SECTION ====================================================================**/
.tournament-section {
  /* padding: 20px; */
  /* background-color: #f0f4fb; */
  /* max-width: 1200px; */
  /* margin: 0 auto 40px; */
  /* border-radius: 8px; */
  padding-bottom: 80px;
}

.tournament-images {
  display: flex;
  gap: 20px;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
}

.tournament-image {
  /* background-color: #c9d6e9; */
  /* display: flex; */
  max-width: 380px;
  max-height: 300px;
  justify-content: center;
  align-items: center;
  /* color: #3a4e6d; */
  /* font-weight: 600; */
  border-radius: 8px;
  /* font-size: 1.1rem; */
  /* text-align: center; */
}

.tournament-image img {
  /* max-width: 380px;
  max-height: 300px; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* max-width: 100%; */
  /* height: auto; */
  /* max-height: 300px; */
  /* align-self: center; */
}

/* T-SHIRTS SECTION ====================================================================**/

.tshirt-right-image img {
  max-width: 800px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* COORDINATORS SECTION ====================================================================**/

.coordinator {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.coordinator img {
  width: 250px;
  /* height: 250px; */
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  /* position: absolute;  */
  /* bottom: 0; */
}

.coordinator-info {
  flex: 1;
  min-width: 280px;
  max-width: 800px;
  color: #1a3e72;
}

/* RESPONSIVE DESIGN ====================================================================*/

@media (max-width: 768px) {
  .navbar {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 0;
  }

  .logo img {
    height: 40px;
  }

  .nav-links {
    display: none;
    gap: 0;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .hamburger-menu {
    display: block; /* Show hamburger menu on mobile */
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .about-text h1 {
    font-size: 1.5rem;
  }

  .about-logo img {
    /* max-width: 100%; */
    /* height: auto; */
    max-height: 250px;
  }

  .current-session-content {
    flex-direction: column;
    text-align: center;
  }

  .row1-FB,
  .row2-TeamReach,
  .row3-email {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .text-fb p,
  .text-teamreach p, 
  .text-email p {
    max-width: 500px;
    margin-top: 5px;
  }

  .tournament-images {
    flex-direction: column;
    gap: 15px;
  }

  .tshirts-section {
    max-width: 100%;
  }

  .coordinator {
    flex-direction: column;
    align-items: center;
    gap: 0px; 
  }

  .coordinator img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .coordinator-info {
    min-width: auto;
    width: 100%;
    text-align: center;
  }

}

/* FOOTER ====================================================================*/

.footer {
  background-color: #3070b3; /* deep blue background */
  color: white; /* white text */
  padding: 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0;
  font-size: 1rem;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.social-links a:hover {
  text-decoration: underline;
}

.social-links span {
  color: white;
}
