/* Custom styles and overrides */

:root {
    --color-plum-50: #fdf4f8;
    --color-plum-100: #fce7f3;
    --color-plum-700: #9d174d;
    --color-plum-800: #831443;
    --color-plum-900: #500724;
    --color-plum-950: #38041a;
    --color-amber-400: #fcd34d;
    --color-amber-500: #fbbf24;
    --color-amber-600: #d97706;
}

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-plum-700), var(--color-amber-500));
    border-radius: 5px;
}

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

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children reveals */
    .reveal.stagger > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    
    .reveal.stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
    .reveal.stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
    .reveal.stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
    .reveal.stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
    .reveal.stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
    .reveal.stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }
    
    .reveal.stagger.revealed > * {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.2);
}

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

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

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

img[data-src] {
    opacity: 0;
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none;
    }
}
