/* Custom styles complementing Tailwind */

/* Smooth scroll for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #3d0714;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a6183d;
}

/* Selection color */
::selection {
    background: #a6183d;
    color: #fceee8;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4a84b;
    outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Subtle shimmer animation for gold accents */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

/* Burgundy glow effect */
.burgundy-glow {
    box-shadow: 0 0 40px rgba(166, 24, 61, 0.15);
}

/* Reduced motion */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    .hero-bg {
        background-attachment: scroll !important;
    }
}
