/* ============================================================
   Kasaba Nevizade · QR Menü
   Mobile-first single-page menu — bright brand-red / white theme.
   Palette and type are driven by the custom properties in :root,
   so the whole site can be re-skinned from one place.
   ============================================================ */

:root{
  /* surfaces */
  --bg:#FEFEFE;            /* page background (white)              */
  --bg-2:#FAF6F3;          /* warm off-white for alternate sections */
  --card:#FFFFFF;          /* cards                                */
  --card-2:#FBF7F5;        /* slightly tinted card                 */

  /* brand */
  --brand:#C90109;         /* primary brand red                    */
  --brand-soft:#E5252C;    /* lighter red for hovers / gradients   */
  --brand-deep:#A00007;    /* darker red for depth / pressed       */

  /* text */
  --ink:#211A18;                   /* warm near-black main text     */
  --ink-dim:rgba(33,26,24,.62);    /* secondary text                */
  --ink-faint:rgba(33,26,24,.42);  /* tertiary text                 */

  /* lines */
  --line:rgba(33,26,24,.10);
  --line-strong:rgba(33,26,24,.16);

  /* accents */
  --green:#4F9E57;         /* vegetarian badge                     */

  /* type */
  --display:"Playfair Display",Georgia,serif;
  --sans:"Hanken Grotesk",system-ui,-apple-system,sans-serif;
  --script:"Dancing Script",cursive;

  /* layout */
  --col:480px;             /* mobile column max width              */
  --tabh:60px;             /* sticky tab bar height (scroll anchor) */
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
/* desktop: center the mobile column on a light neutral stage */
@media (min-width:520px){
  body{background:#EFE9E4;}
}

.shell{
  position:relative;
  width:100%;
  max-width:var(--col);
  margin:0 auto;
  background:var(--bg);
  min-height:100vh;
  box-shadow:0 0 50px rgba(80,40,30,.12);
  overflow:hidden;
}

/* faint film grain over everything — soft so white surfaces stay clean */
.grain{
  position:fixed;
  inset:0;
  z-index:60;
  pointer-events:none;
  opacity:.022;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}

/* ============ HERO ============ */
.hero{position:relative;}
.hero-media{
  position:relative;width:100%;
  aspect-ratio:952/1269;
  background:#1d1714;
  overflow:hidden;
}
.hero-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
/* poster mode: the cover artwork carries its own wordmark / phone / address,
   so we hide the duplicate text overlay and keep only the functional CTA.
   Remove the `poster` class on .hero to show the text overlay over a plain
   cover photo instead. */
.hero.poster .eyebrow,
.hero.poster .rating,
.hero.poster .crest,
.hero.poster .wordmark,
.hero.poster .tagline{display:none;}
.hero-shade{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.16) 83%, rgba(0,0,0,.42) 100%);
}
.hero-top{
  position:absolute;top:0;left:0;right:0;z-index:3;
  display:flex;justify-content:space-between;align-items:center;
  padding:18px 20px;
}
.eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;
  color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(0,0,0,.4);
}
.rating{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.7);
  color:var(--ink);
  border-radius:100px;padding:7px 12px;
  font-size:12.5px;font-weight:600;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}
.rating .star{color:var(--brand);font-size:13px;}
.rating .src{color:rgba(33,26,24,.55);font-weight:500;}

.hero-body{
  position:absolute;left:0;right:0;bottom:0;z-index:3;
  padding:0 26px 30px;
  text-align:center;
}
.crest{
  width:46px;height:46px;margin:0 auto 14px;
  border:1px solid rgba(255,255,255,.85);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.wordmark{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(40px,12.5vw,56px);
  line-height:.96;
  letter-spacing:-.01em;
  text-shadow:0 2px 30px rgba(0,0,0,.5);
}
.wordmark .line1{display:block;color:#FFFFFF;}
.wordmark .line2{display:block;color:#FFFFFF;font-style:italic;font-weight:600;font-size:.62em;margin-top:2px;}
.tagline{
  margin-top:8px;
  font-family:var(--script);
  font-size:28px;font-weight:700;letter-spacing:.01em;line-height:1.05;
  color:#FF3D42;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
}
.cta{
  display:inline-flex;align-items:center;gap:9px;white-space:nowrap;
  margin-top:22px;
  background:linear-gradient(180deg,var(--brand-soft),var(--brand));
  color:#fff;font-weight:700;font-size:15px;letter-spacing:.02em;
  padding:14px 28px;border-radius:100px;
  box-shadow:0 10px 26px rgba(201,1,9,.32),inset 0 1px 0 rgba(255,255,255,.28);
}
.cta svg{width:15px;height:15px;}

/* feature chips */
.features{
  display:flex;gap:8px;overflow-x:auto;
  padding:18px 20px 4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.features::-webkit-scrollbar{display:none;}
.chip{
  flex:0 0 auto;
  display:inline-flex;align-items:center;gap:7px;
  background:var(--card);border:1px solid var(--line);
  border-radius:100px;padding:9px 14px;
  font-size:12.5px;font-weight:600;color:var(--ink-dim);
  white-space:nowrap;
}
.chip .dot{width:6px;height:6px;border-radius:50%;background:var(--brand);}

/* ============ STICKY TABS ============ */
.tabs-wrap{
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1);
  border-bottom:1px solid var(--line);
}
.tabs{
  display:flex;gap:6px;overflow-x:auto;
  padding:11px 16px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.tabs::-webkit-scrollbar{display:none;}
.tab{
  flex:0 0 auto;
  font-size:13.5px;font-weight:600;
  color:var(--ink-faint);
  padding:8px 15px;border-radius:100px;
  border:1px solid transparent;
  white-space:nowrap;
  transition:color .2s,background .2s,border-color .2s;
}
.tab.active{
  color:#fff;
  background:linear-gradient(180deg,var(--brand-soft),var(--brand));
  border-color:transparent;
  box-shadow:0 4px 14px rgba(201,1,9,.32);
}

/* ============ MENU ============ */
.menu{padding:6px 0 8px;}
.cat{padding:34px 22px 8px;scroll-margin-top:var(--tabh);}
.cat-head{
  display:flex;align-items:center;gap:14px;margin-bottom:20px;
}
.cat-num{
  font-family:var(--display);font-style:italic;
  font-size:15px;color:var(--brand);opacity:.75;
}
.cat-title{
  font-family:var(--display);font-weight:700;
  font-size:27px;line-height:1.05;color:var(--ink);
  letter-spacing:-.01em;white-space:nowrap;
}
.cat-rule{flex:1;height:1px;background:linear-gradient(90deg,var(--line-strong),transparent);}

.items{display:flex;flex-direction:column;gap:2px;}

.item{
  display:flex;align-items:center;gap:13px;
  padding:13px 4px;
  border-bottom:1px solid var(--line);
}
.item:last-child{border-bottom:none;}
.item-main{flex:1;min-width:0;}
.item-name-row{
  display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;
}
.item-name{
  font-family:var(--display);font-weight:600;
  font-size:18.5px;line-height:1.2;color:var(--ink);
}
.item-desc{
  margin-top:5px;font-size:13px;line-height:1.45;
  color:var(--ink-dim);
}
.item-price{
  flex:0 0 auto;
  font-weight:700;font-size:15.5px;color:var(--brand);
  font-variant-numeric:tabular-nums;
  padding-top:2px;
}

/* featured item card */
.item.featured{
  background:linear-gradient(180deg,var(--card-2),var(--card));
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:14px;margin:8px 0;
  align-items:center;
}

/* badges */
.badges{display:inline-flex;gap:6px;flex-wrap:wrap;}
.badge{
  display:inline-flex;align-items:center;gap:4px;
  font-size:10.5px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;
  padding:3px 8px;border-radius:100px;
  border:1px solid;
}
.badge.chef{color:var(--brand);border-color:rgba(201,1,9,.35);background:rgba(201,1,9,.07);}
.badge.spicy{color:var(--brand);border-color:rgba(201,1,9,.35);background:rgba(201,1,9,.08);}
.badge.veg{color:#3C8A47;border-color:rgba(79,158,87,.4);background:rgba(79,158,87,.10);}
.badge.fav{color:#fff;border-color:transparent;background:linear-gradient(180deg,var(--brand-soft),var(--brand));}
.badge.new{color:var(--ink-dim);border-color:var(--line-strong);background:rgba(33,26,24,.04);}

/* ===== item thumbnails (every item) ===== */
.thumb{
  position:relative;flex:0 0 auto;
  width:64px;height:64px;
  border-radius:12px;overflow:hidden;
  cursor:zoom-in;display:block;padding:0;
  background:linear-gradient(135deg,#FBF0EE,#F3E3DF);
}
.item.featured .thumb{width:82px;height:82px;}
/* photo fills the thumb; a soft brand tile shows behind it while loading or
   if the (placeholder) image fails to resolve */
.thumb img,.g-cell img{
  width:100%;height:100%;object-fit:cover;
  background:linear-gradient(135deg,#FBF0EE,#F3E3DF);
  transition:opacity .3s;
}
.thumb img.is-broken,.g-cell img.is-broken{opacity:0;}
.thumb .zoom{
  position:absolute;right:4px;bottom:4px;width:21px;height:21px;border-radius:50%;
  background:rgba(16,12,10,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  color:#fff;pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.45);z-index:2;
}
.thumb .zoom svg{width:11px;height:11px;}

/* ============ SECTION SHELL ============ */
.sec{padding:42px 22px;}
.sec-eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.26em;text-transform:uppercase;
  color:var(--brand-soft);text-align:center;
}
.sec-title{
  font-family:var(--display);font-weight:700;
  font-size:28px;text-align:center;margin-top:8px;color:var(--ink);
  letter-spacing:-.01em;
}
.divider-flame{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin:14px 0 0;color:var(--brand);
}
.divider-flame .ln{width:30px;height:1px;background:var(--line-strong);}
.divider-flame svg{width:14px;height:14px;}

/* gallery */
.gallery{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:24px;
}
.g-cell{
  position:relative;overflow:hidden;border-radius:12px;cursor:zoom-in;
  padding:0;display:block;
  background:linear-gradient(135deg,#FBF0EE,#F3E3DF);
}
.g-tall{grid-row:span 2;aspect-ratio:1/2.06;}
.g-sq{aspect-ratio:1/1;}
.g-wide{grid-column:span 2;aspect-ratio:2/1;}
.g-cell .zoom{
  position:absolute;right:8px;bottom:8px;width:26px;height:26px;border-radius:50%;
  background:rgba(16,12,10,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  color:#fff;pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.45);z-index:2;
}
.g-cell .zoom svg{width:13px;height:13px;}

/* reviews */
.reviews-sec{background:var(--bg-2);}
.reviews{display:flex;flex-direction:column;gap:12px;margin-top:24px;}
.review{
  background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:20px;
}
.quote-mark{font-family:var(--display);font-size:40px;line-height:0;color:var(--brand);opacity:.5;height:18px;display:block;}
.review-text{
  font-family:var(--display);font-style:italic;font-weight:500;
  font-size:16.5px;line-height:1.5;color:var(--ink);
  margin:14px 0 16px;
}
.review-foot{display:flex;align-items:center;gap:11px;}
.avatar{
  width:36px;height:36px;border-radius:50%;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:14px;color:#fff;
  background:linear-gradient(135deg,var(--brand-soft),var(--brand));
}
.review-who{font-weight:700;font-size:13.5px;}
.review-stars{font-size:11px;color:var(--brand);letter-spacing:1px;margin-top:1px;}

/* contact */
.contact-sec{padding:44px 22px 30px;}
.addr{
  text-align:center;font-size:15px;line-height:1.6;color:var(--ink-dim);
  margin-top:22px;
}
.addr strong{display:block;color:var(--ink);font-weight:600;font-size:16px;margin-bottom:3px;}
.btn-row{display:flex;gap:10px;margin-top:22px;}
.btn{
  flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px;border-radius:13px;font-weight:700;font-size:14px;
}
.btn svg{width:16px;height:16px;}
.btn-primary{background:linear-gradient(180deg,var(--brand-soft),var(--brand));color:#fff;box-shadow:0 8px 20px rgba(201,1,9,.3);}
.btn-ghost{background:var(--card);border:1px solid var(--line-strong);color:var(--ink);}

.hours{
  margin-top:24px;background:var(--card);border:1px solid var(--line);
  border-radius:16px;padding:18px 20px;
}
.hours-title{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14px;margin-bottom:14px;}
.hours-title svg{width:16px;height:16px;color:var(--brand);}
.hours-row{display:flex;justify-content:space-between;font-size:13.5px;padding:6px 0;color:var(--ink-dim);}
.hours-row span:last-child{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums;}
.hours-music{
  margin-top:12px;padding-top:12px;border-top:1px solid var(--line);
  display:flex;align-items:center;gap:9px;font-size:13px;color:var(--brand-soft);font-weight:600;
}
.hours-music svg{width:15px;height:15px;}

.socials{display:flex;justify-content:center;gap:12px;margin-top:26px;}
.social{
  width:46px;height:46px;border-radius:50%;
  background:var(--card);border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;color:var(--ink-dim);
  transition:color .2s,border-color .2s;
}
.social svg{width:20px;height:20px;}
.social:active,.social:hover{color:var(--brand);border-color:var(--brand);}

.review-cta{
  display:flex;align-items:center;justify-content:center;gap:9px;
  margin-top:24px;width:100%;
  padding:15px;border-radius:13px;
  background:transparent;border:1px solid var(--brand);
  color:var(--brand-soft);font-weight:700;font-size:14.5px;
}
.review-cta svg{width:17px;height:17px;}

footer{
  text-align:center;padding:30px 22px 38px;
  border-top:1px solid var(--line);margin-top:32px;
}
.foot-mark{font-family:var(--display);font-weight:700;font-size:19px;color:var(--ink);}
.foot-sub{font-size:11.5px;color:var(--brand);font-weight:700;letter-spacing:.16em;text-transform:uppercase;margin-top:8px;}
.foot-note{font-size:11px;color:var(--ink-faint);margin-top:18px;}

/* scroll-to-top fab */
.fab{
  position:fixed;z-index:45;
  bottom:18px;right:50%;transform:translateX(calc(var(--col)/2 - 18px - 50%));
  width:46px;height:46px;border-radius:50%;
  background:linear-gradient(180deg,var(--brand-soft),var(--brand));
  box-shadow:0 8px 22px rgba(201,1,9,.4);
  display:flex;align-items:center;justify-content:center;color:#fff;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;
}
.fab.show{opacity:1;pointer-events:auto;}
.fab svg{width:18px;height:18px;}
@media (max-width:519px){
  .fab{right:18px;transform:none;}
}

/* ===== lightbox ===== */
.lightbox{
  position:fixed;inset:0;z-index:200;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
  padding:26px;background:rgba(10,8,7,.93);
  -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);
  opacity:0;pointer-events:none;transition:opacity .28s ease;
}
.lightbox.open{opacity:1;pointer-events:auto;}
.lightbox img{
  max-width:92%;max-height:80%;object-fit:contain;border-radius:14px;
  box-shadow:0 30px 90px rgba(0,0,0,.6);transform:scale(.92);
  transition:transform .3s cubic-bezier(.2,.85,.25,1);
}
.lightbox.open img{transform:scale(1);}
.lightbox .lb-cap{
  font-family:var(--display);font-weight:600;font-size:22px;color:#FFF6F0;text-align:center;
  text-shadow:0 2px 18px rgba(0,0,0,.5);
}
.lightbox .lb-close{
  position:absolute;top:16px;right:18px;width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;
  font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.lightbox .lb-close:active{background:rgba(255,255,255,.18);}
body.lb-lock{overflow:hidden;}

/* respect reduced-motion preferences */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .lightbox,.lightbox img,.fab,.tab{transition:none;}
}

/* ============================================================
   DESKTOP / WIDE SCREENS  (≥ 820px)
   The mobile-first base above is untouched; from 820px up the
   single ~480px phone column expands into a roomy, centered
   multi-column page. Driven by widening --col, so the shell and
   the scroll-to-top button stay aligned automatically.
   ============================================================ */
@media (min-width:820px){
  :root{--col:1100px;}

  .shell{box-shadow:0 12px 64px rgba(80,40,30,.14);}

  /* hero — show the whole portrait poster on a soft blurred backdrop
     instead of cropping it into a wide band */
  .hero-media{
    aspect-ratio:auto;
    height:clamp(460px,80vh,780px);
  }
  .hero-media::before{
    content:"";position:absolute;inset:0;z-index:0;
    background:url("assets/horizontal-hero-cover.jpeg") center/cover no-repeat;
    filter:blur(30px) brightness(.55) saturate(1.1);
    transform:scale(1.15);
  }
  .hero-img{z-index:1;object-fit:contain;}
  .hero-body{padding-bottom:40px;}
  .hero-top{padding:24px 30px;}
  .cta{font-size:16px;padding:16px 34px;}

  /* feature chips — centered and wrapping, no scrollbar needed */
  .features{
    justify-content:center;flex-wrap:wrap;overflow:visible;
    padding:22px 40px 6px;
  }

  /* sticky tabs — centered row */
  .tabs{justify-content:center;padding:13px 24px;}

  /* menu — two columns per category; featured cards span the full width */
  .menu{padding:6px 0 20px;}
  .cat{padding:46px 48px 8px;}
  .cat-title{font-size:30px;}
  .items{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:42px;
    align-items:start;
  }
  .item.featured{grid-column:1 / -1;}

  /* section shells — wider gutters, slightly larger titles */
  .sec{padding:62px 48px;}
  .sec-title{font-size:32px;}

  /* gallery — clean, uniform 3-column grid (bento is mobile-only) */
  .gallery{
    grid-template-columns:repeat(3,1fr);gap:12px;
    max-width:980px;margin-left:auto;margin-right:auto;
  }
  .g-tall,.g-wide{grid-row:auto;grid-column:auto;}
  .g-tall,.g-sq,.g-wide{aspect-ratio:1/1;}

  /* reviews — two columns */
  .reviews{
    display:grid;grid-template-columns:1fr 1fr;gap:16px;
    max-width:920px;margin-left:auto;margin-right:auto;
  }

  /* contact — keep the actionable content at a comfortable reading width */
  .contact-sec{padding:62px 48px 46px;}
  .contact-sec .addr,
  .contact-sec .btn-row,
  .contact-sec .hours,
  .contact-sec .socials,
  .contact-sec .review-cta{
    max-width:620px;margin-inline:auto;
  }
}

/* extra-wide screens — a touch more menu padding so lines stay readable */
@media (min-width:1180px){
  .cat{padding-left:64px;padding-right:64px;}
}
