/* --- रिसेट और बेस स्टाइल्स --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f7f9f8;
    color: #333;
    line-height: 1.6;
    padding-top: 65px; /* टॉप नेवबार के लिए जगह */
}

/* --- 1. टॉप नेवबार (Top Navbar) --- */
.top-navbar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b4d3e; /* Fresh Green */
}

.profile-trigger-btn {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b4d3e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-trigger-btn:active {
    background-color: #c8e6c9;
}

/* --- सब-हेडर बैनर --- */
.sub-header-banner {
    background-color: #ffb703; /* Warm Yellow */
    color: #1b4d3e;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.live-tag {
    background: #ffffff;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- मेनू कंटेनर --- */
.menu-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

.section-title {
    font-size: 1.2rem;
    color: #1b4d3e;
    margin-bottom: 15px;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 15px;
}

.food-img {
    width: 95px;
    height: 95px;
    border-radius: 12px;
    object-fit: cover;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.food-title {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
}

.food-desc {
    font-size: 0.8rem;
    color: #777;
    margin: 4px 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b4d3e;
}

/* --- प्लस-माइनस काउंटर (Quantity Controller) --- */
.quantity-controller {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #1b4d3e;
    border-radius: 8px;
    overflow: hidden;
    min-width: 85px;
    height: 32px;
    justify-content: space-between;
}

.add-first-btn {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    color: #1b4d3e;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.qty-btn {
    width: 28px;
    height: 100%;
    background: transparent;
    border: none;
    color: #1b4d3e;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.qty-number {
    font-weight: 700;
    color: #1b4d3e;
    font-size: 0.95rem;
}

/* --- 2. बॉटम नेवबार (Bottom Navbar) --- */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 10px;
    z-index: 999;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bottom-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.bottom-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* बास्केट ट्रिगर बटन (Swiggy Style) */
.cart-trigger {
    background: #1b4d3e;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(27, 77, 62, 0.3);
}

.cart-btn-details {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-count-badge {
    background: #ffb703;
    color: #1b4d3e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
}

.cart-trigger .bottom-label {
    color: #ffffff;
    font-weight: 600;
}

.cart-total-badge {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffb703;
}

/* --- 3. पॉपअप विंडोज (Modal Overlays) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none; /* डिफ़ॉल्ट रूप से छुपा रहेगा */
    justify-content: center;
    align-items: flex-end; /* मोबाइल पर नीचे से खुलेगा */
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.1rem;
    color: #1b4d3e;
}

.close-modal-btn {
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-info-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
}

/* फॉर्म इनपुट्स */
.modal-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.modal-input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
}

.modal-input-group input, .modal-input-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
}

.modal-input-group input:focus, .modal-input-group textarea:focus {
    border-color: #1b4d3e;
}

.modal-input-group textarea {
    height: 60px;
    resize: none;
}

.save-profile-btn {
    background: #1b4d3e;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

/* कार्ट लिस्ट इनसाइड पॉपअप */
.cart-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.9rem;
}

.popup-total-strip {
    display: flex;
    justify-content: space-between;
    background: #f2f7f5;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    color: #1b4d3e;
}

.checkout-actions-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.final-order-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.whatsapp-disclaimer {
    font-size: 0.75rem;
    color: #777;
}

/* --- फूटर --- */
.footer {
    background-color: #1b4d3e;
    color: #ffffff;
    padding: 25px 15px;
    text-align: center;
    margin-top: 40px;
}

.fssai-text {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.social-link {
    color: #ffb703;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.copy-text {
    font-size: 0.7rem;
    opacity: 0.5;
}
