/* ============================================
   Eric Sambu Author Portfolio - Main Styles
   ============================================ */

/* Global Styles */
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Parallax Background Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Glass Effect */
.glass-effect {
  background: rgba(19, 16, 34, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(to bottom right, #ffffff, #a5a5a5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Primary Text Glow Effect */
.text-primary {
  text-shadow: 0 0 20px rgba(50, 17, 212, 0.6), 0 0 10px rgba(50, 17, 212, 0.4);
}

/* Animations */
@keyframes wave {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.animate-wave {
  animation: wave 1.5s ease-in-out infinite;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #3211d4;
  border-radius: 10px;
}

/* Line Clamp Utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Perspective for 3D Effects */
.perspective-1000 {
  perspective: 1000px;
}
