/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Custom blob animation for hero background */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:bg-coral-500 {
    background-color: #ff6b5b;
}

/* Smooth focus ring */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.2);
}

/* Ensure all text meets WCAG AA contrast */
.text-charcoal-600 {
    color: #3f3f46;
}

.text-charcoal-700 {
    color: #27272a;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-blob {
        animation: none;
    }
    
    .transition-all {
        transition-duration: 0.01ms;
    }
}

/* Print styles */
@media print {
    header, footer, #contact-form, .animate-blob {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
