/* Contact Page Specific Styles */

/* Page Title */
main h1 {
  text-align: center;
}

/* Form Container */
form {
  transition: box-shadow 0.3s ease;
}

form:hover {
  box-shadow: var(--shadow-lg);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
textarea {
  background-color: var(--white);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
  outline: none;
}

/* Submit Button */
button[type="submit"] {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Links Section */
main > div:last-of-type {
  margin-top: 2rem;
}

main > div:last-of-type a {
  transition: all 0.2s ease;
}

main > div:last-of-type a:hover {
  transform: translateX(4px);
}

/* Dark Mode Adjustments */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] textarea {
  background-color: var(--primary-dark);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 140, 90, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  form {
    padding: 1.5rem;
  }
  
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

