/* 
 * Bunny Hollow Farm - Custom Styles
 * Bold Editorial Aesthetic: Burgundy & Blush
 */

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

body {
    /* Custom properties for consistency */
    --color-burgundy: #580F1A;
    --color-burgundy-dark: #3A0A11;
    --color-blush: #FDF6F7;
    --color-charcoal: #1C1C1C;
}

/* 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 1s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

/* Scroll Reveal Utility */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-blush);
}

::-webkit-scrollbar-thumb {
    background: var(--color-burgundy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-burgundy-dark);
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}
