/* Custom overrides and enhancements */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header scroll state */
header.scrolled {
    background: rgba(253, 244, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(157, 23, 77, 0.08);
}

/* Mobile menu transitions */
#mobileMenu {
    box-shadow: none;
}
#mobileMenu.open {
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Selection color */
::selection {
    background: #fbcfe8;
    color: #500724;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #be185d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fdf4f8 inset !important;
    -webkit-text-fill-color: #500724 !important;
}
</style>
