/* Custom Styles for Shear Gratitude */

/* Base Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv11", "ss01";
}

/* Custom 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.22, 1, 0.36, 1) forwards;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #072e30;
}

/* Form Focus States */
input:focus, textarea:focus {
    border-bottom-width: 2px;
}

/* Image Loading Placeholder */
img {
    background-color: #f4f1ea;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Ensure serif fonts render nicely */
.font-serif {
    font-weight: 400;
}

.font-serif em {
    font-style: italic;
}
