/* Custom styles for Spruce Shadow Farms */

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

/* Gold shimmer animation for hero text */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* Subtle pulse for CTA buttons */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 160, 60, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(201, 160, 60, 0.15); }
}

.btn-gold:hover {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #4a1c23;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b2630;
}

/* Selection color */
::selection {
    background: rgba(201, 160, 60, 0.3);
    color: #fdf2f0;
}

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

/* Reduced motion - ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-overlay, .animate-bounce {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
