/* Custom styles for H D Page Enterprises Inc. */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Scroll indicator animation */
@keyframes scroll-indicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* Service card hover */
.service-card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-color 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card {
        transition: none;
    }
    
    .animate-scroll-indicator {
        animation: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    * {
        transition: none !important;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #C24A26;
    color: #FDF9E8;
}

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