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

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background-color: #f5f5f5;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  color: #000;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

a:hover {
  color: #666;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  font-size: 1rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.hero a {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.hero a:hover {
  background: #e5e5e5;
}

/* Section Styles */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* About Section */
#about {
  background: #fff;
}

#about p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

/* Skills Section */
#skills {
  background: #f5f5f5;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.skill-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.skill-card ul {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
}

.skill-card li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Projects Section */
#projects {
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.project-card a {
  font-weight: 500;
}

.project-card a:hover {
  color: #666;
}

/* Contact Section */
#contact {
  background: #f5f5f5;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.contact-links a {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }
}