* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

header {
  background: #2c3e50;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.hero {
  background: white;
  border-radius: 8px;
  padding: 3rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero p {
  margin-bottom: 1.25rem;
  color: #444;
}

.hero-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2c3e50;
  border-left: 4px solid #2c3e50;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: 0.9em;
  color: #888;
  font-style: italic;
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.project-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.project-list li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  position: relative;
}

.project-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #aaa;
}

.hero-closing {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #555;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  margin-top: 3rem;
}

/* Contact page */
.contact-card {
  background: white;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-weight: 500;
  color: #2c3e50;
  font-size: 0.95rem;
}

.required {
  color: #c0392b;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2c3e50;
  box-shadow: 0 0 0 3px rgba(44,62,80,0.12);
  background: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.form-submit:hover {
  background: #1a252f;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.95rem;
  min-height: 1.4em;
}

.form-status.success {
  color: #1a7a3a;
}

.form-status.error {
  color: #c0392b;
}
