/* Additional layout and motion layer (non-destructive to existing styles). */

/* Initial page-load stagger animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links li,
.hero .headline,
.hero .subtitle,
.hero .cta-group {
  opacity: 0;
}

.nav-links li {
  animation: fadeSlideUp 0.5s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.05s; }
.nav-links li:nth-child(2) { animation-delay: 0.1s; }
.nav-links li:nth-child(3) { animation-delay: 0.15s; }
.nav-links li:nth-child(4) { animation-delay: 0.2s; }
.nav-links li:nth-child(5) { animation-delay: 0.25s; }

.hero .headline {
  animation: fadeSlideUp 0.65s ease 0.3s forwards;
}

.hero .subtitle {
  animation: fadeSlideUp 0.65s ease 0.45s forwards;
}

.hero .cta-group {
  animation: fadeSlideUp 0.65s ease 0.6s forwards;
}

/* Card interaction enhancement */
.card,
.skill,
.ads-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

/* Scroll reveal base state */
.scroll-reveal-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.scroll-reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

