/* Mrizi i Zanave · projekt koncept nga Erion Nezha · editorial slow-food */
:root {
  --paper: #f5efe3; --paper-2: #ece3d2; --ink: #1d261b; --ink-2: #2c3a29; --olive: #4d5c3a;
  --terra: #b4532a; --gold: #c9a35c; --gold-2: #e2c88e; --berry: #4b3a6e; --muted: #6b6a5c; --line: rgba(29, 38, 27, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); }
em { font-style: italic; color: var(--terra); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 16px; }
.eyebrow.dark { color: var(--terra); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241a07; box-shadow: 0 10px 26px -10px rgba(201, 163, 92, .8); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn.full { width: 100%; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* Shiriti i konceptit */
.concept-bar { background: var(--ink); color: #d8d2c2; font-size: 12.5px; text-align: center; padding: 7px 16px; }
.concept-bar a { color: var(--gold-2); }

/* Navigimi */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px max(20px, calc((100% - var(--wrap)) / 2 + 20px)); background: rgba(245, 239, 227, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; color: var(--olive); }
.brand-txt { font: 600 19px/1.05 var(--serif); }
.brand-txt small { display: block; font: 500 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--terra); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 42px; padding: 0 20px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; margin-left: auto; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 25; background: var(--paper); padding: 120px 28px 40px; display: flex; flex-direction: column; gap: 6px; }
.drawer[hidden] { display: none; }
.drawer a { font: 400 30px/1.4 var(--serif); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 22px; font: 600 16px var(--sans); border: 0; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroIn 2.4s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 16, .15) 0%, rgba(20, 24, 16, .35) 45%, rgba(18, 22, 14, .88) 100%); }
.hero-in { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 20px 150px; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); max-width: 14ch; }
.hero h1 em { color: var(--gold-2); }
.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; color: #ece6d6; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px max(20px, calc((100% - var(--wrap)) / 2 + 20px)); list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(18, 22, 14, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-facts b { display: block; font: 600 16px var(--serif); }
.hero-facts span { font-size: 12.5px; color: #cfc8b6; }

/* Historia */
.story { padding: 120px 0 90px; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.story-txt h2 { margin-bottom: 24px; }
.story-txt p { color: #3d4636; max-width: 58ch; }
.story-img { margin: 0; position: relative; }
.story-img img { border-radius: 200px 200px var(--r) var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -40px rgba(29, 38, 27, .55); }
.story-img figcaption { position: absolute; left: -24px; bottom: 28px; max-width: 230px; background: var(--paper); border: 1px solid var(--line); padding: 14px 16px; border-radius: 14px; font: italic 400 15px/1.4 var(--serif); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35); }
.journey { list-style: none; margin: 96px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.journey li { padding: 30px 26px 10px 0; position: relative; }
.journey li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.j-num { font: 400 13px var(--sans); letter-spacing: .12em; color: var(--terra); }
.journey svg { width: 44px; height: 44px; fill: none; stroke: var(--olive); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin: 14px 0; display: block; }
.journey h3 { font-size: 26px; margin-bottom: 6px; }
.journey p { margin: 0; color: var(--muted); font-size: 15px; }

/* Menu */
.menu { background: var(--ink); color: var(--paper); padding: 110px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sec-head h2 em { color: var(--gold-2); }
.sec-sub { color: #bfb9a6; margin: 16px 0 0; }
.sec-sub a { color: var(--gold-2); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(245, 239, 227, .2); background: transparent; color: #d9d3c2; font: 500 14.5px var(--sans); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--gold); color: #fff; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }
.dish { background: var(--ink-2); border: 1px solid rgba(245, 239, 227, .08); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; animation: dishIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.dish:nth-child(2) { animation-delay: .05s; } .dish:nth-child(3) { animation-delay: .1s; } .dish:nth-child(4) { animation-delay: .15s; } .dish:nth-child(5) { animation-delay: .2s; }
@keyframes dishIn { from { opacity: 0; transform: translateY(14px); } }
.dish-img { aspect-ratio: 4 / 3; overflow: hidden; background: #2a3527; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.dish:hover .dish-img img { transform: scale(1.05); }
.dish-body { padding: 16px 18px 18px; display: flex; gap: 12px; align-items: flex-end; flex: 1; }
.dish-body h3 { font-size: 20px; line-height: 1.2; flex: 1; }
.dish-body .price { display: block; font: 600 13.5px var(--sans); color: var(--gold-2); margin-top: 8px; letter-spacing: .03em; }
.add { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(226, 200, 142, .5); background: transparent; color: var(--gold-2); font-size: 22px; line-height: 1; cursor: pointer; transition: all .2s; }
.add:hover { background: var(--gold-2); color: var(--ink); }
.add.in { background: var(--gold-2); color: var(--ink); }
.dish .tag { display: inline-block; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--berry); background: #e7def3; padding: 4px 8px; border-radius: 6px; margin-bottom: 8px; }

/* Sofra ime */
.sofra { padding: 110px 0; background: radial-gradient(1200px 500px at 85% 20%, rgba(201, 163, 92, .16), transparent 60%), var(--paper-2); }
.sofra-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.sofra-txt h2 { margin-bottom: 20px; }
.sofra-txt p { color: #3d4636; }
.guests { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.guests span { font-weight: 600; font-size: 14px; }
.guests output { min-width: 24px; text-align: center; font: 600 20px var(--serif); }
.step { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; color: var(--ink); }
.step:hover { border-color: var(--terra); color: var(--terra); }
.cloth { position: relative; border-radius: 24px; padding: 28px; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(29, 38, 27, .45); }
/* motivi i mbulesës: vija të endura si shtrojë fshati */
.cloth::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 10px; background: repeating-linear-gradient(90deg, var(--terra) 0 6px, transparent 6px 14px, var(--berry) 14px 18px, transparent 18px 26px); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .55; pointer-events: none; }
.cloth-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 600 22px var(--serif); }
.link-btn { background: none; border: 0; color: var(--terra); font: 600 13px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cloth-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.cloth-list li { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); animation: dishIn .3s ease both; }
.cloth-list img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cloth-list .nm { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.cloth-list .pr { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; color: var(--ink); }
.qty b { min-width: 16px; text-align: center; font-size: 14px; }
.cloth-list .sum { font: 600 14px var(--sans); min-width: 70px; text-align: right; }
.cloth-empty { color: var(--muted); font-style: italic; font-family: var(--serif); padding: 24px 0; text-align: center; margin: 0; }
.cloth-total { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.cloth-total div { background: var(--paper-2); border-radius: 14px; padding: 12px 14px; }
.cloth-total span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cloth-total b { font: 600 24px var(--serif); }

/* Galeria */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 10px; padding: 10px; background: var(--paper); }
.gallery figure { margin: 0; overflow: hidden; border-radius: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover img { transform: scale(1.05); }
.g1 { grid-row: span 2; }

/* Evente */
.events { padding: 110px 0; }
.events .sec-head h2 em { color: var(--terra); }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ev { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.ev img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.ev div { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.ev h3 { font-size: 30px; margin-bottom: 10px; }
.ev p { margin: 0; color: var(--muted); }

/* Vlerësimet */
.reviews { background: var(--berry); color: #f2edf8; padding: 100px 0; text-align: center; }
.reviews .eyebrow { color: #cdbde8; }
.quotes { position: relative; min-height: 220px; max-width: 860px; margin: 0 auto; }
.q { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; pointer-events: none; }
.q.on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.q blockquote { margin: 0; font: italic 400 clamp(22px, 3vw, 34px)/1.35 var(--serif); }
.q figcaption { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.ini { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .14); font: 600 13px var(--sans); letter-spacing: .05em; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .25); cursor: pointer; }
.dots button[aria-selected="true"] { background: var(--gold-2); }

/* Rezervimi */
.book { padding: 110px 0; }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.book-txt h2 { margin-bottom: 18px; }
.book-txt p { color: #3d4636; }
.book-notes { padding-left: 18px; color: var(--muted); }
.book-form, .ticket { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 70px -40px rgba(29, 38, 27, .4); }
.book-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid #d9d1bf; background: var(--paper); font: 400 16px var(--sans); color: var(--ink); }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(180, 83, 42, .15); }
input[aria-invalid="true"] { border-color: #c0392b; }
.areas { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.areas label { display: block; cursor: pointer; }
.areas input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.areas span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid #d9d1bf; font-size: 14px; font-weight: 500; }
.areas input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.areas input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.form-err { margin: 0; color: #a52a1c; background: #fbe9e4; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.ticket { text-align: center; background: var(--ink); color: var(--paper); border: 0; }
.ticket[hidden] { display: none; }
.ticket h3 { font-size: 34px; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; margin: 6px auto; max-width: 340px; font-size: 14.5px; }
.ticket dt { color: #aaa48f; } .ticket dd { margin: 0; font-weight: 600; }
.ticket-code { font-size: 14px; color: #cfc8b6; margin: 4px 0 0; }
.ticket-code b { font: 600 26px var(--serif); color: var(--gold-2); letter-spacing: .06em; display: block; }
.ticket-note { font-size: 12.5px; color: #aaa48f; margin: 0; }
.ticket .btn-ink { background: var(--paper); color: var(--ink); justify-self: center; }

/* Kontakt + footer */
.contact { background: var(--paper-2); padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact h3 { font-size: 24px; margin-bottom: 8px; }
.contact p { margin: 0 0 8px; color: var(--muted); }
.link-arrow { color: var(--terra); font-weight: 600; text-decoration: none; }
.foot { background: var(--ink); color: #cfc8b6; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.foot-brand { margin: 0; font: 400 28px var(--serif); color: var(--paper); }
.foot-brand span { display: block; font: 400 14px var(--sans); color: #aaa48f; margin-top: 6px; }
.foot-credit { margin: 0; font-size: 13px; }
.foot-credit a { color: var(--gold-2); }

/* Shfaqja gjatë lëvizjes */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Përshtatja për pajisje */
@media (max-width: 980px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .story-grid, .sofra-grid, .book-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-img { max-width: 520px; margin: 0 auto; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey li:nth-child(3) { padding-left: 0; border-left: 0; }
  .journey li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ev-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .g1 { grid-column: span 2; grid-row: auto; }
  .g5 { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero { min-height: 88vh; }
  .hero-in { padding-bottom: 170px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding-top: 14px; padding-bottom: 14px; }
  .hero-facts li:last-child { display: none; }
  .story, .menu, .sofra, .events, .book { padding: 80px 0; }
  .story-img figcaption { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .journey { grid-template-columns: 1fr; margin-top: 64px; }
  .journey li, .journey li + li { padding: 24px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .dishes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish-body { padding: 12px; flex-direction: column; align-items: stretch; gap: 8px; }
  .dish-body h3 { font-size: 16.5px; }
  .dish { position: relative; }
  .add { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; background: rgba(29, 38, 27, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .ev { grid-template-columns: 1fr; }
  .ev img { min-height: 200px; max-height: 240px; }
  .cloth { padding: 22px 18px; }
  .cloth-list li { grid-template-columns: 40px 1fr auto; }
  .cloth-list img { width: 40px; height: 40px; }
  .cloth-list .sum { grid-column: 2 / -1; text-align: left; font-size: 13px; color: var(--muted); min-width: 0; }
  .f2, .f3 { grid-template-columns: 1fr; }
  .book-form, .ticket { padding: 22px 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery { grid-template-rows: 200px 150px 150px; gap: 6px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
