/* Custom styles for World of SJ Gifts & Dekor */

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

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

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

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

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

/* Floating animation for accent cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Subtle glow for decorative elements */
@keyframes glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.glow-pulse {
    animation: glow 4s ease-in-out infinite;
}

/* Mobile link transition */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(116, 77, 147, 0.2);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Image hover zoom container */
img {
    display: block;
    max-width: 100%;
}

/* Reduce motion preference */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    header, footer, #back-to-top, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
