/* Custom styles for Shear Freedom Hair Studio */

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0a2a8f, #3aa384);
  border-radius: 5px;
}

/* 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);
  }
}

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

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 3px solid #3aa384;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contact-form {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .hero-gradient {
    background: #0a2a8f !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

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