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

body {
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  color: #e5e7eb;
  background-color: #111827;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f9fafb;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;  /* removes the default underline from links */
}

.nav-links a:hover { color: #a78bfa; }

#welcome-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  background: linear-gradient(135deg, #1f2937 0%, #4c1d95 100%);
}

#welcome-section h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

#welcome-section p {
  font-size: 1.2rem;
  color: #c4b5fd;
}

#project-section {
  padding: 80px 24px;
  text-align: center;
}

#project-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.project-tile {
  width: 260px;
  background-color: #1f2937;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #e5e7eb;
}

.project-thumb {
  height: 150px;
  background: linear-gradient(135deg, #4c1d95 0%, #a78bfa 100%);
}

.project-title {
  padding: 14px;
  font-weight: 600;
}

#contact {
  padding: 80px 24px;
  text-align: center;
  background-color: #0f1420;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

#profile-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #7c3aed;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

footer {
  padding: 24px;
  text-align: center;
  background-color: #1f2937;
  color: #9ca3af;
}

@media (max-width: 600px) {
  #welcome-section h1 { font-size: 2rem; }
  .nav-links { gap: 12px; }
  .nav-logo { font-size: 0.95rem; }
}