/* Custom styles for Bev-Mart Toys And More */

/* Clip path for hero right panel */
.clip-hero-right {
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(18deg); }
}

@keyframes float-circle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

.floating-square {
    animation: float-slow 8s ease-in-out infinite;
}

.floating-triangle {
    animation: float 7s ease-in-out infinite;
}

/* Scroll reveal - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf9ef;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Selection color */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}
