/* il mattino — main stylesheet (plain CSS, mobile-first)
   Look follows the printed menu: parchment, gold, dark warm photo panels,
   script headings, thin Italian tricolor, olive branch and Colosseum line art. */

:root {
    --cream: #F3E8D8;          /* parchment */
    --cream-deep: #EADBC2;
    --card: #FAF4EA;
    --ink: #141210;
    --muted: #5E554B;
    --gold: #B8955A;
    --gold-light: #D4B274;     /* gold on dark panels */
    --gold-dark: #8A6A35;      /* gold text on cream needs this for 4.5:1 */
    --espresso: #1E1510;       /* dark warm panels */
    --espresso-2: #2B1E16;
    --flag-green: #0F7A3D;
    --flag-red: #C8262C;
    --line: rgba(20, 18, 16, .12);
    --gold-line: rgba(184, 149, 90, .55);

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --script: "Great Vibes", "Brush Script MT", cursive;
    --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(20,18,16,.06), 0 10px 28px rgba(60,40,20,.10);
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;

    /* soft parchment: light centre, warmer edges */
    --parchment:
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,251,243,.75), transparent 70%),
        radial-gradient(ellipse 70% 60% at 85% 90%, rgba(214,186,140,.28), transparent 70%),
        var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 1rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
address { font-style: normal; }
[x-cloak] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

.preview-bar {
    background: var(--flag-red); color: #fff; text-align: center;
    font-size: .8125rem; padding: 6px var(--gutter);
}

/* ---------- Typography bits ---------- */
.eyebrow {
    font: 500 .75rem/1.4 var(--sans);
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .5rem;
}
.section-title {
    font: 700 clamp(2rem, 1.4rem + 2.6vw, 3rem)/1.08 var(--serif);
    color: var(--ink); letter-spacing: .005em;
}
.section-title--light { color: var(--card); }

/* gold handwritten line, like "Dolci" / "Bevande Calde" on the menu */
.script {
    font: 400 clamp(2rem, 1.5rem + 2vw, 2.75rem)/1.1 var(--script);
    color: var(--gold-dark); margin: 0;
}

.swash { display: block; width: 220px; max-width: 70%; height: 14px; color: var(--gold); margin: 10px 0 12px; }

.tricolor {
    display: block; width: 88px; height: 4px; margin: 0;
    background: linear-gradient(90deg, var(--flag-green) 0 33.3%, #fff 33.3% 66.6%, var(--flag-red) 66.6%);
    box-shadow: 0 0 0 1px rgba(184,149,90,.25);
}
.swoosh { display: block; width: 240px; max-width: 80%; height: auto; }

.title-block { margin-bottom: clamp(28px, 4vw, 44px); }
.title-block .script { margin-top: 2px; }
.title-block--center { text-align: center; }
.title-block--center .swash, .title-block--center .tricolor { margin-inline: auto; }
.title-block--start .swash { margin-left: 0; }
.title-block--light .script { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 10px 22px;
    border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--espresso); color: var(--card); border-color: var(--espresso); }
.btn--dark .icon { color: var(--gold-light); }
.btn--dark:hover { background: var(--espresso-2); }
.btn--outline { color: var(--ink); border-color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--card); }
.btn--ghost-gold { color: var(--card); border-color: var(--gold); }
.btn--ghost-gold:hover { background: rgba(184,149,90,.15); }
.btn--whatsapp { background: #1F7A4A; color: #fff; border-color: #1F7A4A; }
.btn--whatsapp:hover { background: #18663D; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(243, 232, 216, .96);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--gold-line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 52px; height: auto; }
.brand-word { width: 128px; height: auto; }

.main-nav { display: none; }
.main-nav a {
    display: flex; align-items: center; min-height: 44px;
    text-decoration: none; font-weight: 500; font-size: 1.0625rem;
}

.lang { position: relative; }
.lang-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding: 6px 12px;
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--gold); border-radius: 999px;
    font: 500 .9375rem var(--sans); cursor: pointer;
}
.lang-toggle .icon { width: 18px; height: 18px; }
.lang-toggle .icon:last-child { width: 14px; height: 14px; }
.lang-list {
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 100%;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); padding: 6px; z-index: 60;
}
.lang-list a {
    display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px;
    text-decoration: none; font-weight: 500; border-radius: 8px;
}
.lang-list a:hover, .lang-list a[aria-current] { background: var(--cream); }
.lang-list a[aria-current] { color: var(--gold-dark); }

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0;
    background: transparent; color: var(--ink); border: 0; cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle span { display: inline-flex; }

/* mobile menu panel */
.main-nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--gold-line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 24px rgba(20,18,16,.08);
}
.main-nav.is-open a { border-bottom: 1px solid var(--line); padding: 8px 0; }

@media (min-width: 900px) {
    .brand-mark { width: 64px; }
    .brand-word { width: 150px; }
    .nav-toggle { display: none; }
    .main-nav, .main-nav.is-open {
        display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none;
        margin-right: 24px;
    }
    .main-nav ul { display: flex; gap: clamp(16px, 2.6vw, 36px); }
    .main-nav.is-open a, .main-nav a { border: 0; padding: 0; position: relative; }
    .main-nav a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
        background: var(--gold); transform: scaleX(0); transition: transform .2s;
    }
    .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
}

/* ---------- Olive branch + Colosseum art (cut from the printed menu) ---------- */
.olive { position: absolute; pointer-events: none; user-select: none; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; background: var(--cream); overflow: hidden; }
.hero-media { position: relative; height: clamp(240px, 52vw, 420px); }
.hero-media picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,21,16,.15), rgba(30,21,16,.35));
}

.hero-panel {
    position: relative; z-index: 1;
    /* flat cream at the edges so the gold curve blends in, light glow in the middle */
    background: radial-gradient(ellipse 60% 55% at 55% 45%, rgba(255,251,243,.8), transparent 75%), var(--cream);
}
.hero-curve { position: absolute; pointer-events: none; }
.hero-curve .fill { fill: var(--cream); }
.hero-curve .edge { fill: none; stroke: var(--gold); stroke-width: 3; vector-effect: non-scaling-stroke; }
.hero-curve--top { left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: 40px; }
.hero-curve--side { display: none; }
.olive--hero { top: -6px; right: -10px; width: 170px; opacity: .95; }

.hero-content { position: relative; padding: 28px var(--gutter) 48px; }
.hero-script { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.25rem); margin-bottom: 2px; }
.hero-title { font: 700 clamp(2.2rem, 1.4rem + 3.6vw, 3.75rem)/1.04 var(--serif); max-width: 16ch; }
.hero .swash { margin: 16px 0 12px; }
.hero .tricolor { margin-bottom: 22px; }
.hero-text { max-width: 42ch; font-size: 1.0625rem; color: var(--muted); margin-bottom: 28px; }

@media (min-width: 900px) {
    .hero { grid-template-columns: 1.05fr 1fr; min-height: 600px; }
    .hero-media { height: auto; }
    .hero-img { object-position: 70% center; }
    .hero-panel { display: flex; align-items: center; }
    .hero-curve--top { display: none; }
    .hero-curve--side { display: block; top: 0; bottom: -2px; right: calc(100% - 1px); width: 110px; height: calc(100% + 2px); }
    .olive--hero { width: 260px; top: -4px; right: -8px; }
    .hero-content { padding: 96px clamp(32px, 5vw, 72px) 80px clamp(8px, 2vw, 24px); max-width: 620px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); position: relative; }

.about { overflow: hidden; }
.about-grid { display: grid; gap: 32px; align-items: center; position: relative; z-index: 1; }
.framed { position: relative; padding: 10px; border: 1px solid var(--gold-line); border-radius: calc(var(--radius) + 8px); }
.rounded-img { border-radius: var(--radius); width: 100%; aspect-ratio: 820 / 468; object-fit: cover; box-shadow: var(--shadow); }
.about-body p { color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.about-body .title-block { margin-bottom: 20px; }
.about-art { position: absolute; right: -40px; bottom: -10px; width: min(560px, 80vw); opacity: .16; pointer-events: none; }
@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); }
    .about-art { opacity: .2; }
}

/* specialities: swipe on phones, 2×2 tablet, 4 cols desktop */
.specialities { padding-top: 0; }
.spec-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 4px 16px; margin: 0 -4px 24px;
    scrollbar-width: thin;
}
.spec-grid > li { scroll-snap-align: start; }
@media (min-width: 600px) {
    .spec-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto; overflow: visible; }
}
@media (min-width: 1000px) {
    .spec-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}
.card {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gold-line);
    box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-media { background: var(--espresso); border-bottom: 3px solid var(--gold); }
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font: 700 1.375rem/1.2 var(--serif); margin-bottom: 6px; font-variant-numeric: lining-nums; }
.card-text { color: var(--muted); font-size: .9375rem; line-height: 1.5; flex: 1; font-style: italic; }

/* "Name ........ 450 den" lines, as on the printed menu */
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price-line .dot {
    flex: none; width: 10px; height: 10px; border-radius: 50%; align-self: center;
    background: radial-gradient(circle at 35% 35%, #F0D9A4, var(--gold) 55%, var(--gold-dark));
}
.price-line .leader { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(138,106,53,.7); transform: translateY(-4px); }
.price-line .price { font: 700 1.25rem/1 var(--serif); white-space: nowrap; font-variant-numeric: lining-nums; }

/* ---------- Breakfast band (dark photo + parchment panel, like the "Mëngjesi" page) ---------- */
.breakfast { display: grid; background: var(--espresso); }
.breakfast-media { position: relative; min-height: 260px; }
.breakfast-media picture { position: absolute; inset: 0; }
.breakfast-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.breakfast-panel {
    position: relative; overflow: hidden;
    background: var(--parchment);
    padding: 48px var(--gutter) 44px;
    border-top: 3px solid var(--gold);
}
.olive--bf { top: -4px; right: -10px; width: 180px; }
.bf-script { font-size: clamp(3rem, 2.2rem + 3vw, 4.25rem); color: var(--ink); line-height: 1; }
.bf-hours {
    display: flex; align-items: center; gap: 14px; margin: 10px 0 18px;
    font: 700 1.75rem/1 var(--serif); color: var(--gold-dark); letter-spacing: .04em;
    font-variant-numeric: lining-nums;
}
.bf-line { flex: 0 1 70px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.bf-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.bf-lead { color: var(--muted); max-width: 46ch; }
.bf-lead strong { color: var(--ink); font-weight: 500; }
.menu-list { display: grid; gap: 14px; margin: 22px 0 28px; max-width: 560px; }
.menu-list .item-name { font: 700 1.25rem/1.2 var(--serif); }
.menu-list .price-line .dot { align-self: center; }
.menu-list .item-desc { margin: 2px 0 0 18px; color: var(--muted); font-size: .875rem; font-style: italic; line-height: 1.45; }
.bf-sign { color: var(--ink); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); }
.breakfast-panel .swoosh { margin: 0 0 0 20px; }
@media (min-width: 900px) {
    .breakfast { grid-template-columns: .8fr 1.2fr; }
    .breakfast-media { min-height: 560px; }
    .breakfast-panel {
        border-top: 0; border-left: 3px solid var(--gold);
        border-radius: 48px 0 0 48px; margin-left: -48px;
        padding: 64px clamp(40px, 6vw, 96px);
    }
    .olive--bf { width: 260px; }
}

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
    .gallery-grid li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-grid li:nth-child(2),
    .gallery-grid li:nth-child(5),
    .gallery-grid li:nth-child(6) { grid-column: span 2; }
}
.gallery-item {
    display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-sm); overflow: hidden; background: var(--espresso);
}
.gallery-item picture, .gallery-item img { width: 100%; height: 100%; }
.gallery-item img { object-fit: cover; aspect-ratio: 4 / 3; transition: transform .4s; }
@media (min-width: 900px) { .gallery-item img { aspect-ratio: auto; } }
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(12, 10, 8, .92);
    display: flex; align-items: center; justify-content: center; padding: 64px 16px;
}
.lb-figure { margin: 0; max-width: min(1100px, 100%); }
.lb-figure img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lb-figure figcaption { color: var(--card); text-align: center; margin-top: 12px; font-size: .9375rem; }
.lb-btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(250,244,234,.12); color: var(--card); border: 1px solid rgba(250,244,234,.3); cursor: pointer;
}
.lb-btn:hover { background: rgba(250,244,234,.24); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

/* reservation band: dark warm panel with gold, like the menu's photo side */
.reserve { display: grid; background: var(--espresso); color: var(--card); }
.reserve-media { position: relative; }
.reserve-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reserve-body {
    position: relative; overflow: hidden;
    padding: clamp(40px, 6vw, 72px) var(--gutter);
    background:
        radial-gradient(ellipse 70% 60% at 80% 10%, rgba(212,178,116,.12), transparent 70%),
        var(--espresso);
    border-top: 3px solid var(--gold);
}
.reserve-mark { position: absolute; right: -30px; bottom: -40px; width: 220px; opacity: .08; pointer-events: none; }
.reserve-script { color: var(--gold-light); }
.reserve .swash { color: var(--gold-light); }
.reserve-body p { color: rgba(250,244,234,.88); max-width: 44ch; margin-bottom: 28px; position: relative; }
.reserve-body .btn-row { position: relative; }
@media (min-width: 900px) {
    .reserve { grid-template-columns: 1.4fr 1fr; }
    .reserve-media img { aspect-ratio: auto; min-height: 380px; }
    .reserve-body { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-inline: clamp(40px, 5vw, 72px); border-top: 0; border-left: 3px solid var(--gold); }
}

/* contact */
.contact-grid { display: grid; gap: 32px; }
.info-list { display: grid; gap: 24px; }
.info-list li { display: flex; gap: 16px; }
.info-list .icon { width: 26px; height: 26px; color: var(--gold-dark); margin-top: 2px; }
.info-list h3 { font: 700 1.25rem/1.3 var(--serif); margin-bottom: 4px; }
.info-list p, .info-list address { color: var(--muted); margin: 0; }
.info-list a { color: var(--ink); text-underline-offset: 3px; }
.socials { display: flex; gap: 8px; margin-left: -10px !important; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.icon-link .icon { width: 24px; height: 24px; color: var(--ink); margin: 0; }
.map { padding: 8px; border: 1px solid var(--gold-line); border-radius: calc(var(--radius) + 6px); }
.map iframe {
    display: block; width: 100%; height: 340px; border: 0;
    border-radius: var(--radius); background: var(--card);
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
    .map iframe { height: 420px; }
}

/* footer: "Buon Appetito!" + tricolor swoosh + Colosseum, like the bottom of each menu page */
.site-footer {
    background: var(--parchment);
    border-top: 1px solid var(--gold-line);
    padding-block: 48px 32px; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-script { color: var(--ink); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.75rem); line-height: 1; }
.site-footer .swoosh { width: 220px; margin: 4px 0 8px 40px; }
.footer-art { width: min(520px, 92%); opacity: .55; margin: 0 0 8px; }
.footer-mark { width: 64px; margin-top: 8px; }
.footer-word { width: 180px; margin-top: 10px; }
.footer-tag { font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; margin: 10px 0 14px; color: var(--muted); }
.site-footer .tricolor { margin: 0 0 18px; }
.footer-copy { color: var(--muted); font-size: .875rem; margin: 0; }

.notfound { min-height: 50vh; }
.notfound .tricolor { margin: 18px auto 24px; }
