@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap");

body {
  font-family: "Syne", sans-serif;
  background: #101010;
  color: white;
  overflow-x: hidden;
}
#loading {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #101010 url("/assets/logo.jpeg") no-repeat center center;
  background-size: 10%;
  z-index: 99999;
}
.parallax {
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.tiara {
  background-image: url("/assets/tiara/9.jpg");
}
.fixyon {
  background-image: url("/assets/fixyon/banner.jpg");
}
.nav-link {
  position: relative;
  transition: color 0.3s;
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: white;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.nav-link:hover::before {
  visibility: visible;
  transform: scaleX(1);
}
.cursor {
  width: 2rem;
  height: 2rem;
  border: 2px solid white;
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: all 0.2s ease-out;
  z-index: 999;
}
.navbar {
  transition: background-color 0.3s;
}
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 255, 255, 0.3);
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8),
      0 0 40px rgba(147, 51, 234, 0.3);
  }
}

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

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skills Carousel */
.skills-carousel-slide {
  flex-shrink: 0;
}

/* Stats section enhancements */
.counter {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.counter:hover {
  transform: scale(1.1);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Gradient backgrounds with animation */
.bg-gradient-to-br {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.bg-gradient-to-r {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

/* Hover effects for sections */
.hero-section {
  transition: all 0.3s ease;
}

.hero-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bg-gray-800:hover {
  transform: translateY(-3px);
  background-color: #333;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .counter {
    font-size: 2rem;
  }
}
