/* Custom styles for MD'S Bookkeeping & Tax Service */

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

/* Selection color */
::selection {
    background-color: #7f2525;
    color: #fff9f5;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #d15e5e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9a2d2d;
}

/* Service card hover - subtle lift */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile link hover */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0c4c4;
}
.mobile-link:last-child {
    border-bottom: none;
}

/* Process step connector for mobile */
@media (max-width: 1023px) {
    .lg\:block\/process {
        display: none !important;
    }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    #mobileMenu {
        animation: none;
    }
}

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

/* Button ripple effect on press */
button:active,
a:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}
