/**
 * Dadofy - Web Design, Hosting & VPS
 * Core CSS Tweaks & Animations
 */

/* Custom Animations */
@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.animate-slide-in {
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.animate-shake {
  animation: shake 0.2s ease-in-out 2;
}

/* Base Body Styles & Typography pairing */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

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

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

::-webkit-scrollbar-thumb {
  background: #7B2CBF;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a189a;
}

/* Utility layout cards shadow classes */
.card-soft-shadow {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.interactive-glow:hover {
  box-shadow: 0 10px 40px rgba(123, 44, 191, 0.1);
}
