* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #ff6b35, #ff8e35);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    padding: 2rem 0;
}

section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

h2 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
}

h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#menu-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-category {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #ff6b35;
}

.menu-category.special {
    background: linear-gradient(135deg, #fff3cd, #fff8db);
    border: 3px solid #ffc107;
    border-left: 6px solid #ffc107;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.menu-category.special::before {
    content: '⭐';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

.menu-category.special .category-title {
    color: #b8860b;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.category-title {
    color: #ff6b35;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.menu-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-info h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.price {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.add-btn, .remove-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.add-btn:hover {
    background: #e55a2b;
}

.remove-btn {
    background: #dc3545;
    padding: 0.3rem 0.8rem;
}

.remove-btn:hover {
    background: #c82333;
}

.add-btn.in-cart {
    background: #28a745;
    font-weight: bold;
}

.add-btn.in-cart:hover {
    background: #218838;
}

#order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: bold;
    display: block;
    margin-bottom: 0.2rem;
}

.item-price {
    color: #666;
    font-size: 0.9rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity {
    background: white;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.order-options {
    margin-bottom: 1.5rem;
}

.order-options label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background 0.2s;
}

.order-options label:hover {
    background: #e9ecef;
}

.order-options input[type="radio"] {
    margin-right: 0.5rem;
}

.customer-info {
    margin-bottom: 1.5rem;
}

.customer-info input,
.customer-info textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
}

.customer-info textarea {
    height: 100px;
    resize: vertical;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    padding: 0.3rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

#customerPhone.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.order-total {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #ff6b35;
}

.order-total .subtotal,
.order-total .gst,
.order-total .pst {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.order-total .total-with-tax {
    color: #ff6b35;
    font-size: 1.5rem;
    margin: 1rem 0 0 0;
    line-height: 1.2;
}

button[type="submit"] {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #218838;
}

/* Sticky Proceed Button */
.sticky-proceed-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #ff6b35;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    padding: 15px 25px;
    min-width: 300px;
    animation: slideUp 0.3s ease-out;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.proceed-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.proceed-info {
    font-weight: 600;
    font-size: 1rem;
}

.sticky-proceed-button button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sticky-proceed-button button:hover {
    background: white;
    color: #ff6b35;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    
    /* Mobile styles for sticky button */
    .sticky-proceed-button {
        min-width: 280px;
        padding: 12px 20px;
        bottom: 15px;
    }
    
    .proceed-info {
        font-size: 0.9rem;
    }
    
    .sticky-proceed-button button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Add bottom padding to order section to prevent overlap */
    #order-section {
        padding-bottom: 100px;
    }
    
    header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    #menu-items {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .order-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}