/* Custom styles for Mims Furniture */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #a01532;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #3d0710;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Custom select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a01532' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    appearance: none;
}

/* Animation for floating blobs */
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(18px, -22px) scale(1.08); }
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .blob {
        animation: none;
    }
}
