/* Quick Order Button Animations and Styles */

/* Base Button Styles */
.quick-order-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button Sizes */
.quick-order-btn.btn-sm { padding: 8px 20px; font-size: 14px; }
.quick-order-btn.btn-md { padding: 12px 30px; font-size: 16px; }
.quick-order-btn.btn-lg { padding: 16px 40px; font-size: 18px; }
.quick-order-btn.btn-xl { padding: 20px 50px; font-size: 20px; }

/* Pulse Animation */
.quick-order-btn.animation-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Bounce Animation */
.quick-order-btn.animation-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Shake Animation */
.quick-order-btn.animation-shake {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Rotate Animation */
.quick-order-btn.animation-rotate {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Glow Effect */
.quick-order-btn.glow-effect {
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
}

.quick-order-btn.glow-effect:hover {
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.8);
}

/* Gradient Background */
.quick-order-btn.gradient-bg {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ripple Effect */
.quick-order-btn.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hover Effects */
.quick-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.quick-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Icon Animation */
.quick-order-btn .btn-icon {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.quick-order-btn:hover .btn-icon {
    transform: scale(1.2);
}

/* Loading State */
.quick-order-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.quick-order-btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success State */
.quick-order-btn.success {
    background-color: #28a745 !important;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Floating Animation */
.quick-order-btn.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Neon Glow */
.quick-order-btn.neon-glow {
    box-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* 3D Button Effect */
.quick-order-btn.three-d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.quick-order-btn.three-d:hover {
    transform: rotateX(10deg) rotateY(10deg);
}

/* Magnetic Effect */
.quick-order-btn.magnetic {
    transition: transform 0.1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quick-order-btn.btn-lg {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .quick-order-btn.btn-xl {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .quick-order-btn {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .quick-order-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

