/* Custom CSS */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

* {
  font-family: "Inter", sans-serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}

/* Custom button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: #00aeef;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 300ms;
}

.btn-primary:hover {
  background-color: rgba(0, 174, 239, 0.9);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid #00aeef;
  color: #00aeef;
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 300ms;
}

.btn-outline:hover {
  background-color: #00aeef;
  color: white;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #00aeef;
  color: #00aeef;
  background-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 300ms;
}

.social-btn:hover {
  background-color: #00aeef;
  color: white;
}

/* Navigation styles */
.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 200ms;
}

.nav-link:hover {
  color: #00aeef;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  color: #374151;
  font-weight: 500;
  transition: color 200ms;
}

.mobile-nav-link:hover {
  color: #00aeef;
}

.footer-nav-link {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  color: #d1d5db;
  transition: color 200ms;
}

.footer-nav-link:hover {
  color: #00aeef;
}

/* Skills badges */
.skill-hard {
  padding: 0.5rem 1rem;
  background-color: #00aeef;
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 200ms;
  cursor: default;
}

.skill-hard:hover {
  background-color: rgba(0, 174, 239, 0.9);
}

.skill-soft {
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  transition: background-color 200ms;
  cursor: default;
}

.skill-soft:hover {
  background-color: #e5e7eb;
}

/* Project cards */
.project-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 300ms;
}

.project-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.project-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 300ms;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-tech {
  padding: 0.25rem 0.5rem;
  background-color: rgba(0, 174, 239, 0.1);
  color: #00aeef;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Language switcher active state */
.lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 200ms;
}

.lang-btn.active {
  background-color: #00aeef;
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.lang-btn:not(.active) {
  color: #374151;
}

.lang-btn:not(.active):hover {
  color: #00aeef;
}

/* Fixed language switcher */
.fixed-lang-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

.fixed-lang-switcher .lang-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 200ms;
}

.fixed-lang-switcher .lang-btn.active {
  background-color: #00aeef;
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.fixed-lang-switcher .lang-btn:not(.active) {
  color: #374151;
}

.fixed-lang-switcher .lang-btn:not(.active):hover {
  color: #00aeef;
}

/* Header show/hide */
.header-visible {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  padding-right: 120px; /* Space for language switcher */
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive utilities */
@media (max-width: 768px) {
  .social-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .social-btn span {
    display: none;
  }

  .fixed-lang-switcher {
    top: 0.5rem;
    right: 0.5rem;
  }

  .fixed-lang-switcher .lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .header-visible {
    padding-right: 80px; /* Less space on mobile */
  }
}
