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

:root {
  --text-primary: #242424;
  --text-secondary: #6b6b6b;
  --text-light: #757575;
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --border-color: #e6e6e6;
  --accent: #1a8917;
  --max-width: 960px;
}

body {
  font-family: charter, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Main Content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-color);
}

/* Hero Content Layout */
.hero-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Profile Photo */
.profile-photo {
  flex-shrink: 0;
  width: 170px;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.subtitle {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.summary {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

/* Sections */
section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

/* Experience */
.job {
  margin-bottom: 40px;
}

.job:last-child {
  margin-bottom: 0;
}

.job-header {
  margin-bottom: 12px;
}

.job-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.company {
  display: block;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 15px;
  color: var(--text-secondary);
}

.period {
  display: block;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 2px;
}

.job p {
  color: var(--text-secondary);
}

/* Skills */
.skill-group {
  margin-bottom: 24px;
}

.skill-group:last-child {
  margin-bottom: 0;
}

.skill-group h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.skill-group p {
  color: var(--text-secondary);
}

/* Education */
.education p {
  color: var(--text-secondary);
}

.education strong {
  color: var(--text-primary);
}

/* Contact */
.contact p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-links a {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: #0f5c0f;
  text-decoration: underline;
}

/* Footer */
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  text-align: center;
}

footer p {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  font-size: 14px;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    margin: 0 auto;
  }

  .summary {
    font-size: 18px;
  }

  .nav-links {
    gap: 20px;
  }

  section {
    padding: 36px 0;
  }
}
