/* Custom styles for Euro Food Basket */

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

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

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

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

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

/* Hero gradient animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Apply animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Image hover effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Text selection color */
::selection {
    background: #e9d3eb;
    color: #54224a;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #a855a0;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

#mobileMenu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
