/* Custom styles for Scissorhand Hair Salon */

/* Gold accent animations */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af57, #b8943f);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8d5a3, #d4af57);
}

/* Selection color */
::selection {
    background: rgba(212, 175, 87, 0.3);
    color: #faf8f4;
}

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

/* Smooth image loading */
img {
    image-rendering: auto;
    loading: lazy;
}

/* Reduced motion */
@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;
    }
    
    .card-hover:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menuOverlay, button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .gold-text, .gold-text-animated {
        -webkit-text-fill-color: #8B7355 !important;
        background: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .gold-gradient {
        border: 2px solid ButtonText;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card-hover:hover {
        transform: none;
    }
    
    .card-hover:active {
        transform: scale(0.98);
    }
}
