/* Custom styles for BeeHop Yogurt Hive */

html {
    scroll-behavior: smooth;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #2d1b32;
}

::-webkit-scrollbar-thumb {
    background: #6a3b75;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #824b8d;
}

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

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

.floating-card:nth-child(2) {
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    animation-delay: 2s;
}

.floating-card:nth-child(4) {
    animation-delay: 3s;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #f59e0b;
    color: #1a0f1c;
}
