/* Restaurant Theme Enhancements */

/* Custom Restaurant Color Palette */
:root {
    --restaurant-primary: #82277b;
    --restaurant-secondary: #8e44ad;
    --restaurant-accent: #9b59b6;
    --restaurant-dark: #6e2c8b;
    --restaurant-light: #f8f9fa;
    --restaurant-success: #82277b;
}

/* Enhanced background patterns for restaurant ambiance */
.restaurant-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(130, 39, 123, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(142, 68, 173, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Restaurant menu-inspired animations */
@keyframes dishFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(2deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.restaurant-decoration {
    animation: dishFloat 4s ease-in-out infinite;
}

/* Enhanced card styling with restaurant theme */
.card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(130, 39, 123, 0.3);
    box-shadow: 
        0 8px 32px rgba(130, 39, 123, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Restaurant-themed input styling */
.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(130, 39, 123, 0.2);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--restaurant-primary);
    box-shadow: 0 0 0 0.2rem rgba(130, 39, 123, 0.25);
}

/* Restaurant button with special effects */
.btn-restaurant {
    background: linear-gradient(45deg, var(--restaurant-primary), var(--restaurant-success));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-restaurant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-restaurant:hover::before {
    left: 100%;
}

.btn-restaurant:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(130, 39, 123, 0.4);
}

/* Loading spinner with restaurant theme */
.spinner-restaurant {
    border: 4px solid rgba(130, 39, 123, 0.3);
    border-radius: 50%;
    border-top: 4px solid var(--restaurant-primary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Restaurant-themed alerts */
.alert-restaurant {
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    color: white;
    border-left: 4px solid #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.alert-restaurant.alert-success {
    background: linear-gradient(45deg, var(--restaurant-primary), var(--restaurant-success));
    border-left-color: #6e2c8b;
    box-shadow: 0 4px 12px rgba(130, 39, 123, 0.3);
}

/* Mobile restaurant optimizations */
@media (max-width: 768px) {
    .restaurant-decoration {
        font-size: 2rem;
    }
    
    .card {
        margin: 15px;
        border-radius: 15px;
    }
    
    .btn-restaurant {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* Restaurant ambiance particles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(130, 39, 123, 0.3);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(100vh) translateX(0); 
        opacity: 0; 
    }
    10%, 90% { 
        opacity: 1; 
    }
    50% { 
        transform: translateY(-10px) translateX(20px); 
    }
}

/* Restaurant logo enhancements */
.logo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}
