/* Custom styles and animations */

/* Smooth scroll padding for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Ensure all text meets WCAG AA contrast ratios */
.text-charcoal-700 {
    color: #404040;
}

.text-charcoal-800 {
    color: #2d2d2d;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Reduced motion preference */
@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 {
    .no-print {
        display: none;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #FF6B6B;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:text-white {
    color: #ffffff;
}

/* Ensure images have proper aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
    transition: background-color 5000s ease-in-out 0s;
}
