/* Custom styles for Jamison Wildlife Removal */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

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

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .no-print {
        display: none;
    }
}

/* Reduced motion preference */
@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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-plum-50 {
        background-color: #fff;
    }
    
    .text-gray-600 {
        color: #000;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .group:hover .group-hover\\:bg-plum-600 {
        background-color: #7c3aed;
    }
    
    .group:hover .group-hover\\:text-white {
        color: #fff;
    }
}

/* Better mobile experience */
@media (max-width: 640px) {
    .font-heading {
        letter-spacing: -0.025em;
    }
}
