/* Contact page styles (main.css handles global typography + variables) */

.contact-header h1 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(47, 187, 170, 0.30),
    0 0 22px rgba(47, 187, 170, 0.18);
}


/* Header subtitle (scoped to contact page) */
.contact-page header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--H2H3P-Colour);
  margin: 0.75rem 0 1.25rem;
}

/* Layout */
.contact-section {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(720px, 100%);
  margin: 0 auto 0.75rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.form-row label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--H2H3P-Colour);
}

/* Inputs */
.contact-card input,
.contact-card textarea,
.contact-card select {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(47, 187, 170, 0.75) !important;
  background-color: #f5fffb !important;
  color: var(--color-text);
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus {
  border-color: #2fbbaa !important;
  box-shadow: 0 0 0 3px rgba(47, 187, 170, 0.18) !important;
}

/* Submit button (inherits .tag styling from main.css) */
.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

/* Flash messages */
.flash-messages {
  margin: 1rem auto 0;
  width: min(720px, 100%);
}

.flash {
  background: rgba(47, 187, 170, 0.12);
  border: 1px solid rgba(47, 187, 170, 0.45);
  color: #249988;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
}

/* Slightly tighter bottom spacing on this page */
body.contact-page {
  padding-bottom: 10px;
}

/* Hides titles in section */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
