/* Custom styles and overrides */
:root {
    --plum-900: #500724;
    --plum-800: #831443;
    --plum-700: #9d174d;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
}

/* Navbar scroll behavior */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(80, 7, 36, 0.1);
    backdrop-filter: blur(10px);
}

#navbar.scrolled .font-serif {
    color: #500724 !important;
}

#navbar.scrolled a:not(.bg-plum-700):not(.bg-amber-400) {
    color: #500724 !important;
}

#navbar.scrolled a:not(.bg-plum-700):not(.bg-amber-400):hover {
    color: #be185d !important;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobileMenu.open {
    max-height: 400px;
    opacity: 1;
}

/* Service card hover effects */
.bg-white.rounded-3xl:hover {
    transform: translateY(-4px);
}

/* Button hover lift */
a:hover {
    transition: all 0.2s ease;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Process step connectors */
@media (min-width: 768px) {
    .reveal.text-center.relative::after {
        content: '';
        position: absolute;
        top: 2rem;
        left: calc(50% + 3rem);
        right: calc(-50% + 3rem);
        height: 2px;
        background: linear-gradient(to right, #fbbf24, transparent);
        opacity: 0.3;
    }
}

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