/* Basic body and container styling */
body {
    font-family: Arial, sans-serif;
    margin-bottom: 100px; /* Ensure content doesn't get hidden behind the fixed button */
}

.container {
    margin-top: 20px;
}.menu-item-container {
    margin-bottom: 30px;  /* Spacing between items */
}

/* Menu Item Image Container */
.menu-item-image-container {
    perspective: 1000px; /* Keeps the 3D perspective */
}

.menu-item-image {
    transition: transform 0.6s ease-in-out; /* Adds smooth transition */
    transform-style: preserve-3d;
}

.menu-item-image:hover {
    transform: scale(0.8); /* Zooms out the image by scaling it to 80% */
}


/* Mobile Adjustment: Slightly smaller zoom on smaller screens */
@media (max-width: 768px) {
    .menu-item-image-container:hover .menu-item-image {
        transform: scale(1.05);  /* Smaller zoom on smaller screens */
    }
}



.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between; /* Position name and price on opposite ends */
    align-items: center;
}

.overlay-text h5 {
    font-size: 1.5em;  /* Larger font size for the name */
    font-weight: bold;  /* Bold the name */
    margin: 0;
    color: white; /* Ensure the text is white for visibility */
}

.overlay-text .menu-item-price {
    font-size: 1.5em;  /* Larger font size for the price */
    font-weight: bold;  /* Bold the price */
    color: #f39c12;  /* Use a distinct color for the price, or keep the primary color */
    margin: 0;
}

.overlay-description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 1em;
    font-style: italic;
    color: white;
    padding: 10px;
    opacity: 0.8;
}

.quantity-buttons {
    display: flex;
    justify-content: flex-start;  /* Align the buttons to the left */
    gap: 5px;  /* Small gap between buttons */
    align-items: center;
}

.quantity-buttons button {
    height: 35px;
    padding: 0 15px;
    font-weight: bold;
    border-radius: 25px;
}

.quantity-buttons .form-control {
    width: 60px;  /* Fixed width for the quantity input */
    height: 35px;
    text-align: center;  /* Center the value in the input box */
}


/* Styling for the sliding cart */
.cart-container {
    position: fixed;
    bottom: -100%; /* Initially hidden off the bottom of the screen */
    left: 0;
    width: 100vw; /* Full width of the screen */
    height: 80%; /* Height of the cart */
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3); /* Shadow for cart */
    transition: bottom 0.3s ease-in-out; /* Smooth sliding effect */
    z-index: 1000;
    padding: 15px; /* Reduced padding for a tighter container */
    overflow-y: auto; /* Allow scrolling when items overflow */
}

.cart-container.show {
    bottom: 0; /* Cart slides up into view */
}

/* Cart Item styling */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0; /* Remove all margins */
    padding: 2px 0; /* Reduced padding to make the items closer */
    font-size: 16px; /* Smaller font size for cart items */
    border-bottom: none; /* Removed individual item border */
}

/* Styling for the remove button (using a small delete icon) */
.cart-item .delete-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px; /* Reduced delete icon size */
    color: #FF8C00; /* Orange color */
}

.cart-item .delete-btn:hover {
    color: #e77f00; /* Darker orange on hover */
}

/* Separator line before the total price */
.cart-container .separator {
    margin-top: 15px; /* Space between items and the separator */
    border-bottom: 2px solid #ddd; /* Thicker line for separation */
    margin-bottom: 10px;
}

/* Button and input styles */
.btn {
    cursor: pointer;
}

input[type="tel"], textarea {
    width: 100%;
}

/* Styling for the cart button (Edge-to-edge, sticky at bottom) */
.cart-toggle-btn {
    position: fixed;
    bottom: 0; /* Ensure it stays at the bottom */
    left: 0; /* Align it to the left edge */
    width: 100vw; /* Full width of the viewport (100% of the screen width) */
    height: 60px; /* Adjusted height for a flat button */
    background-color: white; /* White background */
    color: #FF8C00; /* Orange color for text */
    border: none;
    border-radius: 0px; /* No rounded corners for full width */
    display: flex;
    flex-direction: row; /* Arrange the elements horizontally */
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Reduced padding */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2); /* Shadow for the top edge */
    z-index: 1100; /* Ensure it's above other content */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}
/* Shopping Cart Icon */
/* Shopping Cart Icon */
.view-cart-btn {
    font-size: 70px; /* Increased icon size significantly */
    margin-right: 10px; /* Space between icon and cart count */
    color: #fff; /* Icon color */
    position: absolute; /* To center it inside the button */
    top: 50%; /* Center the icon vertically */
    left: 50%; /* Center the icon horizontally */
    transform: translate(-50%, -50%); /* Fine-tuning the centering */
    z-index: 10; /* Ensure it sits above other content */
}
/* Shopping Cart Icon */
.view-cart-btn {
    font-size: 50px !important; /* Ensure the icon is big */
    color: #fff;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 10px; /* Add padding around the icon */
}


/* Hover effect for the cart button */
.cart-toggle-btn:hover {
    background-color: #f4f4f4; /* Slightly lighter background on hover */
    transform: translateY(-3px); /* Slight lift effect on hover */
}

/* Cart button content */
.cart-toggle-btn .cart-info {
    display: flex;
    flex-direction: row; /* Align elements horizontally */
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/* Rounded Cart count */
.cart-toggle-btn .cart-info .cart-count {
    font-size: 18px;
    font-weight: bold;
    margin-right: 15px; /* Space between the count and the text */
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Makes the count circular */
    background-color: #FF8C00; /* Orange background for the count */
    color: white; /* White text inside */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* View Cart Text next to the count (no underline) */
.cart-toggle-btn .cart-info .view-cart-btn {
    font-size: 14px;
    color: #FF8C00; /* Orange text */
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    margin-right: 15px;
}

/* Total Price Text */
.cart-toggle-btn .cart-info .total-price {
    font-size: 16px; /* Smaller font size for total price */
    font-weight: bold;
    color: #FF8C00; /* Orange color */
}

/* Styling for the cart container and items */
.cart-container .cart-item {
    padding: 2px 0; /* Ensure the padding is narrow */
    border-bottom: none; /* No border between cart items */
}

.cart-container .cart-item p {
    margin: 0; /* Remove all margins for consistent spacing */
    font-size: 16px; /* Smaller font size for mobile cart items */
    color: #333;
}

.cart-container .cart-item .btn {
    background-color: #FF8C00; /* Same light orange color */
    border-radius: 5px;
    color: white;
    padding: 5px 10px;
    font-size: 11px; /* Smaller font size */
}

.cart-container .cart-item .btn:hover {
    background-color: #e77f00; /* Darker orange when hovering */
}

/* Increase the total price font size */
.cart-container .total-price {
    font-size: 18px; /* Slightly larger font size for total price */
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

.cart-container .total-price span {
    color: #FF8C00; /* Highlight total price with light orange */
}

/* Add some spacing to cart container */
.cart-container .cart-item,
.cart-container .total-price {
    margin-bottom: 8px; /* Smaller spacing between items */
}

/* Styling for the empty cart message */
.cart-container .empty-cart {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Styling for WhatsApp button */
#whatsappBtn {
    background-color: #25D366; /* WhatsApp green color */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#whatsappBtn:hover {
    background-color: #128C7E; /* Darker WhatsApp color on hover */
    transform: translateY(-3px); /* Slight lift effect on hover */
}

/* Responsive design for cart */
@media (max-width: 768px) {
    .cart-toggle-btn {
        width: 100vw; /* Full width for mobile screens */
        height: 60px; /* Consistent height */
    }

    .cart-container {
        width: 100vw; /* Full width for mobile screens */
        height: 80%; /* Adjust height for mobile screens */
    }

    .cart-item {
        font-size: 13px; /* Smaller font size for mobile */
    }

    .cart-item .delete-btn {
        font-size: 16px; /* Smaller delete icon size for mobile */
    }

    .cart-container .total-price {
        font-size: 18px; /* Larger font size for total */
    }
}

/* Delete button styling */
.delete-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.delete-btn i {
    font-size: 16px; /* Smaller icon size */
    color: #FF7043; /* Stylish Orange Color for the trash can icon */
}

.delete-btn:hover {
    background-color: #FFEBEE; /* Light orange background on hover */
    border-radius: 50%;
}

.delete-btn:focus {
    outline: none; /* Remove focus outline */
}/* General Cart Container Styling */
.cart-container {
    padding: 20px;
    max-width: 500px;  /* To keep the cart container from getting too wide */
    margin: auto;
    background-color: #fff; /* Background color for the cart */
    border-radius: 8px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow around the cart */
    box-sizing: border-box;
}

/* Cart Content Styling */
.cart-content h4 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Cart Form Styling */
.cart-form {
    margin-top: 20px;
}

/* Phone Number and Additional Instructions Fields Styling */
.cart-form input[type="tel"],
.cart-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd; /* Light border for the inputs */
    box-sizing: border-box; /* Prevent padding from affecting width */
}

.cart-form textarea {
    height: 100px; /* Larger height for the instructions textarea */
    resize: vertical; /* Allow vertical resizing */
}

/* WhatsApp Button Styling */
.cart-form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #FF8C00; /* Bright button color */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-form button:hover {
    background-color: #e77f00; /* Darker button color on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cart-container {
        padding: 15px;
    }

    .cart-form input[type="tel"], 
    .cart-form textarea {
        width: 100%;
        padding: 14px;
        font-size: 18px;
    }

    .cart-form button {
        margin-top: 15px; /* Space between button and input fields */
        font-size: 18px;
    }

    .cart-content h4 {
        font-size: 20px; /* Slightly smaller heading for mobile */
    }
}

/* Flying item container */
.flying-item-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Item Name (hidden initially, becomes visible during the animation) */
.item-name {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px; /* Space between name and item */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for showing */
}

/* Flying item style */
.flying-item {
    position: relative;
    color: white;
    padding: 8px 11px;
    font-size: 15px;
    text-align: center;
    border-radius: 42%;
    background: linear-gradient(45deg, #e31a1c, #f9d423);
    border: 5px solid #ff6600; /* A contrasting border for more detail */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transition: all 1s ease-in-out;
    pointer-events: none;
}

/* Woven Effect with Background */
.flying-item:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #ffcc00;
    background: repeating-linear-gradient(45deg, #ffcc00 0px, #ff6600 20px, #ffcc00 40px); /* Simulates woven texture */
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Fly to Cart Animation */
@keyframes flyToCart {
    0% {
        top: 200px;
        left: 50px;
        opacity: 1;
    }
    100% {
        top: 20px;
        left: calc(100% - 100px); 
        opacity: 0;
        width: 40px;
        height: 40px;
        font-size: 0;
    }
}

.flying-item.move-to-cart {
    animation: flyToCart 1s ease-in-out forwards;
}

/* Show the item name when the flying item is active */
.flying-item.move-to-cart + .item-name {
    opacity: 1; /* Make item name visible when the item starts flying */
    transform: translateY(-20px); /* Optional: Move the item name upwards a bit */
}




/* Keyframes for flying to the cart */
@keyframes flyToCart {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) translateX(0);
        opacity: 0;
    }
}
#category-tabs-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%; /* Optional, adjust as needed */
}

#category-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    padding-left: 0;
    margin-bottom: 0;
}

#category-tabs .nav-item {
    display: inline-block;
    margin-right: 15px;
}
/* Style for the category container */
#category-tabs {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping of items */
    transition: transform 0.3s ease-in-out; /* Add smooth sliding transition */
}

#category-tabs .nav-item {
    flex-shrink: 0; /* Prevent shrinking of the tabs */
    margin-right: 15px; /* Add space between tabs */
}

#category-tabs .nav-link {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
}

#category-tabs .nav-link:hover {
    background-color: #f0f0f0; /* Add hover effect */
}

/* Optional: Adding a shadow effect when scrolling */
#category-tabs::-webkit-scrollbar {
    height: 5px;
}

#category-tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

#category-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
}
/* Style for the category icons */
.category-icon {
    width: 30px; /* Adjust width as necessary */
    height: 30px; /* Adjust height as necessary */
    margin-right: 10px; /* Space between icon and text */
    vertical-align: middle; /* Center icon vertically with text */
}

.nav-link {
    display: flex;
    align-items: center; /* Aligns icon and text vertically */
    padding: 5px 10px; /* Padding for better spacing */
}

/* Optional: Add hover effect to icons */
.nav-link:hover .category-icon {
    opacity: 0.7;
    transform: scale(1.1); /* Slight zoom effect on hover */
    transition: transform 0.2s, opacity 0.2s;
}





