/* Custom styles for At Its Best Appliance Repair */

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

/* Custom font loading styles */
.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Subtle animations for interactive elements */
button, a {
    transition: all 0.2s ease-in-out;
}

/* Ensure images don't overflow on small screens */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

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

/* Hover effects for cards */
.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
}

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