@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap");

:root {
    --paper: #f7f5f1;
    --ink: #655e59;
    --muted: #938a83;
    --line: #d9d1ca;
    --accent: #ad9f95;
    --header: 108px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;

    min-height: var(--header);
    padding: 14px max(20px, env(safe-area-inset-left));

    background: rgba(247, 245, 241, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 24px rgba(82, 71, 62, 0.06);
}

.brand img {
    display: block;
    width: 165px;
    max-height: 72px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
    order: 3;
}

.language {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
}

.language button {
    padding: 7px 10px;

    border: 0;
    border-radius: 999px;
    background: transparent;

    color: var(--muted);
    cursor: pointer;

    font: 600 12px/1 "Open Sans";
}

.language button.active {
    background: #9D8A76;
    color: white;
}

nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 3vw, 46px);
}

nav a {
    position: relative;

    padding: 12px 0;

    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: 5px;

    height: 1px;

    background: var(--ink);
    transition: 0.2s;
}

nav a:hover::after,
nav a.active::after {
    right: 0;
}

.menu-toggle {
    display: none;

    margin-left: auto;
    padding: 10px 0 10px 10px;

    border: 0;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    margin: 5px;

    background: var(--ink);
}

/* =========================
   Layout
========================= */

.pattern {
    height: 74px;
    background: url("img/pattern.jpg") center / auto 150px;
    opacity: 0.26;
    border-bottom: 1px solid var(--line);
}

main {
    width: min(920px, 100%);
    margin: auto;
    padding: 0 28px 100px;
}

/* =========================
   Menu Pages
========================= */

.menu-page {
    padding: 64px 0 20px;
}

.menu-page + .menu-page {
    margin-top: 60px;
    padding-top: 86px;
    border-top: 1px solid var(--line);
}

.page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 44px;
}

.page-head span {
    font-size: 13px;
    letter-spacing: 2px;
    color: #9D8A76;
}

.page-head h1 {
    margin: 0;
    color: #9D8A76;
    font-size: clamp(42px, 8vw, 78px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.page-head h1 small {
    font: inherit;
    font-size: 0.48em;
    letter-spacing: -0.5px;
    white-space: nowrap;
    color: #9D8A76;
}

.page-head h1 [data-en],
.page-head h1 [data-el] {
    font: inherit;
    font-size: inherit;
    letter-spacing: inherit;
}

#food .page-head h1 {
    font-size: clamp(42px, 8vw, 78px);
    color: #9D8A76;
}

.section-title {
    display: block;
    width: min(760px, 100%);
    height: auto;
    margin: 50px auto 25px;
}

.subsection {
    margin: 64px 0;
}

.intro {
    max-width: 690px;
    margin: 0 auto 50px;

    text-align: center;

    color: #766e68;
    font-size: 17px;
    line-height: 1.8;
}

/* =========================
   Menu List
========================= */

.menu-list {
    display: grid;
    grid-template-columns: 1fr;
}

.menu-item {
    padding: 17px 2px 18px;
    border-bottom: 1px dotted #c6bdb6;
}

.item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 18px;
}

.item-row h3 {
    margin: 0;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.15px;
    text-transform: uppercase;
}

.item-row > span {
    white-space: nowrap;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.menu-item p {
    margin: 5px 70px 0 0;
    color: #837a73;
    font-size: 14px;
}

/* =========================
   Wine Section
========================= */

.wine-item h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
}

.wine-item p {
    margin-top: 3px;
    font-family: Georgia, serif;
    font-size: 15px;
}

.wine-item small {
    display: block;
    margin-top: 2px;

    color: #837a73;

    font-family: Georgia, serif;
    font-style: italic;
}

/* =========================
   Notices
========================= */

.notice,
.credit {
    margin: 55px auto 0;
    padding: 22px;

    text-align: center;

    color: #827970;
    font-size: 14px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.credit {
    border: 0;
    font-style: italic;
}

/* =========================
   Back To Top
========================= */

.to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;

    width: 44px;
    height: 44px;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: rgba(247, 245, 241, 0.94);

    color: var(--ink);
    font-size: 20px;

    opacity: 0;
    pointer-events: none;

    transition: 0.2s;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   Language Visibility
========================= */

[data-el] {
    display: none;
}

body.lang-el [data-en] {
    display: none;
}

body.lang-el [data-el] {
    display: inline;
}

/* =========================
   Footer
========================= */

.site-footer {
    padding: 44px 24px 48px;

    text-align: center;

    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.24);
}

.site-footer p {
    margin: 0 0 18px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.social-links a {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    border: 1px solid var(--line);
    border-radius: 50%;

    color: var(--ink);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: rgba(173, 159, 149, 0.1);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* =========================
   Food Special
========================= */

.food-special {
    max-width: 760px;
    margin: 18px auto 8px;
    padding: 0 2px;
}

.food-special .menu-item {
    padding-bottom: 2px;
    border-bottom: 0;
}

.food-special .item-row h3 {
    color: var(--ink);
}

.food-special .menu-item p {
    margin-top: 4px;
}

/* =========================
   Desktop
========================= */

@media (min-width: 900px) {

    .menu-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 46px;
    }

    .menu-item {
        break-inside: avoid;
    }

    .wine-section .menu-list {
        grid-template-columns: 1fr;
    }

    .wine-item {
        padding-left: 45px;
        padding-right: 45px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 760px) {

    :root {
        --header: 82px;
    }

    .site-header {
        grid-template-columns: 174px 1fr auto;
        min-height: 82px;
        padding: 9px 14px;
    }

    .brand img {
        width: 162px;
        max-height: 68px;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        gap: 0;

        padding: 8px 20px 18px;

        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 13px 0;
        font-size: 15px;
        border-bottom: 1px solid #e4ded9;
    }

    .menu-toggle {
        display: block;
    }

    .pattern {
        height: 42px;
        background-size: auto 100px;
    }

    main {
        padding: 0 20px 70px;
    }

    .menu-page {
        padding-top: 45px;
    }

    .menu-page + .menu-page {
        margin-top: 30px;
        padding-top: 62px;
    }

    .page-head {
        margin-bottom: 25px;
    }

    .page-head h1,
    #food .page-head h1 {
        font-size: 46px;
    }

    .page-head h1 small {
        display: block;
        margin-top: 7px;

        font-size: 0.38em;
        letter-spacing: 0.2px;
    }

    .section-title {
        margin: 35px auto 18px;
    }

    .subsection {
        margin: 46px 0;
    }

    .item-row h3 {
        font-size: 15px;
    }

    .item-row > span {
        font-size: 15px;
    }

    .menu-item p {
        margin-right: 25px;
        font-size: 13.5px;
    }

    .intro {
        text-align: left;
        font-size: 15px;
    }

    .language button {
        padding: 7px 8px;
    }

    .site-footer {
        padding: 36px 20px 42px;
    }
}

/* =========================
   Print
========================= */

@media print {

    .site-header,
    .to-top,
    .pattern {
        display: none;
    }

    main {
        width: 100%;
        padding: 0;
    }

    .menu-page {
        break-before: page;
    }

    .menu-page:first-child {
        break-before: auto;
    }

    .menu-item {
        break-inside: avoid;
    }
}