/* Custom styles and overrides */

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

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

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

::-webkit-scrollbar-thumb {
  background: #8e5072;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #733d5a;
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  nav, 
  .cta-button,
  #mobile-menu-btn {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  .hero-gradient {
    background: #4a293b !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .service-card {
    border: 2px solid ButtonText;
  }
  
  .cta-button {
    border: 2px solid ButtonText;
  }
}

/* Focus visible styles for keyboard navigation */
:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: #d97706;
  color: #28131e;
}
