/* Custom Styles & Animations */

:root {
    --color-cream-50: #FDF8F6;
    --color-cream-100: #F9EBE6;
    --color-cream-200: #F2D5CB;
    --color-burgundy-700: #7D2525;
    --color-burgundy-900: #541A1A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--color-cream-50);
    color: var(--color-burgundy-900);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Hero Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation-name: fadeInDown;
    animation-duration: 1s;
    animation-timing-function: ease-out;
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: ease-out;
}

/* Scroll Reveal Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1; /* Default visible for accessibility */
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.revealed.reveal-up {
    transform: translateY(0);
}

.revealed.reveal-left {
    transform: translateX(0);
}

.revealed.reveal-right {
    transform: translateX(0);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Navbar Scroll State */
.nav-scrolled {
    background-color: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-fade-in-down, .animate-fade-in-up {
        animation: none;
        opacity: 1;
    }
}
