/* Contact Page Styles */

.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--wa-color-primary);
}

.contact-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--wa-color-neutral-600);
  max-width: 500px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--wa-color-neutral-0);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-stack {
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--wa-color-neutral-700);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

.form-help-text {
  color: var(--wa-color-neutral-500);
  font-size: 0.875rem;
  margin-top: -0.25rem;
}

/* Honeypot field - completely hidden */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.captcha-container {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.submit-button {
  font-weight: 600;
}

.form-errors {
  margin-bottom: 1.5rem;
}

.form-errors h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.25rem;
}

.contact-privacy {
  text-align: center;
  margin-top: 2rem;
  color: var(--wa-color-neutral-500);
}

/* Footer Styles */

.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e5e5e5;
  padding: 1.5rem 1rem 1rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}


.social-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}


.social-icon {
  width: 28px;
  height: 28px;
  filter: invert(1) brightness(1.4);
}

/* GitHub link - muted style */
.social-link--muted {
  opacity: 0.6;
}

.social-link--muted:hover {
  opacity: 1;
}

.newsletter-link {
  color: var(--wa-color-neutral-100);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.newsletter-link:hover {
  color: var(--wa-color-blue-60);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--wa-color-neutral-400);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-page {
    padding: 1rem 0.5rem;
  }

  .contact-header h1 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 1.5rem 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .social-links {
    gap: 1.25rem;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

  .site-footer {
    margin-top: 3rem;
    padding: 1.25rem 1rem 0.75rem;
  }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
  .contact-form-container {
    background: rgba(30, 30, 30, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .contact-intro {
    color: var(--wa-color-neutral-400);
  }
}
