/* Custom CSS to supplement Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar hover effects */
.nav-link-hover {
  position: relative;
}

.nav-link-hover::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #2563eb; /* Tailwind blue-600 */
  transition: width 0.3s ease;
}

.nav-link-hover:hover::after {
  width: 100%;
}

/* Button hover effects */
.btn-hover {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-hover:hover::before {
  left: 0;
}

/* Animations for mobile menu */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobile-menu:not(.hidden) {
  animation: slideDown 0.3s ease forwards;
}

/* Logo hover effect */
.logo-hover {
  transition: transform 0.3s ease;
}

.logo-hover:hover {
  transform: scale(1.05);
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Active nav link style */
.nav-active {
  color: #2563eb; /* Tailwind blue-600 */
  border-bottom: 2px solid #2563eb;
}

/* Subtle shadow effect for cards */
.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
