@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root { --accent: 165 243 252; }

body { font-family: 'Inter', system_ui, sans-serif; }
.heading-font { font-family: 'Space Grotesk', sans-serif; }

/* Match global scrollbar styling for dark theme */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #18181b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #27272a; }

.hero-bg {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #e4e4e7;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 900;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: rgb(165 243 252);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: rgb(165 243 252);
  transition: width 0.3s ease;
}
.nav-link:hover:after, .nav-link-active:after {
  width: 100%;
}

.nav-link-active {
  color: rgb(165 243 252);
}

/* --- Mobile Menu Links --- */
#mobile-menu a.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #f8fafc;
  transition: color 0.25s ease;
  text-decoration: none;
}

#mobile-menu a.mobile-link:hover {
  color: rgb(165 243 252);
}

#mobile-menu a.mobile-link-active {
  color: rgb(165 243 252);
}

/* Ensure skill/tag bubbles are consistent size across project cards */
.skill-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 96px;
  padding: 0 10px;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 9999px;
  box-sizing: border-box;
}

/* Lightbox overlay styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 2rem;
}
.lightbox-overlay.show { display: flex; }
.lightbox-content { max-width: 1200px; width: 100%; max-height: 90vh; display:flex; flex-direction:column; gap:0.75rem; }
.lightbox-img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.6); }
.lightbox-caption { color: #cbd5e1; font-size: 0.95rem; text-align: center; }
.lightbox-controls { display:flex; justify-content:space-between; gap:1rem; }
.lightbox-button { background: rgba(255,255,255,0.06); color: #e6eef6; border: 1px solid rgba(255,255,255,0.06); padding: 0.5rem 0.9rem; border-radius: 8px; cursor:pointer; }
.lightbox-button:focus { outline: 2px solid rgba(165,243,252,0.4); }