/* Digital Menu Board - 1920x1080 Fixed Layout */
body {
    /* Taşmayı düzeltmek için */
    margin: 0;
    padding: 0;
    background-color: #101010;
    /* Dark background */
    color: #fff;
    font-family: 'Oswald', sans-serif;
    overflow: hidden;
    /* No scrollbars */
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

/* Reset basics */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
.price {
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* Grid Container */
.menu-board-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 20px;
    /* Reduced outer padding */
    gap: 10px;
}

/* Restaurant Section (Top) - Now Full Height */
#restaurant-menu {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    border-bottom: none;
    padding-bottom: 0;
    overflow: hidden;
    /* Prevent scroll */
}

/* Category Styles */
.menu-category {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.category-header {
    display: flex;
    align-items: center;
    background-color: #FFD700;
    color: #000;
    padding: 2px 10px;
    margin-bottom: 5px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    min-height: 50px;
}

.q-wings-left,
.q-wings-right {
    height: 40px;
    width: auto;
}

.category-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 2.4rem;
    /* HUGE header */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

/* Menu List Items */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* TIGHT gap to allow large fonts */
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2.2rem;
    /* MASSIVE item font */
    line-height: 1.0;
    padding: 1px 0;
}

.item-name {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.item-details span {
    font-size: 1.6rem;
    color: #ffffff;
    margin-left: 8px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    vertical-align: middle;
}

.item-price-box {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 0px 8px;
    /* Extremely tight padding */
    border-radius: 4px;
    min-width: 80px;
    text-align: right;
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    /* MATCH item font size */
    line-height: 1;
}

/* Responsive tweaks for strict 1080p fit */
@media (max-height: 1080px) {
    .menu-board-container {
        padding: 15px;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        height: auto;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        background-color: #000;
        padding-bottom: 60px;
        /* Space for fixed language switcher */
    }

    .menu-board-container {
        height: auto;
        padding: 15px;
        display: block;
    }

    #restaurant-menu {
        display: flex;
        flex-direction: column;
        gap: 30px;
        overflow: visible;
        height: auto;
    }

    .menu-column {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .menu-category {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        border: 1px solid #333;
    }

    .category-header {
        position: sticky;
        top: 0;
        z-index: 100;
        margin: -15px -15px 15px -15px;
        border-radius: 12px 12px 0 0;
        padding: 12px 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .category-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .q-wings-left,
    .q-wings-right {
        height: 28px;
    }

    .menu-list {
        gap: 12px;
    }

    .menu-item {
        font-size: 1.1rem;
        padding: 8px 0;
        border-bottom: 1px solid #2a2a2a;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .item-name {
        font-family: 'Oswald', sans-serif;
        font-size: 1.3rem;
        /* Increased size for mobile */
        letter-spacing: 0.5px;
    }

    /* Force weight to be smaller on mobile */
    .item-details .item-weight {
        font-size: 0.95rem !important;
        color: #999 !important;
        margin-top: 4px;
        display: block;
    }

    .item-details span {
        font-size: 0.9rem;
        font-weight: normal;
        margin-left: 0;
        margin-top: 4px;
        color: #ddd;
    }

    .item-price-box {
        font-size: 1.3rem;
        padding: 4px 12px;
        min-width: unset;
        background: #FFD700;
        color: #000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile Language Switcher Styles */
.lang-switcher-mobile {
    display: none;
    /* Hidden by default on desktop */
}

/* Mobile-specific styles for language switcher */
@media (max-width: 768px) {
    .lang-switcher-mobile {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid #FFD700;
        padding: 8px 20px;
        border-radius: 30px;
        z-index: 99999;
        /* Higher z-index */
        gap: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    }

    .lang-switcher-mobile a {
        display: flex;
        align-items: center;
        padding: 4px;
        border-radius: 50%;
        transition: transform 0.2s ease, background 0.3s;
        border: 2px solid transparent;
    }

    .lang-switcher-mobile img {
        width: 32px;
        height: auto;
        display: block;
        border-radius: 4px;
    }

    .lang-switcher-mobile a.active {
        background: rgba(255, 215, 0, 0.2);
        border-color: #FFD700;
        transform: scale(1.1);
    }

    /* Stack Footer Info on Mobile */
    .menu-footer-info {
        position: static !important;
        text-align: center !important;
        margin-top: 20px;
        padding-bottom: 80px;
        /* Space for language switcher */
        width: 100%;
    }
}

/* Default Desktop Footer Info */
.menu-footer-info {
    position: absolute;
    bottom: 10px;
    right: 20px;
    text-align: right;
    color: #888;
    font-size: 1.0rem;
    z-index: 50;
}

/* Default Desktop Styles for Weight (Keep it readable but smaller than name) */
.item-details .item-weight {
    font-size: 1.4rem;
    /* Desktop size relative to 2.2rem name */
    color: #e0e0e0;
}