/* Custom Animations and Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    animation-fill-mode: forwards;
}

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

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

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

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

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

/* Selection Color */
::selection {
    background: #f9d0d9;
    color: #3d0815;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Image Loading */
img {
    max-width: 100%;
    height: auto;
}
