/* ============================== */
/* ===== CONTACT PAGE ONLY ======= */
/* ============================== */

body.contact {
  margin: 0;
  min-height: 100vh;

  font-family: "Montserrat", Arial, sans-serif;

  /* Background gradient (page-only for now) */
  background: linear-gradient(
    to bottom,
    #4457EE 10%,
    #6E7AF0 20%,
    #A6A3E8 48%,
    #DDB7EB 53%,
    #F1B3A3 66%,
    #E78A6E 76%,
    #F6C46A 84%,
    #BFAE7A 87%,
    #6B7C8F 92%,
    #364E6E 100%
  );

  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* Page container (local copy for contact only) */
body.contact .page {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 2.25rem 0 3.5rem;
}

/* Header/nav (local copy for contact only) */
body.contact header {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 16px 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.contact .hero-links {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 0;
}

body.contact .hero-links a {
  text-decoration: none;
  font-weight: bold;
  color: #F2F4F8;

  padding: 0.4rem 0.75rem;
  border-radius: 999px;

  transition: background-color 0.2s ease, transform 0.2s ease;
}

body.contact .hero-links a:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

body.contact .hero-links a:focus {
  outline: 3px solid rgba(252, 246, 207, 0.8);
  outline-offset: 3px;
}

/* The contact “lovely box” */
body.contact .contact-card {
  width: min(720px, 92vw);
  margin: 2rem auto 0;
  padding: 2rem 1.75rem;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);

  color: rgba(255, 255, 255, 0.95);
}

body.contact .contact-card h1 {
  margin: 0 0 0.75rem;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
}

body.contact .contact-intro {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

body.contact .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

body.contact .field-full {
  grid-column: 1 / -1;
}

body.contact .label-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

body.contact input,
body.contact textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 15, 0.20);

  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;

  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

body.contact textarea {
  resize: vertical;
  min-height: 140px;
}

body.contact input:focus,
body.contact textarea:focus {
  outline: none;
  border-color: rgba(252, 246, 207, 0.95);
  background: rgba(10, 10, 15, 0.26);
  transform: translateY(-1px);
}

body.contact .btn {
  align-self: flex-start;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);

  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  letter-spacing: 0.02em;

  cursor: pointer;

  transition: transform 0.15s ease, background-color 0.15s ease;
}

body.contact .btn:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

body.contact .btn:focus {
  outline: 3px solid rgba(252, 246, 207, 0.8);
  outline-offset: 3px;
}

/* Netlify honeypot hidden field */
body.contact .hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Small reassurance text */
body.contact .contact-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer (local copy for contact only) */
body.contact footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 32px 16px;
  background: transparent;
  color: #fcf6cf;
}

/* Responsive: stack fields on phones */
@media (max-width: 700px) {
  body.contact .form-grid {
    grid-template-columns: 1fr;
  }

  body.contact .btn {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}
