/* ============================================
   GAMEON — CONTACT PAGE
   ============================================ */

/* ══ CONTACT HERO ════════════════════════════
   Figma specs: height 620px, heading top 242px, left 68px
   ═══════════════════════════════════════════ */
.contact-hero {
  position: relative;
  height: 38.75rem; /* 620px ÷ 16 */
  overflow: hidden;
  background: #000;
}

.contact-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/gameon_full_stadium.png');
  background-size: cover;
  background-position: center;
}

.contact-hero-content {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.contact-hero-heading {
  position: absolute;
  left: 4.25rem; /* 68px ÷ 16 */
  top: 15.125rem; /* 242px ÷ 16 */
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 4.875rem; /* 78px ÷ 16 */
  line-height: 5.25rem; /* 84px ÷ 16 */
  color: #FFFFFF;
  text-transform: uppercase;
  max-width: 52.375rem; /* 838px */
}

.contact-hero-desc {
  position: absolute;
  left: 4.25rem; /* 68px ÷ 16 */
  top: 29rem; /* 464px ÷ 16 */
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 1.1875rem; /* 19px ÷ 16 */
  line-height: 1.4375rem; /* 23px ÷ 16 */
  color: #FFFFFF;
  max-width: 40.625rem; /* 650px */
}

/* Responsive */
@media (max-width: 768px) {
  .contact-hero {
    height: auto;
    min-height: 38rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 3rem;
    width: 100%;
  }
  .contact-hero-heading {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    font-size: clamp(3.2rem, 11vw, 4.8rem);
    line-height: 1.1;
    max-width: 100%;
    margin: 0;
  }
  .contact-hero-desc {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 100%;
    margin-top: 1.25rem;
  }
}

/* ══ CONTACT FORM SECTION ══════════════════ */
.contact-section {
  position: relative;
  background: #000000; /* Changed from #111111 to black */
  padding: 6rem 0 5rem 0; /* Added 5rem bottom padding */
  color: #fff;
  overflow: hidden;
}

.contact-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  z-index: 2; /* Above the background image */
  padding: 0 4.25rem; /* Added horizontal padding here instead */
}

.contact-left {
  max-width: 34.4375rem; /* 551px */
  padding-top: 2rem;
}

.contact-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.0625rem; /* 65px */
  line-height: 4.6875rem; /* 75px */
  font-weight: 400;
  color: #FFFFFF;
}

.contact-right {
  flex: 1;
  max-width: 42.9375rem; /* 687px */
}

.contact-form {
  background: #000000;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.14);
  border-radius: 2.875rem; /* 46px */
  padding: 3.5rem; /* Restored to generous padding */
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Restored to 2rem */
}

.form-row {
  display: flex;
  gap: 2rem; /* Restored to 2rem */
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Restored to 0.5rem */
}

.form-group label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.2;
  color: #FFFFFF;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: 0.795122px solid #C7D5E1;
  border-radius: 0.6875rem; /* 11px */
  padding: 0.8rem 1rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.92rem; /* 14.72px */
  color: #FFFFFF;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #FFFFFF;
  opacity: 0.4;
}

.form-group textarea {
  height: 8.4375rem; /* 135px */
  resize: none;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  appearance: none; /* Remove default arrow */
  background: transparent;
}

.select-wrap select option {
  background-color: #000000;
  color: #FFFFFF;
}

/* Custom arrow for select */
.select-wrap::after {
  content: '›';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
  opacity: 0.5;
}

.form-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 10.875rem; /* 174px */
  padding: 0.8rem 2.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem; /* 28px */
  line-height: 1;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.form-submit:hover {
  opacity: 1;
  background: #FFFFFF;
  color: #000000;
}

/* Background Image */
.contact-bg-img {
  position: relative;
  width: 100%;
  height: 25.7rem; /* 411.54px */
  margin-top: -20rem; /* Increased from -15rem to overlap more */
  z-index: 1;
}

.contact-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .contact-left {
    text-align: center;
    max-width: 100%;
  }
  .contact-right {
    max-width: 100%;
  }
  .contact-bg-img {
    margin-top: 2rem; /* Don't overlap on mobile! */
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0 0 0; /* Reset section padding */
  }
  .contact-container {
    padding: 0 0.75rem; /* Even smaller padding for maximum width on mobile */
  }
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-form {
    padding: 1.25rem; /* Compact padding inside form card */
  }
  .form-submit {
    align-self: center;
  }
}
