body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.highlight {
    font-weight: bold;
    color: #ff4500; /* Orange color */
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff1493;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* Hide by default */
}

#backToTop:hover {
    background-color: #ff1493;
}

.highlight-bg {
    background-color: yellow;
    padding: 5px;
    border-radius: 5px;
}

.highlight-box {
    background: linear-gradient(45deg, red, blue, green, orange);
    color: white ;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

@keyframes blink {
    50% { opacity: 0; }
}
.blink {
    color: red;
    font-weight: bold;
    animation: blink 1s infinite;
}

header {
    background-color: #ff69b4;
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    margin-top: 0.5rem;
}

header nav a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

header nav a:hover {
    text-decoration: underline;
}

.container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#menu-items {
    flex: 1;
}

.menu-category {
    margin-bottom: 1rem;
}

.menu-category h2 {
    background-color: #ff69b4;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
}

.menu-category-hl h2 {
    background: linear-gradient(45deg, red, orange, blue, green, orange);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
}

.menu-category-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 items per row */
    gap: 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    background-color: #ffe4e1;
    font-size: large;
}

.menu-item-hl {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    background-color: red;
    font-size: large;
}

.menu-item img {
    width: 200px;
    height: 200px;
    border-radius: 5px;
    margin-right: 1rem;
}

.menu-item-details {
    flex: 1;
}

.menu-item select {
    margin-top: 0.5rem;
    height: 30px;
}

.menu-item button {
    margin-top: 0.5rem;
}

.menu-item button {
    background-color: #ff1493;
    color: white;
    border: none;
    padding: 1rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: large;
}

.menu-item button:hover {
    background-color: #ff1493;
}

.menu-item .price {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: purple;
    font-weight: bold;
}

.cart-icon {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: purple;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    font-size: 1.2rem;
}

.cart-icon .item-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: pink;
    color: purple;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    
}

.cart {
    position: absolute;
    right: 1rem;
    top: 10rem;
    width: 250px;
    padding: 1rem;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    background-color: #ffe4e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cart button {
    background-color: #ff69b4;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    width: 30%;
}

.cart button:hover {
    background-color: #ff1493;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
  }
.close-icon {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: purple;
}

.close-icon:hover {
    color: #ff0000;
}

.form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.form-container {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    width: 90%;
    max-width: 300px;
}

.form-container input {
    width: 90%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container button {
    width: 100%;
    padding: 0.5rem;
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-container .back-to-cart {
    background-color: purple;
    color: white;
}

.form-container .back-to-cart:hover {
    background-color: #bbb;
}

footer {
    background-color: #ff69b4;
    color: purple;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer {
    background-color: #333;
    color: purple;
    text-align: center;
    padding: 15px;
    font-size: 16px;
  }

.footer .social-links {
    margin-top: 8px;
  }
  
  .footer .social-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
  }
  
  .footer .social-links a:hover {
    color: #ffcc00; /* Change color on hover */
  }

#order-confirmation .form-container {
    width: 90%;
    max-width: 400px;
    text-align: center;
}

#order-confirmation ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1rem;
}

#order-confirmation ul li {
    margin-bottom: 0.5rem;
}

.review-section {
    margin-top: 1rem;
}

.review-section h2 {
    background-color: #ff69b4;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
}

.reviews {
    margin-top: 1rem;
    background-color: #ffe4e1;
    padding: 1rem;
    border-radius: 5px;
    width: 95%;
    overflow-y: auto;
    word-wrap: break-word;
}

.review {
    padding: 0.5rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5rem;
}

.review .stars {
    color: gold;
}

.add-review {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
}

.add-review textarea {
    width: 95%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.add-review button {
    background-color: #ff69b4;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.add-review button:hover {
    background-color: #ff1493;
}

.add-review input {
    width: 95%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.review strong {
    color: #ff69b4;
}

.review small {
    color: #666;
    font-size: 0.85rem;
}

.review-date {
    color: #808080;
    font-size: 0.9em;
    font-style: italic;
}

.star-rating {
    direction: rtl;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    text-align: left;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ff69b4;
}

header {
    background-color: #ff69b4;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.header-content {
    display: flex;
    align-items: left;
    justify-content: space-between;
    width: 90%;
    max-width: 768px;
}

.logo {
    width: 80px;
    height: 60px;
    margin-right: 1rem;
}

header nav {
    display: flex;
    gap: 1rem;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
}

header nav a:hover {
    text-decoration: underline;
}

footer p {
    margin: 0.5rem 0;
}

.message-banner {
    background-color: whitesmoke;
    color: purple;
    text-align: left;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-bottom: 2px solid #ff69b4;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    header {
        padding: 0.5rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    header nav a {
        font-size: 1rem;
    }

    .container {
        padding: 0.5rem;
    }

    .menu-category-items {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row on mobile */
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        font-size: large;
    }

    .menu-item img {
        width: 80px;
        height: 80px;
    }

    .cart-icon {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }

    .cart-icon .item-count {
        font-size: 0.8rem;
        width: 18px;
        height: 18px;
    }

    .cart {
        width: 90%;
        max-width: none;
    }

    .form-container {
        width: 90%;
        max-width: none;
    }

    .reviews {
        width: 100%;
    }

    .star-rating label {
        font-size: 1.2rem;
    }

    .logo {
        width: 60px;
        height: 40px;
    }

    header nav {
        gap: 0.2rem;
    }

    header nav a {
        font-size: 1rem;
    }
}

.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, blue, #ff69b4);
    color: white;
    font-size: 1.0rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite ease-in-out;
    text-transform: uppercase;
  }
  
  .menu-item.new {
    border: 2px solid #ff69b4;
    animation: highlight 1.5s infinite alternate;
  }

  /* Diwali Section */
.diwali-section {
background: linear-gradient(135deg, #ff9933, #ffcc00, #ff6699);
color: purple;
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
font-size: 1.2rem;
font-weight: bold;
animation: glow 2s infinite alternate;
}