/* Custom styles for IT Incredible */

/* Custom animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 0 20px 2px rgba(99, 102, 241, 0.2); }
}

@keyframes neon-line {
  0%, 100% { opacity: 0.4; width: 100%; }
  50% { opacity: 0.8; width: 90%; }
}

@keyframes typing-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Neon text effect for special elements */
.neon-text {
  text-shadow: 0 0 5px rgba(79, 209, 197, 0.5), 0 0 15px rgba(79, 209, 197, 0.3);
}

/* Glowing border for cards on hover */
.glow-border-hover:hover {
  box-shadow: 0 0 15px rgba(79, 209, 197, 0.3);
  transition: box-shadow 0.3s ease-in-out;
}

/* Custom JetBrains Mono font for code elements */
.font-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(31, 41, 55, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0.5), rgba(129, 140, 248, 0.5));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, rgba(56, 189, 248, 0.8), rgba(129, 140, 248, 0.8));
}

/* Particle animation for hero section background */
.digital-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

/* High-tech focus border for focused elements */
input:focus, textarea:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3), 0 0 0 4px rgba(99, 102, 241, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}

/* Cybernetic underline animation for links */
.cyber-underline {
  position: relative;
}

.cyber-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(56, 189, 248, 0) 0%, rgba(56, 189, 248, 1) 50%, rgba(56, 189, 248, 0) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

.cyber-underline:hover::after {
  transform: scaleX(1);
}

/* Code window styles have been removed as they are no longer needed */

.code-string {
  color: #fcd34d;
}

/* Tech gradient cards with pulse effect */
.tech-card {
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
}

/* Blinking cursor for code elements */
.blinking-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: #38bdf8;
  margin-left: 2px;
  animation: typing-cursor 1s infinite;
  vertical-align: middle;
}

/* Responsive font sizes */
@media (max-width: 640px) {
  .text-responsive {
    font-size: 0.875rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .text-responsive {
    font-size: 1rem;
  }
}

@media (min-width: 1025px) {
  .text-responsive {
    font-size: 1.125rem;
  }
}
