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

body {
  background-color: #0d0d14; /* deep dark blue-black */
  color: #d0d0d8; /* light gray text */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  flex: 1;
}

/* Navbar */
.navbar {
  background-color: #1a1a2e; /* dark navy */
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  color: #9b59b6; /* muted purple */
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #8e44ad; /* deeper purple */
}

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

.nav-link {
  color: #b0b0c3; /* soft gray */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #9b59b6;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Main heading */
h1 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  color: #ececec;
  text-align: center;
  text-shadow: 0 2px 6px rgba(155, 89, 182, 0.6);
}

/* Paragraphs */
p {
  font-size: 1.15rem;
  color: #a0a0b5;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.55;
}

/* Skills Section */
.skills-section {
  text-align: center;
  margin-top: 4rem;
}

.section-title {
  font-size: 2rem;
  color: #9b59b6;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 700px;
  margin: 0 auto;
}

.skill-btn {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #f0e9ff;
  padding: 0.5rem 1.3rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(142, 68, 173, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
  font-size: 1rem;
  outline-offset: 2px;
}

.skill-btn:hover,
.skill-btn.active {
  background: linear-gradient(135deg, #8e44ad, #7a369e);
}

.skill-info {
  background: #1f1f3a;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
  box-shadow: 0 12px 30px rgba(142, 68, 173, 0.3);
  user-select: text;
  line-height: 1.5;
  text-align: left;
}

/* Projects Page */
.projects-section {
  max-width: 700px;
  margin: 3rem auto 5rem auto;
  text-align: center;
}

.projects-section .section-title {
  font-size: 2rem;
  color: #9b59b6;
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.project-card {
  background: #1f1f3a;
  padding: 2rem 2.5rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(142, 68, 173, 0.3);
  color: #ccc;
  user-select: text;
  max-width: 100%;
  margin: 0 auto;
}

.project-card h3 {
  margin-bottom: 1rem;
  color: #d0cfff;
  font-weight: 700;
  font-size: 1.8rem;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: #bbb;
}

.btn-download {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #f0e9ff;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.6);
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-download:hover {
  background: linear-gradient(135deg, #8e44ad, #7a369e);
  text-decoration: none;
}

/* Footer bottom right */
footer {
  position: fixed;
  bottom: 15px;
  right: 15px;
  font-size: 0.85rem;
  color: #222;
  user-select: none;
  opacity: 0.3;
  transition: opacity 0.3s ease;
  z-index: 9999;
  background: transparent;
  pointer-events: auto;
  white-space: nowrap;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer:hover {
  opacity: 0.65;
}

/* Responsive */
@media (max-width: 650px) {
  h1 {
    font-size: 2.3rem;
  }

  .skills-list {
    gap: 0.6rem;
  }

  .skill-btn {
    padding: 0.45rem 1rem;
    font-size: 0.95rem;
  }

  .project-card {
    padding: 1.5rem 1.8rem;
  }

  .btn-download {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}

