/* ========================= */
/* General Styles */
/* ========================= */

body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: url('bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Main Heading */
h1 {
    color: black !important;
}

/* Back to Categories Button */
.back-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #06402B; /* Matching the updated color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid white;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
    margin-top: 10px;
}

.back-button:hover {
    background-color: #042d1e; /* Darker shade on hover */
}

/* Index Page (Category Selection) */
#category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
    max-width: 1200px;
    margin: 10px auto;
}

.category {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.category:hover {
    transform: scale(1.05);
}

.category h2 {
    margin-top: 10px;
    font-size: 20px;
    color: #f4a15e; /* Updated category color */
}

/* Category Image Styling */
.category img {
    width: 100%; /* Ensure the image fills its container */
    height: 200px;
    object-fit: cover; /* Ensure the image covers the space without distortion */
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Menu Page Styles */
.menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
}

.veg-section, .nonveg-section {
    width: 48%;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    text-align: left;
    color: #a7c7e7 !important; /* Updated veg/nonveg section color */
}

/* Updated Veg/Non-Veg Section Titles */
.menu-box h2 {
    color: #052d69f9 !important; /* New color applied */
}

.other-items {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.menu-item {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
    text-align: center;
}

.menu-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f4a15e; /* Updated menu item name color */
}

.quantity {
    font-size: 16px;
    color: #ffcc00;
    margin-bottom: 5px;
}

.price-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.price-tag {
    font-size: 16px;
    font-weight: bold;
    color: #ade999;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        background-size: auto;
    }

    .category {
        padding: 15px;
        margin-bottom: 10px;
    }

    .category img {
        height: 150px; /* Reduce image size */
    }

    #category-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .menu-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .veg-section, .nonveg-section {
        width: 100%;
    }
}
