@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

body {
  background: #f5f5f5;
  color: #333;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 40px;
  text-align: center;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.tagline {
  font-size: 1.2em;
  margin-bottom: 20px;
  opacity: 0.95;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-links a {
  color: white;
  text-decoration: none;
  font-size: 0.95em;
  transition: opacity 0.3s;
}

.contact-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

main {
  padding: 40px;
}

section {
  margin-bottom: 40px;
}

h2 {
  color: #667eea;
  font-size: 1.8em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 5px;
}

h3 a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

h3 a:hover {
    color: #764ba2;
    text-decoration: underline;
}
.job,
.project,
.education-item {
  margin-bottom: 25px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 4px solid #667eea;
}

.job-header,
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.company,
.project-tech {
  color: #666;
  font-size: 0.95em;
  margin-top: 3px;
}

.date {
  color: #888;
  font-size: 0.9em;
  font-weight: 600;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  padding-left: 20px;
  margin-bottom: 8px;
  position: relative;
}

li::before {
  content: '•';
  position: absolute;
  left: 5px;
  color: #667eea;
  font-weight: bold;
}

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

.skill-tag {
  background: #667eea;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 500;
}

.skill-category {
  margin-bottom: 20px;
}

.skill-category h4 {
  color: #555;
  font-size: 1em;
  margin-bottom: 10px;
  font-weight: 600;
}

footer {
  background: #f9f9f9;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  color: #666;
}

#visitor-count {
  font-weight: 700;
  color: #667eea;
}

.loading {
  opacity: 0.6;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header,
  main {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2em;
  }

  .job-header,
  .project-header {
    flex-direction: column;
  }

  .date {
    margin-top: 5px;
  }
}
