/* Custom styles and overrides */

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

/* Navigation text color based on state */
.nav-text {
    color: rgba(255, 255, 255, 0.9);
}

.nav-scrolled .nav-text {
    color: rgba(45, 45, 45, 0.9);
}

.nav-scrolled #navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-blur-lg;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile menu link */
.mobile-link {
    color: rgba(255, 255, 255, 0.9);
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state - always visible */
.reveal {
    opacity: 1;
    transform: none;
}

/* Selection color */
::selection {
    background-color: rgba(255, 107, 79, 0.2);
    color: #1a1a1a;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #ff6b4f;
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
