/* Custom styles for Ebony's Ice Cream */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 253, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Feature card hover */
.feature-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* Flavor card hover */
.flavor-card {
    transform: translateY(0);
}

.flavor-card:hover {
    transform: translateY(-6px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .flavor-card,
    .feature-card {
        transition: none;
    }
    
    .flavor-card img,
    .feature-card img {
        transition: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #34a876;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1f8a5c;
}
