/* Custom Styles for ACE RESTAURANT */

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(201, 169, 97, 0.2);
}

/* Glass morphism */
.glass {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

::-webkit-scrollbar-track {
    background: #0f0f1e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #8b6f47;
}

/* Image hover effects */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Button pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(201, 169, 97, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(201, 169, 97, 0.3);
    border-top: 3px solid #c9a961;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #c9a961 0%, #8b6f47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shadow effects */
.card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-shadow:hover {
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.2);
}

/* Menu category active state */
.category-active {
    background: linear-gradient(135deg, #c9a961 0%, #8b6f47 100%);
    color: #0f0f1e;
}

/* Price tag styling */
.price-tag {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #c9a961 0%, #8b6f47 100%);
    color: #0f0f1e;
    font-weight: bold;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Deal badge */
.deal-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #c9a961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* Responsive image containers */
.aspect-ratio-16-9 {
    position: relative;
    padding-bottom: 56.25%;
}

.aspect-ratio-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu item card */
.menu-item-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item-card:hover {
    border-color: #c9a961;
    transform: translateY(-5px);
}

/* Best seller badge */
.best-seller-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f0f1e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Signature dish badge */
.signature-badge {
    background: linear-gradient(135deg, #c9a961 0%, #8b6f47 100%);
    color: #0f0f1e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Cart sidebar overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Notification animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    animation: slideInRight 0.3s ease-out;
}
