/* Modern Minimal Portfolio Styling */

/* Subtle background grid pattern */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(120, 120, 120, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 120, 120, 0.2) 1px, transparent 1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(150, 150, 150, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(150, 150, 150, 0.45);
}

/* Tech tag chips on cards */
.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  background-color: rgba(244, 244, 245, 0.9);
  color: #3f3f46;
  border: 1px solid rgba(228, 228, 231, 0.8);
  transition: all 0.2s ease;
}

.dark .tech-tag {
  background-color: rgba(24, 24, 27, 0.8);
  color: #a1a1aa;
  border-color: rgba(39, 39, 42, 0.8);
}

.tech-tag:hover {
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

/* Skill badges in Expertise */
.skill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #f4f4f5;
  color: #18181b;
  border: 1px solid #e4e4e7;
  transition: all 0.2s ease;
}

.dark .skill-badge {
  background-color: #18181b;
  color: #e4e4e7;
  border-color: #27272a;
}

.skill-badge:hover {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

/* Filter buttons */
.filter-btn {
  color: #71717a;
}

.dark .filter-btn {
  color: #a1a1aa;
}

.filter-btn:hover {
  color: #09090b;
}

.dark .filter-btn:hover {
  color: #ffffff;
}

.filter-btn.active-filter {
  background-color: #ffffff;
  color: #09090b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dark .filter-btn.active-filter {
  background-color: #27272a;
  color: #ffffff;
}

/* Card hover glow */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

/* Print Styles for CV / Resume */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  header, footer, #toast, #theme-toggle, #copy-email-btn, .filter-btn, button {
    display: none !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .project-card, .skill-badge, .tech-tag {
    box-shadow: none !important;
    border-color: #d4d4d8 !important;
  }

  a {
    text-decoration: none !important;
    color: #000000 !important;
  }
}

