/* Custom styles and animations */

:root {
    --plum-50: #fdf4f6;
    --plum-100: #fce7eb;
    --plum-200: #f9d0d9;
    --plum-700: #962443;
    --plum-800: #7c213c;
    --plum-950: #3d0c1c;
    --amber-400: #fbbf24;
    --amber-50: #fffbeb;
}

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Floating animation for hero badge */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(124, 33, 60, 0.08);
}

.nav-transparent {
    background: transparent !important;
}

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

::-webkit-scrollbar-track {
    background: var(--amber-50);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-200);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-400);
}

/* Selection color */
::selection {
    background: var(--plum-200);
    color: var(--plum-950);
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--plum-400);
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
