/* Custom styles and overrides */

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

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5a4530;
}

/* Selection color */
::selection {
    background: rgba(196, 154, 84, 0.3);
    color: #f5f0e8;
}

/* Navbar transition */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
    background: rgba(3, 3, 3, 0.95);
    border-bottom: 1px solid rgba(196, 154, 84, 0.1);
}

/* Gold gradient text animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-shimmer {
    background: linear-gradient(90deg, #d4a96e 0%, #f5d89a 50%, #d4a96e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* Hover card glow effect */
.group:hover .group-hover\:scale-110 {
    box-shadow: 0 0 30px rgba(196, 154, 84, 0.3);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
    -webkit-text-fill-color: #f5f0e8 !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

/* Print styles */
@media print {
    nav, button, .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
