/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: rgba(115, 46, 68, 0.15);
    color: #50202e;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9a8b8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c47a90;
}

/* Reduce motion preference */
@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;
    }
}

/* Mobile menu animation */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Nav active state */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(115, 46, 68, 0.06);
}

/* Card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Smooth image loading */
img {
    image-rendering: auto;
    loading: lazy;
}
