/* Custom animations for LifeBetweenLanes */

/* Active navigation link */
.nav-link--active {
  color: #2563eb;
  font-weight: 600;
}

.nav-link--active:hover {
  color: #1d4ed8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes counterUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

.animate-pulse-custom {
  animation: pulse 2s ease-in-out infinite;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-counter-up {
  animation: counterUp 0.8s ease-out forwards;
}

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

/* Burger menu animation */
.burger-menu {
  transition: transform 0.3s ease-in-out;
}

.burger-menu.active {
  transform: rotate(90deg);
}

.mobile-menu {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.mobile-menu.hidden {
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
}

.mobile-menu:not(.hidden) {
  opacity: 1;
  transform: translateX(0);
}

/* Cookie banner animation */
.cookie-banner {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* FAQ accordion */
.faq-item .faq-answer {
  display: none;
}

.faq-item.faq-item--open .faq-answer {
  display: block;
}

.faq-question {
  cursor: pointer;
  list-style: none;
}
