/* ====== Base Styling ====== */
:root {
  --bg: #1a1a1a;
  --fg: #ffffff;
  --accent: #a78bfa;
  --text-muted: #adadad;
  --chip-bg: #2e2e2e;
  --chip-hover: #3b3b3b;
  --border: #363636;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
}

/* ====== Navbar ====== */
nav {
  background-color: #121212;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

nav h1 {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

/* ====== Main Content ====== */
main {
  padding: 40px;
  max-width: 960px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ====== Skills and Tools (Pills) ====== */
.skill-list,
.tool-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.skill-list li,
.tool-list li {
  background-color: var(--chip-bg);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.skill-list li:hover,
.tool-list li:hover {
  background-color: var(--chip-hover);
}

/* ====== Project List Format ====== */
.project-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.project-list li {
  margin-bottom: 2rem;
}

.project-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.3rem;
  transition: text-decoration 0.2s ease;
}

.project-title:hover {
  text-decoration: underline;
}

.project-desc {
  display: block;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }
}

/*---Contacts Section---*/
#contact {
  margin-top: 40px;
  text-align: center;
}

#contact h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #fefefe;
}

.contact-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.contact-links li {
  display: inline-block;
}

.contact-links a {
  color: #8b5cf6; /* violet */
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-links a:hover {
  color: #a78bfa; /* lighter violet */
  transform: scale(1.05);
}

