/* Custom styles for The Velveteen Rabbit */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #627d98;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Selection color */
::selection {
    background: #d99e28;
    color: #102a43;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Mobile menu link hover effect */
.mobile-menu-link {
    position: relative;
}
.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d99e28;
    transition: width 0.3s ease, left 0.3s ease;
}
.mobile-menu-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
}
.nav-scrolled .nav-logo-text {
    color: #102a43 !important;
}
.nav-scrolled a:not(.bg-navy-900) {
    color: #243b53 !important;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image placeholder fallback */
img {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d99e28;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Collection card hover lift */
.group:hover {
    transform: translateY(-4px);
}
.group {
    transition: transform 0.3s ease;
}

/* Gold accent line */
.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d99e28, #f2dca0);
    border-radius: 2px;
}
