/* Custom Styles & Animation Utilities */

:root {
    --color-cream: #F9F7F0;
    --color-emerald-dark: #064e3b;
    --color-emerald-main: #059669;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-cream);
    color: #292524; /* Stone-700 */
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Start hidden */
}

.animation-delay-200 {
    animation-delay: 0.2s;
}
.animation-delay-400 {
    animation-delay: 0.4s;
}
.animation-delay-600 {
    animation-delay: 0.6s;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 1; /* Default visible for accessibility/performance */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transform: translateY(-20px);
}
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

/* Input Autofill override for dark section */
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: #F9F7F0;
    -webkit-box-shadow: 0 0 0px 1000px #064e3b inset;
    transition: background-color 5000s ease-in-out 0s;
}
