/* Base styles and custom animations */
:root {
    --color-plum-50: #fdf4f7;
    --color-plum-100: #fae8ed;
    --color-plum-600: #a63655;
    --color-plum-700: #8a2944;
    --color-plum-800: #712238;
    --color-plum-900: #5f1e30;
    --color-amber-300: #fcd34d;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    color: #5f1e30;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-manrope {
    font-family: 'Manrope', sans-serif;
}

/* Hero animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
}

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

.reveal-on-scroll[data-revealed="false"] {
    opacity: 0;
    transform: translateY(40px);
}

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(95, 30, 48, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8a2944;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

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