
:root {
  --primary-color: #0a9396;
  --secondary-color: #005f73;
  --link-color: #005a9c;
  --background-color: #f9f9f9;
  --container-bg: #fff;
  --text-color: #333;
  --muted-text: #555;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 2rem 0;
  font-size: 16px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--container-bg);
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

header h1 {
  margin: 0 0 0.2em 0;
  color: var(--secondary-color);
  font-size: 2.2em;
}

header p {
  margin: 0;
  font-style: italic;
  color: var(--muted-text);
}

section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

section h2 {
  color: var(--primary-color);
  font-size: 1.5em;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: text-decoration 0.15s, color 0.15s;
}

a:hover,
a:focus {
  text-decoration: underline;
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Navigation */
nav {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  padding: 0 1rem;
}

nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
}

nav a {
  color: var(--link-color);
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--muted-text);
  text-align: center;
}

/* Hero image */
.hero {
  display: block;
  margin: 0 auto 0.5rem auto;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.hero-wrap {
  display: block;
}

/* Improve hero responsiveness */
.hero {
  width: 160px;
  height: 160px;
}

.hero[src$=".svg"] {
  background: linear-gradient(180deg,var(--primary-color),var(--secondary-color));
}

/* Contact form */
.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  max-width: 480px;
}
.contact-form label {
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-form button {
  width: max-content;
  margin-top: 0.5rem;
}

.form-feedback {
  padding: 0.5rem 0.25rem;
  font-size: 0.95rem;
}

button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
button:hover, button:focus {
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
    margin: 0.5rem;
  }
  header h1 {
    font-size: 1.5em;
  }
  section {
    margin-bottom: 1rem;
  }
  nav ul {
    gap: 0.5rem;
  }
}