/* Custom styles for Little Cove Furniture */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #89547c;
}

/* Selection color */
::selection {
    background: #a56d96;
    color: white;
}

/* Reduced 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;
    }
    
    img {
        transition: none;
    }
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Button hover effects */
button,
a {
    cursor: pointer;
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(74, 47, 69, 0.1);
}

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

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

/* Ensure all text has proper contrast */
.text-plum-900 {
    color: #4a2f45;
}

.text-plum-800 {
    color: #5c3854;
}

.text-plum-700 {
    color: #714366;
}

.text-plum-600 {
    color: #89547c;
}

.text-plum-500 {
    color: #a56d96;
}

.text-plum-400 {
    color: #c493b7;
}

.text-plum-300 {
    color: #dbbfd6;
}

.text-plum-200 {
    color: #ebdce8;
}

.text-plum-100 {
    color: #f5eef4;
}

.text-plum-50 {
    color: #faf5f7;
}

/* Amber colors */
.text-amber-600 {
    color: #d97706;
}

.text-amber-500 {
    color: #f59e0b;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-amber-300 {
    color: #fde68a;
}

.text-amber-200 {
    color: #fde68a;
}

.text-amber-100 {
    color: #fef3c7;
}

.text-amber-50 {
    color: #fffbeb;
}

/* Background colors */
.bg-plum-900 {
    background-color: #714366;
}

.bg-plum-800 {
    background-color: #5c3854;
}

.bg-plum-700 {
    background-color: #714366;
}

.bg-plum-600 {
    background-color: #89547c;
}

.bg-plum-500 {
    background-color: #a56d96;
}

.bg-plum-200 {
    background-color: #ebdce8;
}

.bg-plum-100 {
    background-color: #f5eef4;
}

.bg-plum-50 {
    background-color: #faf5f7;
}

.bg-plum-950 {
    background-color: #281725;
}

.bg-amber-500 {
    background-color: #f59e0b;
}

.bg-amber-400 {
    background-color: #fbbf24;
}

.bg-amber-100 {
    background-color: #fef3c7;
}

/* Button transitions */
button:hover,
a:hover {
    transition: all 0.2s ease;
}
