/* Custom Styles for Mr. Ice Cream Cone */

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

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #841232;
}

/* Animation Classes (Progressive Enhancement) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\:scale-105:hover img, .group-hover\:scale-110:hover img {
        transition: none;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled #nav-bg {
    opacity: 1;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a31234;
    outline-offset: 2px;
}

/* Image Loading Placeholder */
img {
    background-color: #e5e7eb;
}

/* Selection Color */
::selection {
    background-color: #a31234;
    color: white;
}
