/* ============================
   Contact Page & Form
   ============================ */

.contact-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-header h1 {
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.contact-header p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ========== FORM LAYOUT ========== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* Honeypot – invisible to real users, catches bots that auto-fill */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.contact-field input,
.contact-field textarea {
  background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(10,10,10,0.9));
  border: 1px solid rgba(80,80,80,0.35);
  border-radius: 8px;
  color: rgba(255,255,255,0.9);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.85rem;
  outline: none;
  transition: border-color 0.09s ease, box-shadow 0.09s ease;
  resize: none;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(184,134,11,0.7);
  box-shadow: 0 0 18px rgba(184,134,11,0.35);
}

.contact-field input.cf-invalid,
.contact-field textarea.cf-invalid {
  border-color: rgba(196,30,58,0.8);
  box-shadow: 0 0 12px rgba(196,30,58,0.3);
}

/* ========== STATUS MESSAGE ========== */

.cf-status {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.cf-status.is-success {
  border-color: rgba(45,80,22,0.6);
  background: rgba(45,80,22,0.18);
  color: rgba(180,255,160,0.9);
  box-shadow: 0 0 16px rgba(45,80,22,0.5);
}

.cf-status.is-error {
  border-color: rgba(196,30,58,0.6);
  background: rgba(196,30,58,0.12);
  color: rgba(255,160,160,0.9);
  box-shadow: 0 0 12px rgba(196,30,58,0.3);
}

/* ========== SUBMIT BUTTON ========== */
/* Mirrors .nav-button style from index.html */

.cf-submit {
  align-self: center;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(20,20,20,0.8), rgba(10,10,10,0.9));
  border: 1px solid rgba(80,80,80,0.3);
  cursor: pointer;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  overflow: hidden;
  transition: all 0.09s ease;
}

.cf-submit::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0), transparent);
  opacity: 0;
  transition: all 0.09s ease;
}

.cf-submit:hover:not(:disabled)::after {
  background: linear-gradient(90deg, transparent, rgba(184,134,11,1), transparent);
  opacity: 1;
  box-shadow: 0 0 20px rgba(184,134,11,0.8), 0 0 40px rgba(184,134,11,0.4);
}

.cf-submit:hover:not(:disabled) {
  border-color: rgba(184,134,11,0.6);
  background: linear-gradient(135deg, rgba(30,25,20,0.9), rgba(20,15,10,0.95));
  box-shadow: 0 0 30px rgba(184,134,11,0.3), inset 0 0 20px rgba(184,134,11,0.1);
  transform: translateY(-2px);
}

.cf-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cf-submit .nav-text {
  position: relative;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: all 0.09s ease;
}

.cf-submit:hover:not(:disabled) .nav-text {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 15px rgba(184,134,11,0.8), 0 0 30px rgba(184,134,11,0.4);
}

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

@media (max-width: 500px) {
  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding-bottom: 140px;
  }
}