/* Custom Styles for Denali Glacier Scoops & Gifts */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4a574, #b8864e);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c9956b, #a67a42);
}

/* Selection Color */
::selection {
    background-color: rgba(201, 149, 107, 0.3);
    color: #ffffff;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Reveal Animation (Progressive Enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group:hover img {
        transform: none;
        transition: none;
    }
}

/* Navigation Active State */
nav a.active {
    color: #d4a574;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #d4a574;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(135deg, #0f1f3d 0%, #162a4a 100%);
}

/* Gold Gradient Text Utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a574 0%, #b8864e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Glow */
.group:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Transition */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Hero Image Animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #0f1f3d 25%, #162a4a 50%, #0f1f3d 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
