/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

/* Navigation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1a1a1a;
  transition: width 0.3s ease;
}

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

/* Hero */
.hero {
  min-height: max(90vh, 0px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

@media (min-height: 900px) {
  .hero {
    min-height: auto;
  }
}

/* Section fade-in */
.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Project cards */
.project-card {
  border: 1px solid #e5e5e5;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  border-color: #a3a3a3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Service cards */
.service-card {
  border-left: 3px solid #e5e5e5;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-left-color: #1a1a1a;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

/* Language switcher */
.lang-switch {
  border: 1px solid #d4d4d4;
  transition: background-color 0.2s ease;
}

.lang-switch:hover {
  background-color: #f5f5f5;
}

.lang-switch.active {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* Divider */
.section-divider {
  width: 60px;
  height: 2px;
  background-color: #1a1a1a;
}

/* Scroll indicator */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-indicator {
  animation: bounce-slow 2s infinite;
}
