/* Custom Styles for Stewart Nutrition */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography refinements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden for animation */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 1; /* Default visible for SEO/Accessibility */
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility for hiding elements before JS loads if needed, 
   but keeping content visible is priority */
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

/* Form Focus States */
input:focus, textarea:focus {
    border-color: #2C5F63;
    box-shadow: 0 0 0 1px #2C5F63;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F7F2;
}
::-webkit-scrollbar-thumb {
    background: #2C5F63;
}
::-webkit-scrollbar-thumb:hover {
    background: #1A3C40;
}
