/* Custom styles and overrides */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation background on scroll */
nav.scrolled {
    background: rgba(61, 15, 23, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .nav-text {
    color: #ffffff;
}

nav.scrolled .nav-subtext {
    color: #fcd34d;
}

nav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #a63d56;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #873043;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Form inputs */
input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

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