@font-face {
    font-family: 'Architects Daughter';
    src: url('/Website/assets/fonts/ArchitectsDaughter-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background: rgb(26, 26, 46);
    margin: 0;
}

/* ── Menu page ─────────────────────────────────────────── */
#menu {
    font-family: 'Frank Ruhl Libre', serif;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #16213e;
    border-radius: 8px;
}
#menu h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ddd;
}
.menu-category { margin-bottom: 50px; }
.menu-category h2 {
    font-size: 2rem;
    text-align: center;
    color: #3077b4;
    margin-bottom: 30px;
}

/* Item card */
.menu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #020203;
    border-radius: 8px;
    box-shadow: 0 2px 6px #6262ad33;
    transition: transform .25s, box-shadow .25s;
}
.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px #6262ad66;
}
.menu-item img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}
.menu-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.menu-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.menu-item h3 { margin: 0; font-size: 1.4rem; color: #ddd; }
.menu-item .price { font-size: 1.2rem; font-weight: 700; color: #ddd; white-space: nowrap; }

/* Option pills */
.options-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.opt-group-label {
    font-size: 10px;
    font-family: Arial, sans-serif;
    color: #6262ad;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.opt-pill {
    font-size: 11px;
    font-family: Arial, sans-serif;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #4a4a83;
    background: #1a1a3a;
    color: #aaa;
}
.opt-sep {
    width: 1px; height: 14px;
    background: #333;
    margin: 0 4px;
}

/* Clickable thumbnail */
.menu-image { cursor: pointer; transition: opacity .2s; }
.menu-image:hover, .menu-image:focus { opacity: .7; outline: none; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(3px);
    overflow: auto;
}
.modal.show { display: block; animation: mFadeIn .25s ease forwards; }
.modal.hide  { animation: mFadeOut .25s ease-in-out forwards; }
.modal-content {
    margin: 10% auto;
    display: block;
    width: 60%;
    max-width: 500px;
    border-radius: 8px;
}
.modal.show .modal-content { animation: mFadeIn .25s ease forwards; }
.modal.hide .modal-content { animation: mFadeOut .25s ease-in-out forwards; }
.close {
    position: absolute;
    top: 15px; right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s;
}
.close:hover { color: #bbb; }

@keyframes mFadeIn  { from{opacity:0} to{opacity:1} }
@keyframes mFadeOut { from{opacity:1;transform:scale(1)} to{opacity:0;transform:scale(.5)} }

/* Mobile */
@media (max-width: 768px) {
    .menu-item { flex-direction: column; align-items: center; text-align: center; }
    .menu-item img { margin-right: 0; margin-bottom: 10px; }
    .menu-item-top { flex-direction: column; align-items: center; }
    .modal-content { width: 90%; }
}
