:root {
    --primary: #ff0000;
    /* Red */
    --accent: #ffffff;
    /* White */
    --dark: #000000;
    /* Black */
    --light: #ffffff;
    /* White */
    --gray: #000000;
    /* Black */
    --gold: #ff0000;
    /* Red */
}

/* GLOBAL */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #7a3131 50%, #7a3131 50%);
    color: #000;
    margin: 0;
    padding-top: 70px;
}

/* ==========================
   SECTION TITLE
========================== */
.heading_container {
    text-align: center;
    display: block;
    margin-bottom: 50px;
}

.section-subtitle {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* ==========================
   FILTER BUTTONS
========================== */
.filters_menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin-bottom: 40px;
}

.filters_menu li {
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 216, 138, 0.22);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filters_menu li.active,
.filters_menu li:hover {
    color: #000000;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.45);
}

.food_section .filters_menu li.active {
  background-color: #f50b0b;
  color: #ffffff;
}

/* ==========================
   MENU GRID
========================== */
.menu-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: center;
}

.menu-item {
    width: 30%;
    background: rgba(0, 0, 0, 0.05);
    margin-top: 2%;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.35);
    border-color: var(--gold);
}

/* ==========================
   FOOD CARD
========================== */
.food-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.food-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.4s ease;
    border-bottom: 1px solid rgba(255, 216, 138, 0.15);
}

.food-card:hover .food-img img {
    transform: scale(1.06);
}

.food-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.food-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.food-price {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.food-desc {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ================= MENU GRID ================= */
.menu-wrapper {
    margin-top: 30px;
}

/* ================= CARD ================= */
.food-card {
    background: #000;
    border: 1px solid #ff2e2e;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px #ff2e2e;
}

/* ================= IMAGE ================= */
.food-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ================= CONTENT ================= */
.food-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.food-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.food-header h5,span,p{
    color: #fff;
    font-size: 14px;
}

.food-header h5,span{
    color: #fff;
    font-size: 20px;
}

.food-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.food-price {
    color: #28A745;
    font-weight: bold;
}

/* DESCRIPTION */
.food-desc {
    font-size: 14px;
    color: #ccc;
    margin: 10px 0;
}

/* ================= SPICE / OPTIONS ================= */
.food-content label {
    font-size: 13px;
    margin-right: 10px;
    color: #fff;
    cursor: pointer;
}

.food-content input[type="radio"] {
    accent-color: #ff2e2e;
    margin-right: 4px;
}

/* SELECT */
.food-content select {
    margin-top: 10px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ff2e2e;
    background: #000;
    color: #fff;
    width: 100%;
}

/* ================= BUTTONS ================= */
.btn-add-cart {
    background: #ff2e2e;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-add-cart:hover {
    background: #28A745;
}

.btn-share {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-share:hover {
    background: #fff;
    color: #000;
}

/* ================= PIZZA / COMBO BUTTON ================= */
.open-pizza,
.open-combo {
    margin-top: 10px;
    width: 100%;
    background: #ff2e2e;
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: #fff;
    transition: 0.3s;
}

.open-pizza:hover,
.open-combo:hover {
    background: #28A745;
}

/* ================= MODAL ================= */
.combo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.combo-modal-content {
    background: #000;
    border: 1px solid #ff2e2e;
    border-radius: 12px;
    padding: 20px;
    width: 95%;
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
    color: #fff;
}

/* MODAL HEADINGS */
.combo-modal-content h4 {
    color: #ff2e2e;
    margin-bottom: 10px;
}

.combo-modal-content h6 {
    margin-top: 10px;
    color: #28A745;
}

#comboModal .Slice {
    display: flex;
    gap: 50px;
}

/* SIZE & TOPPING BUTTONS */
.size-btn,
.topping-btn {
    margin: 5px 5px 5px 0;
    padding: 6px 10px;
    border: 1px solid #ff2e2e;
    background: transparent;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.size-btn:hover,
.topping-btn:hover {
    background: #ff2e2e;
}

.size-btn.active,
.topping-btn.active {
    background: #28A745;
    border-color: #28A745;
}

/* COMBO CHECKBOX */
.combo-modal-content label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
}

.combo-modal-content input[type="checkbox"] {
    accent-color: #ff2e2e;
    margin-right: 6px;
}

/* CLOSE BUTTON */
#closeCombo {
    float: right;
    background: #ff2e2e;
    border: none;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {
    .food-img img {
        height: 180px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .food-title {
        font-size: 16px;
    }

    .food-price {
        font-size: 14px;
    }

    .food-img img {
        height: 160px;
    }

    .combo-modal-content {
        padding: 15px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .food-img img {
        height: 140px;
    }

    .btn-add-cart,
    .open-pizza,
    .open-combo {
        font-size: 12px;
        padding: 6px;
    }
}

/* ==========================
   ADDON SELECT
========================== */
.addon-select {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 216, 138, 0.25);
    border-radius: 8px;
    color: #000;
    padding: 6px;
    width: 100%;
}

/* ==========================
   FOOTER BUTTONS
========================== */
.food-footer {
    display: flex;
    margin-top: 6%;
    justify-content: space-between;
    align-items: center;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #000000;
    border: none;
    padding: 8px 14px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s ease;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.btn-like i,
.btn-share i {
    font-size: 18px;
    color: var(--primary);
    cursor: pointer;
}

.btn-like.liked i {
    color: #ff3b3b;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 991px) {
    .menu-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .menu-item {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .food-img img {
        height: 160px;
    }

    .food-title {
        font-size: 1rem;
    }

    .food-price {
        font-size: 1rem;
    }

    .food-desc {
        font-size: 0.85rem;
    }

    .btn-add-cart {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #000000;
    padding: 25px;
    border-radius: 12px;
    width: 400px;
    max-width: 95%;
    text-align: center;
    color: #f6eaff;
    /* Soft White */
    font-family: 'Poppins', sans-serif;
}

.toggle-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.toggle-buttons button {
    flex: 1;
    padding: 10px;
    background: #ffd88a;
    color: #0b0012;
    /* Deep Purple */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.toggle-buttons button.active {
    background: #fff;
    color: #0b0012;
}

.pickup-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.btn-primary {
    background: #229113;
    color: #0b0012;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #ffd88a;
    /* Gold */
    border: 1px solid #ff0000;
    /* Gold */
    border-radius: 6px;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline:hover {
    background: #ffd88a;
    /* Gold */
    color: #0b0012;
}

.lbl {
    display: block;
    text-align: left;
    color: #ffd88a;
    /* Gold */
    font-size: .9rem;
    margin: 10px 0 5px;
}

.date-input,
.select-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #000000;
    background: #ffff;
    color: #000;
}

.delivery-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.delivery-options img {
    width: 130px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: transform .3s, border-color .3s;
}

.delivery-options img:hover {
    transform: scale(1.05);
    border-color: #ffd88a;
    /* Gold border on hover */
}

.hidden {
    display: none;
}

/* Alerts */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
}

.alert-closed {
    background: #fff;
    /* Magenta error tone */
    color: #0b0012;
}

.alert-open {
    background: #4f9746;
    color: #fff;
}

.alert-warning {
    background: #ffd88a;
    /* Gold warning */
    color: #0b0012;
}

/* Hover States */
.btn-primary:hover,
.btn-outline:hover,
#changeOrderBtn:hover {
    background: #2ecc71;
    /* Magenta */
    color: #0b0012;
}

/* Food Actions Container */
.food-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
}

/* Like & Share Buttons */
.food-actions button {
    border: 1px solid #ff0000;
    background: rgba(255, 255, 255, 0.05);
    /* Soft Glass */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(210, 106, 255, 0.25);
}

.food-actions button:hover {
    transform: translateY(-2px);
    background: rgba(207, 10, 10, 0.15);
    /* Magenta Hover Tint */
}

/* Heart Icon */
.btn-like i {
    font-size: 18px;
    color: #fd0000;
    transition: all 0.3s ease;
}

.btn-like:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

/* Like Count */
.like-count {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #cdb7ff;
    /* Soft Purple Gray */
}

/* Share Icon */
.btn-share i {
    font-size: 18px;
    color: #ffd88a;
    transition: all 0.3s ease;
}

.btn-share:hover i {
    color: #ffffff;
    /* Magenta */
    transform: rotate(10deg);
}

/* Optional: Dark Mode */
@media (prefers-color-scheme: dark) {
    .food-actions button {
        background: #0b0012;
        border-color: #ffd88a;
        /* Gold Border */
    }

    .like-count {
        color: #f6eaff;
    }
}

/* ======= BUTTON STYLES (ADD TO CART) ======= */
.btn-add-cart {
    background: linear-gradient(135deg, #f50b0b, #ffffff);
    /* Gold → Magenta */
    color: #0b0012;
    /* Deep Purple Text */
    border: none;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    /* Magenta Glow */
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #ffffff, #f50b0b);
    /* Reverse Gradient */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.55);
    transform: translateY(-2px);
}

/* Food Card Hover */
.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.35);
    /* Magenta Glow */
}

/* Food Image Hover */
.food-img img {
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.food-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 216, 138, 0.35);
    /* Gold Glow */
}