/* Custom Portfolio Styles */

/* Subtle grid overlay */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0F17;
}
::-webkit-scrollbar-thumb {
  background: #1F293D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #06B6D4;
}

/* Skill pills styling */
.skill-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.6);
  color: #CBD5E1;
  transition: all 0.2s ease;
}

.skill-pill:hover {
  border-color: rgba(6, 182, 212, 0.5);
  color: #38BDF8;
  transform: translateY(-1px);
}

/* Tech tag styling for projects */
.tech-tag {
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  background-color: rgba(30, 41, 59, 0.8);
  color: #94A3B8;
  border: 1px solid rgba(51, 65, 85, 0.4);
}

/* Filter buttons */
.filter-btn {
  background-color: rgba(17, 24, 39, 0.8);
  color: #94A3B8;
  border: 1px solid rgba(31, 41, 55, 1);
}

.filter-btn:hover {
  color: #F8FAFC;
  border-color: rgba(56, 189, 248, 0.4);
}

.filter-btn.active {
  background-color: rgba(6, 182, 212, 0.15);
  color: #38BDF8;
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

/* Active navigation link */
.nav-link.active-nav {
  color: #38BDF8 !important;
  background-color: rgba(15, 23, 42, 0.8) !important;
}

/* Card lift hover effects */
.skill-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.1);
}

.project-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(14, 165, 233, 0.15);
}
