/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Selection color */
::selection {
    background-color: #7B3F5B;
    color: white;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #63314a;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #7B3F5B;
    outline-offset: 2px;
}

/* Form input focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(123, 63, 91, 0.1);
}

/* Subtle animation for the floating card */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    #navbar, #mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-plum-600, .bg-plum-950 {
        background: #7B3F5B !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
