/* Custom styles for Roswell Upholstery */

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

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

::-webkit-scrollbar-track {
    background: #1a1c20;
}

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

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

/* Selection color */
::selection {
    background: #ff6b3f;
    color: #ffffff;
}

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

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

/* Hover effects for cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

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

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

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .font-serif {
        font-feature-settings: 'ss01';
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .hover\:shadow-2xl:hover {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-charcoal-950,
    .bg-charcoal-50 {
        background: #fff !important;
        color: #000 !important;
    }
}
