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

:root {
  --accent: #0ea5e9;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #fafafa;
  color: #1a1a2e;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero-content { max-width: 600px; margin: 0 auto; }

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  margin-bottom: 16px;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.hero-name { font-size: 2rem; font-weight: 700; margin-bottom: 4px; }
.hero-title { font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.hero-location { font-size: 0.9rem; color: rgba(255,255,255,0.5); }

.main { max-width: 640px; margin: 0 auto; padding: 40px 20px; }

.section { margin-bottom: 36px; }
.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.about-text { font-size: 1rem; color: #444; line-height: 1.8; }

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid;
}

.footer {
  text-align: center;
  padding: 24px;
  color: #aaa;
  font-size: 0.85rem;
}

/* Inline SVG icons scale with the text they sit in. */
.icon { width: 1em; height: 1em; vertical-align: -0.125em; }
