/* =========================
   NAVIGATION
========================= */

/* NAV BAR */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

nav ul {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 24px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;

  list-style: none;
}

nav a {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
}

/* =========================
   WHAT I'M DOING – SKILL CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px 20px;
}

.icon {
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
  flex-shrink: 0;
}

.content h3 {
  margin: 0 0 6px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: #111;
}

.content p {
  margin: 0;
  font-size: 13.5px;
  color: #555;
  line-height: 1.45;
}

/* =========================
   PORTFOLIO TILES
========================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.portfolio-tile {
  display: block;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portfolio-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  border-color: #d0d0d0;
}

.portfolio-image {
  width: 100%;
  height: 180px;
  background: #f0f0f0;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 18px 20px;
}

.portfolio-content h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.portfolio-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}

.portfolio-content .tech {
  font-size: 13px;
  color: #777;
}

/* =========================
   BIO CARDS
========================= */

/* BIO – RESPONSIVE GRID */

.bio-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns on desktop */
  gap: 18px;
  margin-top: 24px;
}

.bio-card {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 20px;
}


.bio-card h3 {
  margin: 0 0 8px 0;
  font-size: 15.5px;
  font-weight: 500;
  color: #111;
}

.bio-card p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}

/* =========================
   EXPERIENCE – EXPANDABLE CARDS
========================= */


/* EXPERIENCE – TILE CARD */

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.exp-card {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;

  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.exp-card:hover {
  border-color: #ccc;
}

/* Header */
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exp-company h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.exp-company .location {
  font-size: 13px;
  color: #777;
}

.date {
  font-size: 13.5px;
  color: #777;
}

/* Body (collapsed) */
.exp-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.4s ease,
    opacity 0.25s ease;
}

/* Expanded state */
.exp-card.active {
  padding: 26px 28px;
  border-color: #d0d0d0;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transform: scale(1.015);
}

.exp-card.active .exp-body {
  max-height: 700px;
  opacity: 1;
  margin-top: 16px;
}

/* Body content */
.role {
  margin: 0 0 14px;
  font-size: 14px;
  color: #333;
}

.exp-projects {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-projects li {
  margin-bottom: 12px;
}

.exp-projects b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.exp-projects span {
  font-size: 13.5px;
  color: #555;
}

.location {
  font-size: 13px;
  color: #777;
}

.exp-role-block {
  margin-bottom: 22px;
}

.role-title {
  font-size: 14.5px;
  font-weight: 500;
  color: #111;
  margin: 0;
}

.role-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.exp-project {
  margin-bottom: 14px;
}

.exp-project b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #111;
}

.exp-project ul {
  margin: 0;
  padding-left: 18px;
}

.exp-project li {
  font-size: 13.5px;
  color: #555;
  margin-bottom: 4px;
}

.exp-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.25s ease;
}

.exp-card.active .exp-body {
  max-height: 800px;
  opacity: 1;
  margin-top: 16px;
}






/* EXPERIENCE FOOTER – CLEAN & PROFESSIONAL */

/* EXPERIENCE FOOTER – FINAL, CORRECT */

.exp-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.exp-footer-right {
  display: flex;
  align-items: center;
}

/* Separator between links */
.exp-footer-right a + a::before {
  content: " ";
  margin: 0 12px;
  color: #bbb;
}

/* Link style */
.exp-footer-right a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.exp-footer-right a::after {
  content: "↗";
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.6;
}

.exp-footer-right a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}




