/* Custom styles for Austin's Upholstery */

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

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Reveal animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all content is visible by default (progressive enhancement) */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a192f inset !important;
    -webkit-text-fill-color: white !important;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, button, form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-navy-900, .bg-navy-800 {
        background: white !important;
    }
    
    .text-white, .text-gray-300, .text-gray-400 {
        color: black !important;
    }
    
    .text-gold-400 {
        color: #333 !important;
    }
}
