/* Custom Styles for Impruvu - Complements Tailwind CSS */

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

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

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

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

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

/* Backdrop blur support fallback */
@supports not (backdrop-filter: blur(10px)) {
    .backdrop-blur-xl {
        background-color: rgba(255, 255, 255, 0.95);
    }
}

/* Custom gradient text animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
}

/* Floating animation override for specific timing */
.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

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

/* Print styles */
@media print {
    nav,
    footer,
    #contact {
        display: none;
    }
}

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