/* Custom styles and animations */

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(192, 86, 64, 0.1);
}

/* Smooth transitions */
.transition-all {
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group-hover\\:scale-110,
    img {
        transition: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-sand-50 {
        background-color: #ffffff;
    }
    
    .text-neutral-600 {
        color: #374151;
    }
}

/* Accessibility: focus visible */
:focus-visible {
    outline: 2px solid #C05640;
    outline-offset: 2px;
}

/* Loading state for buttons */
button:active {
    transform: scale(0.98);
}

/* Image optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
