:root {
  --blue-collar-primary: #6b7280;
  --blue-collar-secondary: #8b5cf6;
  --blue-collar-accent: #ec4899;
  --blue-collar-text: #ffffff;
  --blue-collar-background: #1a1a1a;
  --gradient-color-1: #1a1a1a;
  --gradient-color-2: #6b7280;
  --gradient-color-3: #8b5cf6;
  --gradient-color-4: #ec4899;
}

#particle-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--blue-collar-background);
  opacity: 0.8;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatBubble {
  0% {
    transform: translateY(100vh) scale(1);
  }
  100% {
    transform: translateY(-100px) scale(0.3);
  }
}

@keyframes glitch {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translate(0);
    }
    20% {
        clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
        transform: translate(-5px);
    }
    40% {
        clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
        transform: translate(5px);
    }
    60% {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
        transform: translate(-3px);
    }
    80% {
        clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
        transform: translate(3px);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translate(0);
    }
}

.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  background: radial-gradient(
    circle at center,
    rgba(139, 92, 246, 0.2),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

body {
  font-family: 'Space Mono', monospace;
  color: var(--blue-collar-text);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: background-position;
  overflow: hidden;
  background: rgba(26, 26, 26, 0.4);
}

.tech-image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.tech-image, .tech-image-glitch {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/hero-background.jpg') center/cover no-repeat;
    opacity: 0.7;
    mix-blend-mode: screen;
}

.tech-image-glitch {
    animation: glitch 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

.hero-content {
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  transform: translateZ(50px);
  transition: transform 0.3s ease-out;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  color: var(--blue-collar-text);
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid var(--blue-collar-accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--gradient-color-4), var(--gradient-color-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateZ(20px);
  font-size: 2.5rem;
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.card-title {
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.5px;
}

.parallax-section {
  position: relative;
  padding: 4rem 0;
  background: rgba(26, 26, 26, 0.8);
  transform-style: preserve-3d;
  perspective: 1000px;
  margin: 2rem 0;
  backdrop-filter: blur(5px);
  will-change: transform;
}

.parallax-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(30deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
  linear-gradient(150deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
  linear-gradient(30deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05)),
  linear-gradient(150deg, rgba(255,255,255,.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.05) 87.5%, rgba(255,255,255,.05));
  background-size: 80px 140px;
  opacity: 0.05;
  pointer-events: none;
}

.parallax-content {
  position: relative;
  z-index: 1;
  transform: translateZ(30px);
  transition: transform 0.3s ease-out;
  padding: 0 2rem;
}

.card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  backdrop-filter: blur(5px);
  color: var(--blue-collar-text);
  will-change: transform;
  position: relative;
}

.card:hover {
  transform: translateY(-5px) translateZ(40px);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  background: rgba(26, 26, 26, 0.9);
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

.footer {
  background: rgba(26, 26, 26, 0.95);
  padding: 2rem 0;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
  color: var(--blue-collar-text);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
  }
  
  .section-header {
    font-size: 2rem;
  }
  
  .parallax-section {
    padding: 2rem 0;
  }
}
