/* 🌟 General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* 🌟 Header Styling */
header {
    background: #ff6600;
    color: white;
    padding: 10px 20px; /* Reduce padding */
    height: 60px; /* Set a smaller height */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
}

/* 🌟 Navigation Styling */
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* 🌟 Restaurants Section */
.restaurants {
    margin-top: 20px;
}

.restaurant-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.restaurant {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background: white;
}

.restaurant img {
    width: 200px;
    height: 150px;
    border-radius: 5px;
}

.restaurant a {
    display: block;
    margin-top: 10px;
    background: #ff6600;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* 🌟 Menu Section */
.menu {
    text-align: center;
    margin-top: 20px;
}

.menu-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.menu-item:hover {
    transform: scale(1.05);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.menu-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.price {
    font-size: 16px;
    font-weight: bold;
    color: #ff6600;
}

.add-to-cart {
    background: #ff6600;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.add-to-cart:hover {
    background: #e55a00;
}

/* 🌟 Cart Styling */
.cart-container {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.cart-item:hover {
    transform: scale(1.02);
}
.cart-item button {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-item button:hover {
    background: darkred;
}

/* 🌟 Checkout Page */
.checkout-container {
    text-align: center;
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

form input, form textarea {
    width: 80%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background: #ff6600;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #e55a00;
}

/* 🌟 Payment Section */
.payment-container {
    text-align: center;
    padding: 20px;
}

.payment-container h2 {
    margin-bottom: 15px;
}

.payment-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-container label {
    font-size: 18px;
    margin: 10px 0;
    cursor: pointer;
}

.payment-container button {
    background: #ff6600;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.payment-container button:hover {
    background: #e55a00;
}

/* 🌟 Order Tracking */
.tracking-container {
    text-align: center;
    padding: 20px;
}

.tracking-status {
    font-size: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 50%;
    margin: auto;
    animation: fadeIn 2s;
}

.tracking-status p {
    opacity: 0.5;
    transition: opacity 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tracking-status p.active {
    opacity: 1;
    font-weight: bold;
}

/* 🌟 Menu Grid */
.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* 🌟 Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-list, .restaurant-list {
        flex-direction: column;
        align-items: center;
    }

    .cart-item, form {
        width: 90%;
    }
}

/* 🌟 Button Styling */
button {
    background: #ff6600;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

button:hover {
    background: #e55a00;
}
