/* Custom styles for Dreamland Appliance & Mattress Outlet */

/* Float animation for hero card */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-float {
        animation: none;
    }
}

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

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

::-webkit-scrollbar-track {
    background: #040f1c;
}

::-webkit-scrollbar-thumb {
    background: #1a3a63;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #214d80;
}

/* Selection color */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #e8eef7;
}
