/* Kid's Closet — Custom Styles */
/* Additional custom styles that complement the Tailwind setup */

/* Ensure smooth font loading */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection color */
::selection {
    background: #c43b3b;
    color: #FFF8F5;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .float,
    .float-delay,
    .blob,
    .marquee-track {
        animation: none;
    }
    
    .feature-card {
        transition: none;
    }
    
    .img-zoom img {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .mobile-menu {
        transition: none;
    }
}

/* Print styles */
@media print {
    .marquee-track,
    .float,
    .float-delay,
    .blob {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    #hero {
        min-height: auto;
    }
    
    .hero-grid > div:first-child {
        min-height: 90vh;
        padding: 6rem 1.5rem 4rem;
    }
    
    .hero-grid > div:last-child {
        min-height: 50vh;
    }
    
    .hero-grid > div:last-child img {
        min-height: 50vh;
    }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero-grid > div:first-child {
        padding: 6rem 3rem;
    }
}
