/* Custom Monochrome Aesthetic & Styling for Venz Fredrick N. Olarte Portfolio */

:root {
  /* Color Palette derived from selection */
  --c-black: #000000;
  --c-dark-bg: #212930;
  --c-card-bg: #181f24;
  --c-card-border: #3D4242;
  --c-med-dark: #414B56;
  --c-med-gray: #606A74;
  --c-slate-gray: #4F5559;
  --c-cool-gray: #7B858A;
  --c-light-gray: #A8ADB4;
  --c-very-light: #C3C8CD;
  --c-off-white: #D2D6D9;
  --c-accent-muted: #866F98;
  --c-glow: rgba(210, 214, 217, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--c-black);
}
::-webkit-scrollbar-thumb {
  background: var(--c-med-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-cool-gray);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--c-black);
  color: var(--c-off-white);
  overflow-x: hidden;
}

code, kbd, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Background Subtle Grid Pattern */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Glassmorphism Header */
.navbar-glass {
  background: rgba(33, 41, 48, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Card Glow & Hover Effects */
.mono-card {
  background-color: var(--c-card-bg);
  border: 1px solid var(--c-card-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mono-card:hover {
  border-color: var(--c-cool-gray);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7), 0 0 15px 0 var(--c-glow);
}

/* Badge Custom Styles */
.badge-mono {
  background-color: rgba(96, 106, 116, 0.15);
  color: var(--c-off-white);
  border: 1px solid var(--c-med-dark);
  height: auto;
  min-height: 1.6rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
}

.badge-mono:hover {
  background-color: var(--c-med-dark);
  border-color: var(--c-light-gray);
}

/* Terminal Box Styling */
.terminal-window {
  background: #0d1117;
  border: 1px solid var(--c-med-dark);
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.terminal-header {
  background: #161b22;
  border-bottom: 1px solid var(--c-med-dark);
  padding: 10px 16px;
}

/* Cursor Blink Animation */
.cursor-blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Navigation active indicator */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--c-off-white);
  transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Custom Modal Adjustments */
.modal-box-mono {
  background-color: var(--c-dark-bg);
  border: 1px solid var(--c-card-border);
  color: var(--c-off-white);
}

/* Custom Gradient Text */
.text-gradient-mono {
  background: linear-gradient(135deg, #FFFFFF 0%, #A8ADB4 60%, #606A74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
