/* Add styles here */

body {
  background-color: #ffffff;
  color: #111111;
  font-family: sans-serif;
  transition: background-color 0.3s, color 0.3s;
  padding: 2rem;
}

body.dark {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

#theme-toggle {
  padding: 0.5rem 1.2rem;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  float: right;
}

#theme-toggle:hover {
  opacity: 0.7;
}

/* Contact Form */
.contact-section {
  max-width: 520px;
  margin: 3rem auto 0;
}

.contact-section h2 {
  margin-bottom: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #aaa;
  border-radius: 6px;
  font-size: 1rem;
  background: transparent;
  color: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #555;
}

body.dark .form-group input,
body.dark .form-group textarea {
  border-color: #666;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: #aaa;
}

#contact-form button[type="submit"] {
  padding: 0.6rem 1.4rem;
  border: 2px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
}

#contact-form button[type="submit"]:hover {
  opacity: 0.7;
}

#form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  min-height: 1.2em;
}
