/* Pizza Plaza - Main Stylesheet */

/* Order Button Gradient */
.order-btn {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: white;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #b91c1c 100%);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(180deg, #030712 0%, #111827 100%);
}

/* Float Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Slide In Animation */
.slide-in {
    animation: slideIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scale In Animation */
.scale-in {
    animation: scaleIn 0.5s ease forwards;
    opacity: 0;
    transform: scale(0.8);
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pizza Card Styles */
.pizza-card {
    transition: all 0.3s ease;
}

.pizza-card:hover {
    transform: translateY(-8px);
}

.pizza-card:hover .pizza-image {
    transform: scale(1.1);
}

.pizza-image {
    transition: transform 0.5s ease;
}

/* Feature Card Hover */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(249, 115, 22, 0.1);
}

.feature-card:hover .feature-icon {
    background: rgba(249, 115, 22, 0.3);
    transform: scale(1.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

/* Cart Sidebar */
.cart-sidebar {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-sidebar.open {
    transform: translateX(0);
}

/* Overlay */
.overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 0 40px rgba(249, 115, 22, 0.5); }
}

/* Cart Item Animation */
.cart-item {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(3, 7, 18, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Delivery Card Hover */
.delivery-card {
    transition: all 0.3s ease;
}

.delivery-card:hover {
    transform: translateY(-4px);
    border-color: #f97316;
}

.delivery-card:hover .delivery-icon {
    transform: scale(1.1);
}

.delivery-icon {
    transition: transform 0.3s ease;
}

/* Location Card */
.location-card {
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: #f97316;
}

/* Social Button Hover */
.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* Input Focus Styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

/* Radio/Checkbox Custom Styling */
input[type="radio"]:checked {
    accent-color: #f97316;
}

input[type="checkbox"]:checked {
    accent-color: #f97316;
}

/* Payment/Delivery Option Selection */
.payment-option, .delivery-option {
    transition: all 0.3s ease;
}

.payment-option:has(input:checked),
.delivery-option:has(input:checked) {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

/* Quantity Button Styles */
.qty-btn {
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #4b5563;
}

.qty-btn:active {
    transform: scale(0.95);
}

/* Toast Animation */
.toast-show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Modal Animation */
.modal-content {
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .cart-sidebar {
        max-width: 100%;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #f97316;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Disabled Button State */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Badge Animation */
.cart-badge {
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}