/* portfolio - resume css */

html {
  font-size: 16px;
  background-color: rgb(39, 37, 49);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Rakkas", serif;
  font-weight: 400;
  font-style: normal;
}

/* ── Navigation Bar ── */

.navigation {
  font-size: 28px;
  color: rgb(24, 20, 58);
  background-color: rgb(97, 122, 190);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  padding: 0 40px;
  height: 64px;
  align-items: center;
}

.navigation a {
  background-color: transparent;
  color: rgb(24, 20, 58);
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-title {
  background-color: transparent;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
}

#nav-item {
  background-color: transparent;
  display: flex;
  align-items: center;
}

.text-item:hover {
  color: rgb(150, 180, 255);
  text-decoration: underline;
  cursor: pointer;
}

/* ── Page Header ── */

.page-header {
  text-align: center;
  padding: 28px 40px 20px;
  border-bottom: 1px solid rgb(97, 122, 190);
  margin-bottom: 36px;
}

.page-title {
  font-size: 38px;
  color: rgb(97, 122, 190);
  background-color: transparent;
  margin-bottom: 6px;
}

.page-sub {
  font-size: 18px;
  color: rgb(160, 165, 190);
  background-color: transparent;
}

/* ── Resume Layout ── */

.resume-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 60px;
  background-color: transparent;
}

/* ── Sidebar ── */

.resume-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: transparent;
}

.sidebar-card {
  background-color: rgb(16, 12, 47);
  border-radius: 12px;
  padding: 20px;
}

/* Profile Card */

.profile-card {
  text-align: center;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgb(97, 122, 190);
  color: rgb(24, 20, 58);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.profile-name {
  font-size: 24px;
  color: rgb(200, 200, 220);
  background-color: transparent;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 15px;
  color: rgb(97, 122, 190);
  background-color: transparent;
  margin-bottom: 6px;
}

.profile-location {
  font-size: 14px;
  color: rgb(140, 145, 170);
  background-color: transparent;
}

/* Sidebar Headings */

.sidebar-heading {
  font-size: 16px;
  color: rgb(97, 122, 190);
  background-color: transparent;
  border-bottom: 1px solid rgb(40, 35, 90);
  padding-bottom: 8px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Contact List */

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: transparent;
}

.contact-list li {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 11px;
  color: rgb(97, 122, 190);
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  font-size: 14px;
  color: rgb(190, 195, 215);
  background-color: transparent;
  word-break: break-all;
}

/* Skills */

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: transparent;
}

.skill-item {
  background-color: transparent;
}

.skill-name {
  display: block;
  font-size: 14px;
  color: rgb(190, 195, 215);
  background-color: transparent;
  margin-bottom: 5px;
}

.skill-bar {
  height: 6px;
  background-color: rgb(40, 35, 80);
  border-radius: 99px;
}

.skill-fill {
  height: 100%;
  background-color: rgb(97, 122, 190);
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* Interests */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: transparent;
}

.interest-tag {
  background-color: rgb(25, 20, 66);
  color: rgb(97, 122, 190);
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgb(60, 70, 130);
}

/* ── Main Content ── */

.resume-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background-color: transparent;
}

.resume-section {
  background-color: rgb(16, 12, 47);
  border-radius: 12px;
  padding: 24px 28px;
}

.section-heading {
  font-size: 22px;
  color: rgb(200, 200, 220);
  background-color: transparent;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.heading-accent {
  font-size: 13px;
  color: rgb(97, 122, 190);
  background-color: transparent;
  letter-spacing: 0.1em;
}

.section-body {
  font-size: 16px;
  color: rgb(180, 185, 205);
  background-color: transparent;
  line-height: 1.7;
}

/* Experience / Education Entries */

.entry {
  background-color: transparent;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgb(40, 35, 90);
}

.entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: transparent;
  margin-bottom: 10px;
  gap: 12px;
}

.entry-title {
  font-size: 18px;
  color: rgb(200, 200, 220);
  background-color: transparent;
  margin-bottom: 2px;
}

.entry-org {
  font-size: 14px;
  color: rgb(97, 122, 190);
  background-color: transparent;
}

.entry-date {
  font-size: 13px;
  color: rgb(120, 130, 160);
  background-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: transparent;
}

.entry-bullets li {
  font-size: 15px;
  color: rgb(170, 175, 200);
  background-color: transparent;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.entry-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgb(97, 122, 190);
  background-color: transparent;
}

/* Projects Grid */

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background-color: transparent;
  margin-bottom: 16px;
}

.project-pill {
  background-color: rgb(25, 20, 66);
  color: rgb(190, 195, 215);
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgb(60, 70, 130);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.project-pill:hover {
  background-color: rgb(97, 122, 190);
  color: rgb(24, 20, 58);
  cursor: default;
}

.view-all-btn {
  display: inline-block;
  background-color: rgb(97, 122, 190);
  color: rgb(24, 20, 58);
  font-family: "Rakkas", serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.view-all-btn:hover {
  background-color: rgb(120, 148, 215);
  transform: translateY(-2px);
}

/* ── Footer ── */

.footer-box {
  padding: 14px 40px;
  text-align: center;
  border-top: 1px solid rgb(97, 122, 190);
  margin-top: 10px;
}

.footer-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
}

.footer-box ul ul {
  background-color: transparent;
  margin-top: 6px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-box li {
  background-color: transparent;
  color: rgb(150, 160, 190);
  font-size: 16px;
  padding: 2px 0;
}

.footer-box > ul > li:first-child {
  color: rgb(97, 122, 190);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.link-item {
  text-decoration: underline;
  cursor: pointer;
}

/* ── Responsive ── */

@media (max-width: 720px) {
  .resume-wrapper {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .entry-header {
    flex-direction: column;
  }
}
