/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #3b82f6;
  text-decoration: none;
}
.nav-links a {
  margin-left: 2rem;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: #3b82f6; }
.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: #333; margin: 3px 0; }

/* Hero */
.hero {
  padding: 180px 20px 120px;
  text-align: center;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}
.headshot {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #e0e7ff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.tagline {
  font-size: 1.6rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
}
.subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.btn-primary, .btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary {
  background: #3b82f6;
  color: white;
}
.btn-primary:hover { background: #2563eb; }
.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}
.btn-secondary:hover { background: #f0f7ff; }

/* Sections */
.section {
  padding: 100px 20px;
}
.bg-light { background: #f8fafc; }
.container {
  max-width: 1100px;
  margin: 0 auto;
}
h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: #1e293b;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.skill-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #3b82f6;
}
.skill-category ul {
  list-style: disc inside;
  color: #4b5563;
}
.skill-category li {
  margin-bottom: 0.8rem;
}

/* Experience Timeline */
.timeline-item {
  margin-bottom: 3rem;
  padding-left: 2rem;
  border-left: 3px solid #e0e7ff;
}
.timeline-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.timeline-item .date {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.timeline-item ul {
  list-style: disc inside;
  color: #4b5563;
  margin-left: 1rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}
.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}
.project-gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.project-info {
  padding: 2rem;
}
.project-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.project-info p {
  color: #4b5563;
  margin-bottom: 1.5rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.tags span {
  background: #e0e7ff;
  color: #4338ca;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}
.links a {
  color: #3b82f6;
  font-weight: 600;
  margin-right: 1.5rem;
  text-decoration: none;
}
.links a:hover { text-decoration: underline; }

/* Footer */
.footer {
  padding: 80px 20px;
  text-align: center;
  background: #f1f5f9;
}
.social a {
  margin: 0 1rem;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}
.social a:hover { color: #3b82f6; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 2.8rem; }
  .headshot { width: 160px; height: 160px; }
  .hero-actions { flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
}
