/* Custom styles and overrides */

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

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

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

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

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

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

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

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