/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================
   BODY
======================================== */

body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}


/* ========================================
   MAIN
======================================== */

main {
    padding: 20px 15px;
}


/* ========================================
   MAIN HERO
======================================== */

.hero {
    width: 100%;
    height: 420px;

    margin: 0 auto 30px;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    overflow: hidden;

    background: white;

    border-radius: 0 0 25px 25px;
}

.hero img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 10% center;
}


/* ========================================
   BACK ARROW
======================================== */

.back-arrow {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 10;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    color: #333;

    border-radius: 50%;

    text-decoration: none;

    font-size: 25px;
    font-weight: bold;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* ========================================
   CATEGORIES
======================================== */

.categories h2 {
    text-align: center;
    margin-bottom: 18px;
}


/* ========================================
   CATEGORY BUTTONS
======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-card {
    text-decoration: none;

    background: white;
    color: #222;

    padding: 20px 10px;

    border-radius: 18px;

    text-align: center;

    font-size: 28px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition: 0.2s;
}

.category-card span {
    display: block;

    margin-top: 8px;

    font-size: 15px;
    font-weight: bold;
}

.category-card:active {
    transform: scale(0.96);
}


/* ========================================
   RED MENU BUTTONS
======================================== */

.menu-section-link {
    display: block;

    text-decoration: none;
    color: inherit;

    margin-top: 35px;
}

.menu-section-link:active {
    transform: scale(0.98);
}

.menu-section {
    background: #b5121b;

    color: white;

    padding: 12px 15px;

    border-radius: 12px;
}

.menu-section h2 {
    color: white;

    padding: 0;

    border-radius: 0;

    font-size: 21px;
}


/* ========================================
   MENU PAGE HERO
======================================== */

.page-hero {
    position: relative;

    width: 100%;
    height: 300px;

    background: white;

    overflow: hidden;

    border-radius: 0 0 28px 28px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;
}


/* ========================================
   PAGE TITLE
======================================== */

.page-title {
    text-align: center;

    font-size: 30px;

    margin: 15px 0 25px;

    color: #333;
}


/* ========================================
   FOOD MENU
======================================== */

.sandwich-menu {
    width: 92%;
    max-width: 600px;

    margin: auto;
}

.food-item {
    background: white;

    margin-bottom: 14px;
    padding: 16px;

    border-radius: 16px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    transition: 0.2s;
}

.food-item:hover {
    transform: translateY(-2px);
}

.food-info {
    flex: 1;
}

.food-info h2 {
    margin: 0 0 6px;

    font-size: 18px;

    color: #333;
}

.food-info p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;

    color: #777;
}


/* ========================================
   PRICE
======================================== */

.price {
    white-space: nowrap;

    font-size: 16px;
    font-weight: bold;

    color: #d94b5b;

    background: #fff0f2;

    padding: 8px 10px;

    border-radius: 10px;
}


/* ========================================
   FEEDBACK
======================================== */

.feedback {
    text-align: center;

    background: white;

    margin-top: 40px;

    padding: 25px 15px;

    border-radius: 20px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feedback p {
    margin: 10px 0 18px;

    color: #666;
}

.feedback-btn {
    display: inline-block;

    background: #b5121b;

    color: white;

    text-decoration: none;

    padding: 12px 25px;

    border-radius: 25px;

    font-weight: bold;
}


/* ========================================
   FOOTER
======================================== */

footer {
    margin-top: 40px;

    background: #191919;

    color: white;

    text-align: center;

    padding: 30px 15px;
}

footer h3 {
    margin-bottom: 12px;
}

footer p {
    margin: 7px 0;

    color: #ccc;

    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
}



/* ========================================
   DESKTOP
======================================== */

@media (min-width: 700px) {

    body {
        max-width: 500px;
        margin: auto;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .hero {
        height: 330px;
    }

    .hero img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: 10% center;
    }


    /* Our Menu - mobile */
    .categories h2 {
        text-align: center;

        margin-bottom: 22px;

        font-size: 34px;

        font-weight: 800;

        color: #b5121b;

        letter-spacing: 0.5px;

        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }

    /* Hero صفحات الطعام */
    .page-hero {
        height: 260px;
    }

    .page-hero .back-arrow {
        width: 42px;
        height: 42px;

        font-size: 24px;
    }

    /* Food items */
    .food-item {
        padding: 13px;
    }

    .food-info h2 {
        font-size: 16px;
    }

    .food-info p {
        font-size: 12px;
    }

    .price {
        font-size: 14px;

        padding: 7px 8px;
    }

    .page-title {
        font-size: 26px;
    }
}
/* ========================================
   DRINKS HERO - SAME ON ALL PHONES
======================================== */

.drinks-page .hero {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;

    overflow: hidden;
    background: white;
}

.drinks-page .hero img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;
}
/* =========================
   FEEDBACK PAGE
========================= */

.feedback-page {
    max-width: 600px;
    margin: auto;
    padding: 30px 20px;
    position: relative;
}

.feedback-page h1 {
    text-align: center;
    color: #b5121b;
    font-size: 32px;
    margin: 45px 0 8px;
}

.feedback-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.feedback-form {
    background: white;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.feedback-form label {
    display: block;
    margin: 15px 0 8px;
    font-weight: bold;
    color: #333;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
}

.feedback-form textarea {
    resize: vertical;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: #b5121b;
}


/* STARS */

.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
    margin: 10px 0 20px;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 38px;
    color: #ccc;
    cursor: pointer;
    margin: 0;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
    color: #f5b400;
}


/* SUBMIT */

.feedback-form button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 14px;

    background: #b5121b;
    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}

.feedback-form button:active {
    transform: scale(0.98);
}


/* MOBILE */

@media (max-width: 600px) {

    .feedback-page {
        padding: 20px 15px;
    }

    .feedback-page h1 {
        font-size: 28px;
    }

    .stars label {
        font-size: 34px;
    }
}
.refresh-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: #ff6b81;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.refresh-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.feedback-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feedback-card {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.10);
}

.feedback-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-feedback {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.delete-feedback:hover {
    transform: scale(1.15);
}

.feedback-card small {
    display: block;
    margin-top: 10px;
    color: #888;
}
.whatsapp-number {
    color: #007bff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    display: inline-block;
    min-width: 120px;
}

.whatsapp-number span {
    color: #007bff !important;
    font-size: 18px !important;
}

.whatsapp-number:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
}
/* =========================================
   BEAUTIFUL ADMIN FEEDBACK PAGE
========================================= */

.admin-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 35px 25px 70px;

    background: linear-gradient(
        135deg,
        #fff7f8,
        #fff,
        #f7f9ff
    );

    min-height: 100vh;
    box-sizing: border-box;
}

/* ===============================
   BACK ARROW
================================ */

.admin-page .back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: white;
    border-radius: 50%;

    text-decoration: none;
    font-size: 25px;
    color: #555;

    box-shadow: 0 4px 15px rgba(0,0,0,.10);

    transition: .2s;
}

.admin-page .back-arrow:hover {
    transform: translateX(-3px);
}


/* ===============================
   TITLE
================================ */

.admin-page h1 {
    text-align: center;

    font-size: 42px;
    margin: 15px 0 5px;

    color: #444;
}

.admin-page h1:first-letter {
    color: #f3b44b;
}

.admin-subtitle {
    text-align: center;

    color: #888;
    font-size: 16px;

    margin-bottom: 25px;
}


/* ===============================
   REFRESH BUTTON
================================ */

.refresh-btn {
    display: block;

    margin: 0 auto 30px;

    padding: 13px 28px;

    border: none;
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #ff8fa3,
        #e87591
    );

    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 7px 20px rgba(232,117,145,.25);

    transition: .25s;
}

.refresh-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(232,117,145,.35);
}


/* ===============================
   SUMMARY
================================ */

.admin-summary {
    display: flex;

    justify-content: center;
    align-items: stretch;

    gap: 18px;

    margin: 0 auto 30px;

    max-width: 600px;
}

.summary-box {
    flex: 1;

    background: rgba(255,255,255,.90);

    border-radius: 18px;

    padding: 18px 20px;

    text-align: center;

    box-shadow:
        0 6px 20px rgba(0,0,0,.07);

    border: 1px solid rgba(255,255,255,.8);

    transition: .25s;
}

.summary-box:hover {
    transform: translateY(-3px);
}

.summary-box strong {
    display: block;

    font-size: 28px;

    color: #e87591;

    margin-bottom: 4px;
}

.summary-box span {
    color: #777;

    font-size: 14px;
}


/* ===============================
   FEEDBACK LIST
================================ */

.feedback-list {

    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 14px;

    padding: 5px 5px 30px;

    box-sizing: border-box;
}


/* ===============================
   FEEDBACK CARD
================================ */

.feedback-card {

    width: 100%;

    background: white;

    border-radius: 18px;

    padding: 16px 18px;

    box-sizing: border-box;

    box-shadow:
        0 5px 20px rgba(0,0,0,.07);

    border-left: 5px solid #ff8fa3;

    transition:
        transform .2s,
        box-shadow .2s;

    position: relative;
}

.feedback-card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 9px 25px rgba(0,0,0,.11);
}


/* ===============================
   STARS + DELETE
================================ */

.feedback-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 5px;
}

.feedback-stars {

    color: #f5b83d;

    font-size: 16px;

    letter-spacing: 1px;
}


/* ===============================
   DELETE BUTTON
================================ */

.delete-feedback {

    border: none;

    background: #fff1f3;

    color: #e87591;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 16px;

    transition: .2s;
}

.delete-feedback:hover {

    background: #e87591;

    color: white;

    transform: scale(1.08);
}


/* ===============================
   NAME
================================ */

.feedback-card h3 {

    margin: 5px 0;

    color: #444;

    font-size: 18px;

    font-weight: 700;
}


/* ===============================
   MESSAGE
================================ */

.feedback-card p {

    margin: 3px 0 8px;

    color: #777;

    font-size: 14px;

    line-height: 1.5;
}


/* ===============================
   DATE
================================ */

.feedback-card small {

    color: #aaa;

    font-size: 11px;
}


/* ===============================
   NO FEEDBACK
================================ */

.no-feedback {

    background: white;

    border-radius: 20px;

    padding: 35px 20px;

    text-align: center;

    box-shadow:
        0 7px 25px rgba(0,0,0,.07);
}

.no-feedback h2 {
    color: #555;
}

.no-feedback p {
    color: #999;
}


/* ===============================
   SCROLL WHEN MANY FEEDBACKS
================================ */

.feedback-list {

    max-height: 600px;

    overflow-y: auto;

    scrollbar-width: thin;
}

.feedback-list::-webkit-scrollbar {
    width: 7px;
}

.feedback-list::-webkit-scrollbar-track {
    background: #f5f5f5;

    border-radius: 10px;
}

.feedback-list::-webkit-scrollbar-thumb {

    background: #f09aaa;

    border-radius: 10px;
}


/* ===============================
   MOBILE
================================ */

@media (max-width: 600px) {

    .admin-page {

        padding:
            20px
            14px
            50px;
    }


}
/* =========================
   ADMIN LOCK
========================= */

.admin-lock {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #fff4f7,
        #f5f7ff
    );

    padding: 20px;
}

.admin-lock-box {
    width: 100%;
    max-width: 360px;

    background: white;

    padding: 30px 25px;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 12px 40px rgba(0,0,0,.12);
}

.lock-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.admin-lock-box h2 {
    margin: 5px 0;
    color: #444;
}

.admin-lock-box p {
    color: #888;
    margin-bottom: 20px;
}

#adminCode {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #ddd;
    border-radius: 12px;

    outline: none;

    font-size: 16px;

    margin-bottom: 12px;
}

#adminCode:focus {
    border-color: #e87591;
}

#adminLogin {
    width: 100%;

    padding: 13px;

    border: none;
    border-radius: 12px;

    background: #e87591;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

#adminLogin:hover {
    opacity: .9;
}

.admin-error {
    display: none;

    color: #e74c3c !important;

    margin: 12px 0 0 !important;
}