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

/* Custom styles converted from @apply */
.btn-primary {
  position: relative;
  overflow: hidden;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.5rem;
  background-image: linear-gradient(to right, #0ea5e9, #0284c7);
  color: white;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition-property: all;
  transition-duration: 300ms;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.5rem;
  border-width: 2px;
  border-color: #0ea5e9;
  color: #0ea5e9;
  font-weight: 500;
  transition-property: all;
  transition-duration: 300ms;
}

.btn-secondary:hover {
  background-color: #0ea5e9;
  color: white;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background-image: linear-gradient(to right, #0ea5e9, #0284c7);
  border-radius: 9999px;
}

.nav-link {
  position: relative;
  color: #374151;
  transition-property: color;
  transition-duration: 200ms;
}

.dark .nav-link {
  color: #d1d5db;
}

.nav-link:hover {
  color: #0284c7;
}

.dark .nav-link:hover {
  color: #38bdf8;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background-color: #0ea5e9;
  transition-property: all;
  transition-duration: 300ms;
}

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

.skill-bar {
  width: 100%;
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 0.625rem;
}

.dark .skill-bar {
  background-color: #334155;
}

.skill-progress {
  background-image: linear-gradient(to right, #7dd3fc, #0ea5e9);
  height: 0.625rem;
  border-radius: 9999px;
}

.project-card {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition-property: all;
  transition-duration: 500ms;
}

.dark .project-card {
  box-shadow: 0 10px 15px -3px rgba(156, 163, 175, 0.5);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dark .project-card:hover {
  box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.2);
}

.tech-tag {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background-color: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: "JetBrains Mono", monospace;
}

.dark .tech-tag {
  color: #7dd3fc;
}

.social-icon {
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: #f3f4f6;
  color: #374151;
  transition-property: all;
  transition-duration: 300ms;
}

.dark .social-icon {
  background-color: #334155;
  color: #d1d5db;
}

.social-icon:hover {
  background-color: #0ea5e9;
  color: white;
}
