@import url('fonts/Byekan.css');
body {
    font-family: 'B Yekan', Tahoma, Arial, sans-serif;
    background: #f6ecd9; /* parchment-like */
    margin: 0;
    padding: 0;
    direction: rtl;
    color: #222;
    min-height: 100vh;
    box-sizing: border-box;
    border: 8px double #bfa77a;
    position: relative;
}

body:before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    border: 2px dashed #b71c1c;
    border-radius: 18px;
    margin: 16px;
}

header {
    background: transparent;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    border: 3px solid #bfa77a;
    background: #fff;
}
header h1 {
    font-size: 2.2rem;
    margin: 0.5rem 0 0 0;
    letter-spacing: 1px;
    color: #1a3a4a;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.header-accent {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #b71c1c 0%, #f7b32b 100%);
    margin: 0.5rem auto 1rem auto;
    border-radius: 2px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem 0;
    z-index: 1;
    position: relative;
}
.gallery img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #fff;
}
main {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    z-index: 1;
    position: relative;
}
.menu-columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.menu-section {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 300px;
    background: #fffbe9;
    margin-bottom: 2rem;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(183,28,28,0.08);
    padding: 1.5rem 1rem;
    border: 2px solid #bfa77a;
    position: relative;
    display: flex;
    flex-direction: column;
}
.menu-section h2 {
    margin-top: 0;
    color: #b71c1c;
    font-size: 1.4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
    position: relative;
}
.menu-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #b71c1c 0%, #f7b32b 100%);
    margin: 0.5rem auto 1rem auto;
    border-radius: 2px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: transparent;
}
th, td {
    padding: 0.7rem 0.5rem;
    text-align: right;
    font-size: 1.1rem;
}
th {
    background: #f5f5f5;
    color: #b71c1c;
    border-bottom: 2px solid #b71c1c;
    font-weight: bold;
}
td {
    border-bottom: 1px solid #eee;
}
tr:last-child td {
    border-bottom: none;
}
@media (max-width: 600px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .gallery img {
        width: 95vw;
        height: auto;
        max-width: 350px;
        max-height: 220px;
        margin-bottom: 1rem;
        display: block;
    }
    main {
        padding: 0.5rem;
    }
    section {
        padding: 0.5rem 0.2rem;
        box-sizing: border-box;
    }
    header h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    ul, li {
        font-size: 1rem;
    }
    .menu-columns {
        display: block !important;
        width: 100% !important;
    }
    .menu-section {
        padding: 1rem 0.5rem;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        border-radius: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    .menu-section table {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        table-layout: fixed;
    }
    .menu-section table th, .menu-section table td {
        font-size: 1rem;
        padding: 0.5rem 0.3rem;
        text-align: right;
        width: 50%;
        box-sizing: border-box;
        word-break: break-word;
    }
    .menu-section table td:last-child, .menu-section table th:last-child {
        padding-left: 0 !important;
        text-align: left;
    }
    .menu-section table th:last-child, .menu-section table td:last-child {
        padding-left: 0 !important;
        text-align: right;
        width: 7em;
        min-width: 6em;
        max-width: 8em;
        direction: ltr;
        font-variant-numeric: tabular-nums;
    }
    .menu-section h2 {
        font-size: 1.1rem;
    }
    th, td {
        font-size: 1rem;
        padding: 0.5rem 0.3rem;
    }
}
@media (max-width: 900px) {
    .menu-columns {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .menu-section {
        max-width: 95vw;
        min-width: 0;
    }
}

/* Responsive table wrapper for mobile */
.menu-section table {
    width: 100%;
    margin: 0 auto;
    height: auto;
}

.menu-section a {
    display: inline-block;
    padding: 0.2em 0.4em;
    text-decoration: none;
    color: #1565c0;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, text-decoration 0.2s;
    font-weight: 500;
    background: #f5faff;
}
.menu-section a:hover, .menu-section a:focus {
    background: #e3f2fd;
    color: #0d47a1;
    text-decoration: underline;
    outline: none;
}

.menu-section table th, .menu-section table td {
    padding: 0.7rem 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    background: inherit;
    color: inherit;
    border-bottom: 1px solid #eee;
}
.menu-section table th {
    background: #f5f5f5;
    color: #b71c1c;
    border-bottom: 2px solid #b71c1c;
    font-weight: bold;
}
.menu-section table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 600px) {
    .menu-section table th, .menu-section table td {
        font-size: 1rem;
        padding: 0.5rem 0.3rem;
    }
}

.menu-section table th:first-child, .menu-section table td:first-child {
    width: 70%;
    max-width: 70%;
    min-width: 60%;
}
.menu-section table th:last-child, .menu-section table td:last-child {
    width: 30%;
    max-width: 30%;
    min-width: 80px;
    text-align: right;
    direction: ltr;
    font-variant-numeric: tabular-nums;
    padding-left: 0 !important;
}

.lightbox-overlay img {
    max-width: 400px;
    max-height: 400px;
    width: 90vw;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0008;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.popover-lightbox {
    display: none;
    position: absolute;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px #0008;
    padding: 8px;
    border: 2px solid #bfa77a;
}
.close-lightbox {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.85);
    border: none;
    color: #b71c1c;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.close-lightbox:hover, .close-lightbox:focus {
    background: #ffe0b2;
    color: #fff;
    outline: none;
}
.popover-lightbox.active {
    display: block;
}
.popover-lightbox img {
    max-width: 300px;
    max-height: 300px;
    display: block;
}

@media (max-width: 600px) {
    .popover-lightbox {
        left: 50% !important;
        top: auto !important;
        bottom: 10px !important;
        transform: translateX(-50%) !important;
        max-width: 95vw;
        width: auto;
        padding: 4px;
        margin: 0;
    }
    .popover-lightbox img {
        max-width: 90vw;
        max-height: 60vh;
        height: auto;
        width: auto;
        display: block;
    }
    .close-lightbox {
        top: 4px;
        left: 4px;
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
}

.order-section {
    margin: 2.5rem auto 1.5rem auto;
    padding: 1.2rem 1rem;
    max-width: 420px;
    background: #fffbe9;
    border: 2px solid #bfa77a;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(183,28,28,0.07);
    text-align: center;
    font-size: 1.15rem;
}
.order-section p {
    margin: 0 0 0.7rem 0;
    color: #b71c1c;
    font-weight: bold;
    font-size: 1.1rem;
}
.order-phone {
    display: inline-block;
    font-size: 1.25rem;
    color: #0d47a1;
    background: #e3f2fd;
    padding: 0.5em 1em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.order-phone:hover, .order-phone:focus {
    background: #bbdefb;
    color: #b71c1c;
    text-decoration: underline;
}
.order-phone span {
    display: block;
    font-size: 1rem;
    color: #1565c0;
    font-weight: normal;
    margin-top: 0.2em;
}
@media (max-width: 600px) {
    .order-section {
        max-width: 98vw;
        font-size: 1rem;
        padding: 0.7rem 0.3rem;
    }
    .order-phone {
        font-size: 1.05rem;
        padding: 0.4em 0.7em;
    }
    .order-phone span {
        font-size: 0.95rem;
    }
}

/* New product label styling */
.menu-section .new-label,
.menu-section a .new-label {
    display: inline-block !important;
    background: #ff5722 !important;
    color: white !important;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2em 0.5em;
    border-radius: 12px;
    margin-right: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(255, 87, 34, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(255, 87, 34, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(255, 87, 34, 0.3);
    }
}

@media (max-width: 600px) {
    .menu-section .new-label,
    .menu-section a .new-label {
        font-size: 0.7rem;
        padding: 0.15em 0.4em;
        margin-right: 0.3em;
        background: #ff5722 !important;
        color: white !important;
        display: inline-block !important;
    }
} 