/* Custom Styles for Insight Eye Care */

:root {
    --plum-deep: #13070F;
    --plum-dark: #1F0B16;
    --amber-gold: #D4AF37;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--plum-deep);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: var(--plum-deep);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--amber-gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Gold Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(to right, #F3E5AB, #D4AF37, #8B7355);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input Autofill Styling for Dark Theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px var(--plum-dark) inset;
    transition: background-color 5000s ease-in-out 0s;
}
