:root {
    --site-red: #a50024;
    --site-red-dark: #821930;
    --site-gold: #d4af37;
    --site-ink: #262626;
    --site-paper: rgba(255, 255, 255, 0.82);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--site-ink);
}

main {
    flex: 1;
    width: 100%;
}

nav .logo-mobile img {
    width: min(340px, 90vw);
    height: auto;
}

nav .logo-desktop img {
    height: 200px;
    width: auto;
}

.page-content {
    width: 100%;
}

.fixed-page {
    position: relative;
    z-index: 1;
}

.menu .category-header {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font: inherit;
    text-align: left;
}

.menu .category-header > span:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.menu .menu-heading {
    color: var(--primary-red);
    font-family: "Playball", cursive;
    font-size: 1.45rem;
    font-weight: 500;
}

.menu .dish span:first-child {
    display: grid;
    gap: 4px;
}

.menu .dish strong {
    font-weight: 650;
}

.menu .dish small {
    color: #555;
    font-size: 0.96rem;
}

.menu .dish.preorder {
    background: linear-gradient(135deg, rgba(255, 187, 0, 0.1) 0%, rgba(255, 187, 0, 0.05) 100%);
    border-left: 2px solid var(--accent-gold);
    border-radius: var(--radius);
}

.content-panel,
.gallery-section {
    max-width: 1120px;
    margin: 70px auto;
    padding: 36px;
    background: var(--site-paper);
    backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 34px;
}

.section-heading h1 {
    margin: 0 0 10px;
    color: var(--site-red);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
}

.section-heading p {
    margin: 0;
    color: #444;
    font-size: 1.08rem;
}

.gallery-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.gallery-category-card {
    display: grid;
    grid-template-rows: 220px auto;
    overflow: hidden;
    min-height: 320px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    text-decoration: none;
}

.gallery-category-image {
    display: block;
    overflow: hidden;
    background: #eee;
}

.gallery-category-image img,
.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-category-body {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.gallery-category-body strong {
    color: var(--site-red-dark);
    font-size: 1.3rem;
}

.gallery-category-body span {
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.gallery-tile {
    position: relative;
    aspect-ratio: 1 / 0.8;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #eee;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.gallery-tile span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 12px 10px;
    color: white;
    text-align: left;
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.back-link {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--site-red);
    font-weight: 700;
    text-decoration: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox p {
    color: white;
    margin: 14px 0 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 1;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: white;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 1;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: rgba(255, 255, 255, 0.92);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox-nav[hidden] {
    display: none;
}

.lightbox-prev {
    left: 64px;
}

.lightbox-next {
    right: 64px;
}

.footer-admin-link {
    color: white;
    font-weight: 700;
    text-decoration: none;
}

.footer-admin-link:hover {
    text-decoration: underline;
}

.map-section {
    margin-top: 38px;
}

.external-frame-consent {
    display: grid;
    gap: 14px;
    place-items: center;
    min-height: 320px;
    padding: 26px;
    text-align: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.external-frame-consent.loaded {
    display: block;
    padding: 0;
    overflow: hidden;
}

.external-frame-consent iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    color: var(--site-ink);
    background: white;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    color: white;
    border-color: var(--site-red);
    background: var(--site-red);
}

.page-galerie .big-button-container {
    display: none;
}

@media (max-width: 768px) {
    .content-panel,
    .gallery-section {
        margin: 24px 12px;
        padding: 22px 16px;
    }

    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 34px;
    }

    .lightbox-prev {
        left: 24px;
    }

    .lightbox-next {
        right: 24px;
    }
}
