/* ============================================================
   Restoran Ćira Užice — bespoke IG-sourced site
   Aesthetic: traditional Serbian riverside tavern
   oxblood/terracotta + cream + gold on warm dark wood
   ============================================================ */

:root {
  --oxblood: #2b0c0e;
  --oxblood-2: #3a1316;
  --terracotta: #b4502e;
  --terracotta-d: #8f3b21;
  --gold: #d6a64a;
  --gold-soft: #e7c47e;
  --cream: #f4ecd8;
  --cream-dim: #d9cfb6;
  --ink: #20090a;
  --muted: rgba(244, 236, 216, 0.72);
  --line: rgba(214, 166, 74, 0.28);
  --maxw: 1140px;
  --r: 6px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--oxblood);
  color: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .2px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--cream); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 .9rem;
}
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow-center { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--cream); }
.text-link { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--r); text-decoration: none;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease;
  letter-spacing: .3px;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-lg { padding: 15px 30px; font-size: 1.04rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(31, 9, 11, 0.55);
  backdrop-filter: blur(8px);
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(31, 9, 11, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--gold);
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 8px; line-height: 1; padding-bottom: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--cream); }
.brand-sub { font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--cream-dim); font-weight: 500; font-size: .96rem; transition: color .18s; }
.nav a:hover { color: var(--gold-soft); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 8px 16px; border-radius: var(--r); font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: .25s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 80% 20%, rgba(180,80,46,.30), transparent 60%),
    url("/images/food-1.jpg") center 30% / cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.04);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(31,9,11,.96) 0%, rgba(31,9,11,.86) 42%, rgba(31,9,11,.55) 100%),
    linear-gradient(0deg, rgba(31,9,11,.92), rgba(31,9,11,.25));
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding-top: 80px; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); color: var(--cream); margin-bottom: .35em; }
.hero h1 .accent { color: var(--gold); }
.hero-lede { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--cream-dim); max-width: 560px; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.4rem; }
.hero-meta { font-size: .9rem; color: var(--muted); letter-spacing: .4px; }

/* ---------- strip ---------- */
.strip { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 18px; text-align: center; border-right: 1px solid rgba(214,166,74,.14); }
.strip-item:last-child { border-right: 0; }
.strip-k { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold); font-weight: 700; }
.strip-v { display: block; font-size: .82rem; color: var(--cream-dim); letter-spacing: .3px; margin-top: 2px; }

/* ---------- about ---------- */
.about { background: var(--oxblood); }
.about-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-figure { margin: 0; }
.about-figure img {
  width: 100%; max-width: 360px; margin-inline: auto;
  border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  background: var(--ink);
}

/* ---------- gallery ---------- */
.gallery-sec { background: var(--oxblood-2); }
.section-head { max-width: 620px; margin: 0 auto clamp(30px, 5vw, 50px); text-align: center; }
.section-head .eyebrow-line { justify-content: center; }
.section-sub { color: var(--cream-dim); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.card {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--ink); cursor: pointer;
  aspect-ratio: 3 / 4;
  box-shadow: 0 14px 32px rgba(0,0,0,.4);
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; filter: brightness(.92); }
.card:hover img, .card:focus-visible img { transform: scale(1.06); filter: brightness(1.02); }
.card::after {
  content: "+"; position: absolute; bottom: 10px; right: 12px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(43,12,14,.78); color: var(--gold); border: 1px solid var(--line);
  border-radius: 50%; font-size: 1.2rem; line-height: 1; opacity: 0; transition: opacity .25s;
}
.card:hover::after { opacity: 1; }
.gallery-note { text-align: center; margin: 26px 0 0; color: var(--cream-dim); font-size: .94rem; }
.gallery-note a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.gallery-note a:hover { color: var(--gold-soft); }

/* ---------- offer ---------- */
.offer { background: var(--oxblood); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card {
  padding: 26px 24px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(58,19,22,.7), rgba(31,9,11,.7));
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  transition: transform .22s ease, box-shadow .22s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.offer-card h3 { color: var(--gold-soft); margin-bottom: .4em; }
.offer-card p { color: var(--cream-dim); margin: 0; font-size: .98rem; }

/* ---------- parties / proslave ---------- */
.parties { background: var(--ink); position: relative; }
.parties-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.parties-copy .btn { margin-top: .6rem; }
.parties-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.parties-list li {
  padding: 16px 20px; border-radius: var(--r);
  background: rgba(58,19,22,.55); border-left: 3px solid var(--gold);
  color: var(--cream); font-weight: 500;
}

/* ---------- contact ---------- */
.contact { background: var(--oxblood-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.contact-copy .section-head { margin: 0; }
.contact-lede { color: var(--cream-dim); max-width: 480px; }
.contact-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: baseline; }
.ci-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); min-width: 86px; }
.ci-val { color: var(--cream); font-size: 1.02rem; }
.ci-val a { color: var(--cream); text-decoration: none; }
.ci-val a:hover { color: var(--gold-soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4rem; }
.contact-map { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 320px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 34px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { margin: 0; color: var(--cream-dim); font-size: .92rem; }
.footer-brand strong { color: var(--cream); font-family: var(--serif); font-size: 1.1rem; }
.f-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.footer-col p { margin: 0; color: var(--cream-dim); font-size: .94rem; }
.footer-col a { color: var(--cream-dim); text-decoration: none; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 18px 22px; border-top: 1px solid rgba(214,166,74,.16);
  font-size: .82rem; color: var(--muted); margin-top: 6px;
}

/* ---------- sticky call bar ---------- */
.call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--gold); color: var(--ink); text-align: center;
  padding: 14px 16px; font-weight: 700; text-decoration: none; font-size: 1rem;
  box-shadow: 0 -4px 18px rgba(0,0,0,.35); letter-spacing: .3px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,6,7,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lb-inner { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lb-inner img { max-width: 100%; max-height: 78vh; border-radius: var(--r); border: 1px solid var(--line); margin-inline: auto; }
.lb-cap { color: var(--cream-dim); margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(43,12,14,.7); color: var(--cream);
  border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 22px; right: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--oxblood-2); padding: 96px 30px 40px;
    transform: translateX(110%); transition: transform .3s ease; z-index: 45;
    border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .nav-cta { margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 46; }
  .nav.open ~ .nav-toggle span:nth-child(1),
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .parties-grid, .contact-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-bar { display: block; }
  body { padding-bottom: 52px; }
}

@media (max-width: 540px) {
  .gallery, .offer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 88vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .contact-list li { flex-direction: column; gap: 2px; }
  .ci-label { min-width: 0; }
}
