body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
    color: #fff;
}

/* HEADER */
.header {
    text-align: center;
    padding: 25px 15px;
    background: rgba(0,0,0,0.6);
}

.header h1 {
    font-size: 32px;
    margin: 0;
    color: #f7d774;
}

.header p {
    margin-top: 5px;
    font-size: 16px;
}

/* CONTAINER */
.menu-container {
    max-width: 800px;
    margin: auto;
    padding: 20px 15px;
}

/* CATEGORY */
.category {
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.category img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category-content {
    padding: 15px 20px;
}

.category h2 {
    text-align: center;
    color: #f7d774;
    margin-bottom: 15px;
    font-size: 22px;
}

/* ITEMS */
.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.item:last-child {
    border-bottom: none;
}

.item-info h3 {
    margin: 0;
    font-size: 16px;
}

.details {
    font-size: 13px;
    color: #ccc;
    margin-top: 5px;
}

.price {
    font-weight: bold;
    color: #f7d774;
    font-size: 15px;
}

.calories {
    font-size: 12px;
    color: #aaa;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 15px;
    background: rgba(0,0,0,0.6);
    font-size: 13px;
}

/* ===================== */
/* PRINT VERSION (A4) */
/* ===================== */
/* ===================== */
/* PERFECT ONE PAGE PRINT */
/* ===================== */

@media print {

    body {
        background: white !important;
        color: black !important;
        font-size: 12px;
    }

    .header {
        padding: 10px 0;
    }

    .header h1 {
        font-size: 22px;
    }

    .header p {
        font-size: 12px;
        margin: 2px 0 10px 0;
    }

    .menu-container {
        padding: 0;
    }

    .category {
        background: white;
        box-shadow: none;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .category img {
        height: 100px; /* smaller for print */
    }

    .category h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .item {
        padding: 5px 0;
    }

    .item-info h3 {
        font-size: 13px;
    }

    .details {
        font-size: 11px;
    }

    .price {
        font-size: 12px;
        color: black;
    }

    .calories {
        font-size: 10px;
    }

    .footer {
        font-size: 10px;
        padding: 5px;
    }

    @page {
        size: A4;
        margin: 5mm;
    }
}

}
