/* Custom styles for Drizzle Nutrition Bar */

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

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Smoothie and baked item hover effects */
.smoothie-item,
.baked-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.3s ease;
}

.smoothie-item:last-child,
.baked-item:last-child {
    border-bottom: none;
}

.smoothie-item:hover,
.baked-item:hover {
    padding-left: 12px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure hero content is always visible */
.hero-content {
    opacity: 1;
}

/* Scroll reveal animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text has proper contrast */
.text-charcoal-600 {
    color: #3D3D3D;
}

.text-charcoal-800 {
    color: #1E1E1E;
}

/* Ensure buttons are accessible */
button, a {
    cursor: pointer;
}

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

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

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

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