/* Custom styles and animations */

html {
    scroll-behavior: smooth;
}

body {
    /* Fallback font stack */
    font-family: 'Montserrat', sans-serif;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

::-webkit-scrollbar-track {
    background: #0f1c15;
}

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

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

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

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

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

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

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

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.mobile-link {
    transition: color 0.3s ease;
}

/* 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: #fdfbf7;
    -webkit-box-shadow: 0 0 0px 1000px #0f1c15 inset;
    transition: background-color 5000s ease-in-out 0s;
}

select option {
    background-color: #0f1c15;
    color: #fdfbf7;
}
