/* Custom styles for NYC Plumbing */

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

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

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

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

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

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

/* Selection color */
::selection {
    background-color: #9a2727;
    color: white;
}

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid currentColor;
    }
}

/* 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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Tablet styles */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 640px) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(74, 14, 14, 0.9) 0%, rgba(154, 39, 39, 0.8) 100%);
    }
}
