/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Gold gradient animation on hover for special elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-gradient-animated {
    background: linear-gradient(90deg, #d4a853, #f0d78e, #b8860b, #d4a853);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 168, 83, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

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

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

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

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

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

/* Selection color */
::selection {
    background-color: rgba(212, 168, 83, 0.3);
    color: #f1f5f9;
}
