/* 
 * Runyan Limited Company - Custom Styles
 * Classic, Elegant, Refined
 */

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

body {
    /* Prevent FOIT/FOUT flash by setting font before load if possible, 
       but since we use Google Fonts, we rely on the font-display swap */
    font-feature-settings: "cv11", "ss01";
}

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

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

::-webkit-scrollbar-thumb {
    background: #246139;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a472a;
}

/* Animation Utilities */
@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;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
