


/* Slider New CSS */

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#mainContent.blur {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
  }

  #loadingOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .spinner {
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  body.loading + #loadingOverlay,
body.loading #loadingOverlay {
  display: flex;
}

/* Container */
.container {
    width: 90%;
    margin: auto;
}

/* Section Titles */
.section-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0;
}

/* Food Slider */
.food-slider {
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.food-slider-wrapper {
    position: relative;
  }
  
  .scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: orange;
    width: 0%;
    transition: width 0.2s ease;
    z-index: 5;
  }
  
  .food-slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  

/* Hide Scrollbar */
.food-slider::-webkit-scrollbar {
    display: none;
}

/* Food Item */
.food-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* space between top and bottom */
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
  }


.food-item:hover {
    transform: scale(1.05);
}

/* Food Details */
.food-details h4 {
    margin: 10px 0 5px;
}

.price {
    font-weight: bold;
    color: #e74c3c;
}

.rating {
    font-size: 14px;
    color: #f39c12;
}

/* Icons */
.veg-icon, .non-veg-icon {
    font-size: 18px;
    margin-right: 5px;
}

.veg-icon {
    color: green;
}

.non-veg-icon {
    color: red;
}



/* Counter container */
.counter {
    display: flex;
    justify-content: center; /* Center the content */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    width: 120px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 10px; /* Added margin from top */
    margin-left: 25px;
}

/* Styling for the count number */
.count {
    font-size: 20px;
    font-weight: bold;
    color: #007f3d; /* Green */
    text-align: center;
    min-width: 30px;
    margin: 0 10px; /* Add spacing between buttons */
}

/* Styling for plus and minus buttons */
.icon-btn {
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #007f3d; /* Green */
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* Hover effect */
.icon-btn:hover {
    background-color: #e0f3eb; /* Light green background */
}


/* Add button styling */

.image {
    height: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-radius: 8px;
    background-color: #f9f9f9; /* Optional background */
  }

.image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  
}

  
  .add-btn {
    background-color: #da2b13;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    text-align: center;
    margin: 10px auto 0;
  }
  

/* Button transition */
.add-btn:hover {
    background-color: #218838;
}




/* Header CSS */

/* Reset default margin & padding */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out;
    z-index: 1000;
}

.logo img {
    width: 65px; /* Adjust logo size */
}

.offer-text {
    font-size: 16px;
    font-weight: bold;
    color: #ff4500;
}

.sign-in {
    cursor: pointer;
    font-weight: bold;
}

/* Shadow effect when scrolling */
.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Content area */
.content {
    margin-top: 70px; /* To prevent content from being hidden behind fixed header */
    padding: 20px;
}

/* Food item styling */





.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.cart-container {
    position: relative;
    display: inline-block;
}

.cart-icon {
    font-size: 24px;
    color: black;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: white;
    color: black;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
}


/* Cart CSS */











.cart-container2 {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.left-section {
    width: 60%;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.restaurant-closed {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.restaurant-closed h3 {
    color: red;
    font-size: 18px;
    margin: 0;
}

.restaurant-closed p {
    font-size: 14px;
    color: gray;
}

.view-restaurants {
    background-color: #ff5722;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin-top: 10px;
}

.checkout-step {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}

.checkout-step img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.right-section {
    width: 35%;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

.cart-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.cart-header h3 {
    font-size: 18px;
    margin: 0;
}

/* Food item in cart */
.cart-item {
    background-color: #ffebee;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item h4 {
    font-size: 16px;
    color: #d32f2f;
    margin: 0;
}

.unavailable-btn {
    background-color: #ddd;
    color: #888;
    border: none;
    padding: 5px 10px;
    cursor: not-allowed;
    border-radius: 5px;
}

/* Apply Coupon Section */
.apply-coupon {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.apply-coupon img {
    width: 20px;
    height: 20px;
}

.apply-coupon span {
    font-size: 14px;
    font-weight: bold;
}

/* Bill Details */
.bill-details {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.total-amount {
    font-weight: bold;
    font-size: 18px;
    color: black;
}

@media (max-width: 768px) {
    .cart-container2 {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .right-section {
        width: 90%;
        margin-left: 0;
        padding: 15px;
    }
}

.proceed-btn {
    width: 100%;
    background-color: #fc7419;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    text-align: center;
}

.proceed-btn:hover {
    background-color: #139705;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .proceed-btn {
        font-size: 14px;
        padding: 10px;
    }
}

/* Footer */

.footer {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-about, .footer-links, .footer-contact, .footer-social {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer h2, .footer h3 {
    color: #ffa500;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-social a {
    color: #ffa500;
    margin: 0 10px;
    font-size: 20px;
}

.footer-bottom {
    background-color: #111;
    padding: 10px;
    margin-top: 10px;
}


/* Call ICON */
.call-us {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    cursor: pointer;
}

.call-us i {
    color: green;
    font-size: 18px;
}

.call-us a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.call-us a:hover {
    color: orange;
}


.footer-bottom a {
    color: green;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
@media (max-width: 600px) {
    .call-us a{
        display:none;
    }
}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 4.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
  .mySlides img{
    height: auto;
  }