/* Custom styles for Panadería José María */

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background-color: rgba(249, 244, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(144, 61, 107, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

/* Hover effects for product cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    border-color: #f59e0b !important;
}

/* Selection color */
::selection {
    background-color: #d69fbf;
    color: #51233d;
}

/* Mobile menu button animation */
#menu-btn.active svg path {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

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