/* Custom styles and overrides */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9f163c;
}

/* Selection color */
::selection {
    background: #ffc712;
    color: #3b0817;
}

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

/* Subtle hover effects for interactive elements */
a, button {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Reduce motion for accessibility */
@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-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 243, 241, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(194, 29, 74, 0.1);
}

/* Image hover container */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}
