@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Ensure nice custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fcfbf7;
}
::-webkit-scrollbar-thumb {
  background: #e2dfd5;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

/* Custom Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes bounceSlow {
  0%, 100% { 
    transform: translateY(-5%); 
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1); 
  }
  50% { 
    transform: translateY(0); 
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 
  }
}
.animate-bounce-slow {
  animation: bounceSlow 2s infinite;
}

/* Utilities */
.scale-102 {
  transform: scale(1.02);
}
.scale-98 {
  transform: scale(0.98);
}
