/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Selection color */
::selection {
    background-color: rgba(201, 162, 39, 0.3);
    color: #ffffff;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Custom focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c9a227 !important;
    box-shadow: 0 0 0 1px #c9a227 !important;
}

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

/* Ensure all text is readable on dark backgrounds */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}
