/* Custom styles beyond Tailwind */

:root {
    --plum-700: #9d174d;
    --plum-900: #500724;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 244, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(157, 23, 77, 0.08);
}

.nav-logo-text {
    color: #500724;
}

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

#mobile-menu.open {
    max-height: 500px;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf4f8;
}
::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f472b6;
}

/* Floating card animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Dot pattern animation */
@keyframes pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Service card hover glow */
.group:hover .w-16 {
    box-shadow: 0 8px 24px rgba(157, 23, 77, 0.2);
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.2);
}

/* Gallery image hover overlay */
.group:hover img {
    filter: brightness(1.05);
}

/* Smooth image loading */
img {
    image-rendering: auto;
    loading: lazy;
}

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