/* Next.js Matching Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap");

/* Enhanced Navigation Links */
.nav-link-enhanced {
  @apply relative text-[#1A1A2E] font-sans font-semibold text-lg py-3 px-2 tracking-wide transition-all duration-500 hover:text-[#3B4CCA] group overflow-hidden;
}

.nav-link-enhanced::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b4cca, #ffde00, #3b4cca);
  transition: all 0.5s ease;
  border-radius: 2px;
}

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

.nav-link-enhanced::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59, 76, 202, 0.05), rgba(255, 222, 0, 0.1), rgba(59, 76, 202, 0.05));
  border-radius: 12px;
  opacity: 0;
  transition: all 0.5s ease;
  transform: scale(1.1);
}

.nav-link-enhanced:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Shimmer effect */
.nav-link-enhanced .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-12deg) translateX(-100%);
  transition: transform 1s ease;
}

.nav-link-enhanced:hover .shimmer {
  transform: skewX(-12deg) translateX(100%);
}

/* Mobile Navigation Links */
.mobile-nav-link {
  @apply text-[#1A1A2E] font-sans font-semibold text-lg py-4 px-6 rounded-xl tracking-wide hover:text-[#3B4CCA] hover:bg-gradient-to-r hover:from-[#3B4CCA]/10 hover:to-[#FFDE00]/10 transition-all duration-300 transform hover:scale-105 hover:shadow-lg;
}

/* Hamburger Menu Animation */
.hamburger-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Animation */
.mobile-menu-visible {
  max-height: 384px !important;
  opacity: 1 !important;
}

/* Glassmorphism Effect */
.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

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

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #3b4cca;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d3a8c;
}

/* Enhanced Header Styling */
header {
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

/* Logo Glow Effect */
.logo-glow {
  filter: drop-shadow(0 0 8px rgba(59, 76, 202, 0.3));
  transition: filter 0.3s ease;
}

.logo-glow:hover {
  filter: drop-shadow(0 0 12px rgba(59, 76, 202, 0.5));
}

/* Section Animations */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

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

/* Enhanced Button Styling */
button {
  position: relative;
  overflow: hidden;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

button:hover::before {
  left: 100%;
}
