/* Custom styles for Above The Bar */

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(10, 19, 35, 0.08);
}

/* Service card hover effect */
.service-card {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
}

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Mobile menu animation */
.mobile-link {
  transition: all 0.2s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f2fdf8;
}

::-webkit-scrollbar-thumb {
  background: #8ae8bc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4fd39a;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Animation for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobile-menu.show {
  animation: slideDown 0.3s ease forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  img.group-hover\:scale-105 {
    transition: none;
  }
}
