/* ================= GLOBAL ================= */
html {
  overflow-y: scroll; /* Prevent page jump */
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #111;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.center-text {
  text-align: center;
}

/* ================= HEADER ================= */
.site-header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

/* ================= LOGO ================= */
.logo {
  display: block;
  margin: 0 auto;
  max-width: 160px; /* CONSISTENT ACROSS ALL PAGES */
  width: 100%;
  height: auto;
}

/* ================= NAV (FIXED – NO MOVEMENT) ================= */
.main-nav {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap; /* prevents reordering */
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #b11226;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent; /* reserve space */
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: #b11226;
}

/* ================= LANGUAGE SWITCHER ================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  color: #b11226;
  font-weight: bold;
  white-space: nowrap;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #b11226;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent; /* reserve space */
}

.lang-switch a:hover,
.lang-switch a.active {
  border-bottom-color: #b11226;
}

/* ================= HERO ================= */
.hero h2 {
  font-size: 1.8rem;
}

/* ================= RECRUITING ================= */
.recruiting {
  background: #b11226;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  margin: 40px 0;
}

.season-badge {
  background: #000;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.recruiting-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #fff;
  color: #b11226;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

/* ================= REGISTER BUTTON ================= */
.register-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 26px;
  background: #b11226;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease;
}

.register-btn:hover {
  background: #8f0f1f;
}

/* ================= TEAM PHOTO ================= */
.team-photo {
  margin: 50px 0;
  text-align: center;
}

.team-img {
  max-width: 900px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ================= TEAMS PAGE ================= */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-card {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ================= FAQ ================= */
.faq-container {
  max-width: 900px;
  margin: 40px auto;
}

.faq-section-title {
  margin: 40px 0 15px;
  color: #b11226;
  border-bottom: 2px solid #b11226;
  padding-bottom: 5px;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 15px 20px;
  text-align: left;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
}

.faq-question.active::after {
  content: "–";
}

.faq-answer {
  display: none;
  background: #f9f9f9;
  padding: 15px 20px;
}

.faq-answer ul {
  padding-left: 20px;
}

/* ================= CONTACT ================= */
.contact-form-section {
  margin-top: 30px;
}

.contact-form-section h3 {
  text-align: center;
  margin-bottom: 20px;
}

.form-card {
  max-width: 900px;
  margin: 25px auto 0;
  padding: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-form-section iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border: none;
  border-radius: 12px;
}

.contact-notes {
  max-width: 900px;
  margin: 20px auto 0;
}

.contact-notes .form-note {
  margin: 10px 0;
}

.contact-form {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ================= MAP ================= */
.map-section {
  margin-top: 40px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #f4f4f4;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .logo {
    max-width: 130px;
  }

  .main-nav {
    gap: 14px;
    font-size: 0.95rem;
    flex-wrap: wrap;
  }

  .lang-switch {
    gap: 6px;
    margin-left: 0;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .form-card {
    padding: 10px;
    border-radius: 12px;
  }

  .contact-form-section iframe {
    border-radius: 8px;
  }
}
