/* Custom styles for Annala Fencing and Reclaimed Lumber */

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

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

::-webkit-scrollbar-track {
    background: #050A14;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5EEAD4;
}

/* Selection color */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #ffffff;
}

/* Ensure all links are readable */
a {
    text-decoration: none;
}

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0A1628 0%, #0F1F36 100%);
}

/* Form select dropdown styling */
select option {
    background: #0A1628;
    color: #ffffff;
}
