/* ============================================
   AGILOX Japan - Contact Page
   contact.html
   ============================================ */

/* --- Contact Hero (Compact) --- */
.contact-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #1b2227;
  margin-top: var(--header-height);
}

.contact-hero h1 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.contact-hero p {
  color: var(--color-white);
  font-size: 18px;
}

/* --- Contact Section (Form + Sidebar) --- */
.contact-section {
  background: var(--color-white);
  padding: 80px 0;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* --- Contact Form --- */
.contact-form__group {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contact-form__required {
  color: #e53935;
  margin-left: 4px;
  font-size: 14px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-green);
}

.contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form__submit {
  display: inline-block;
  padding: 16px 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  border: 2px solid var(--color-green);
  background: var(--color-green);
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition);
}

.contact-form__submit:hover {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

/* --- Contact Sidebar --- */
.contact-sidebar {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 40px;
  border-radius: 4px;
  align-self: start;
}

.contact-sidebar h3 {
  color: var(--color-green);
  margin-bottom: 24px;
}

.contact-sidebar__section {
  margin-bottom: 30px;
}

.contact-sidebar__section:last-child {
  margin-bottom: 0;
}

.contact-sidebar__heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-green);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.contact-sidebar p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-white);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .contact-hero {
    height: auto;
    min-height: 0;
    padding: 100px 20px 50px;
  }

  .contact-section {
    padding: 50px 0;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    padding: 30px;
  }

  .contact-form__submit {
    width: 100%;
  }
}
