/* Custom Styles for HP Smoothie Bar & Grill */

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

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

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

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

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

/* Hover Effects for Cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 300px;
    opacity: 1;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #FF6B81;
    outline-offset: 2px;
    border-radius: 4px;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .font-heading {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .font-body {
        font-size: clamp(1rem, 3vw, 1.125rem);
    }
}

/* Reduced Motion */
@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;
    }
}
