/* Custom Styles for Cervidae Studio */

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

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

/* Animations */
@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

.animate-scroll {
    animation: scroll 1.5s infinite;
}

/* Reveal Animations - Progressive Enhancement */
/* Default state: visible */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-card {
    opacity: 1;
    transform: rotate(3deg); /* Default rotation for card 1 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation classes applied by JS */
.reveal-up.animated {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-card.animated {
    opacity: 0;
    transform: rotate(3deg) translateY(20px);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-500 { transition-delay: 500ms; }
.delay-700 { transition-delay: 700ms; }

/* Mobile Menu Transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

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

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-scroll {
        animation: none;
    }
}
