/* ==========================================================================
   SIRIUS „MARVIN” — Caffe bar Samobor
   Glavni stilovi. Boje i fontovi se mijenjaju u :root varijablama ispod.
   ========================================================================== */

:root {
  /* Boje */
  --bg:          #0b0b0a;   /* gotovo crna */
  --bg-2:        #121211;   /* antracit tamni */
  --bg-3:        #1a1a18;   /* antracit */
  --green:       #0d1f1a;   /* tamnozelena iz interijera */
  --line:        rgba(214, 178, 112, .18);
  --gold:        #d4ad6a;   /* zlatna */
  --gold-2:      #b8914f;
  --gold-soft:   #e9d5ad;
  --beige:       #ece3d3;   /* topla bež – glavni tekst */
  --muted:       #a59d8f;   /* sekundarni tekst */

  /* Tipografija */
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body:    "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-script:  "Allura", "Brush Script MT", cursive;

  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
}

/* ---------- Reset / osnove ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--beige);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--bg); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografski elementi ---------- */
.eyebrow {
  font-size: .75rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.005em;
  margin-bottom: 1.4rem; color: #f5eee1;
}
.section-title em { font-style: italic; color: var(--gold-soft); }
.section-intro { color: var(--muted); max-width: 560px; }
.lead { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.45; color: var(--gold-soft); font-style: italic; }
.script { font-family: var(--f-script); color: var(--gold); font-size: 2rem; line-height: 1; margin: 0; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head .section-intro { margin-inline: auto; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius);
  font-family: var(--f-body); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: #17130c; }
.btn-gold:hover { background: var(--gold-soft); color: #17130c; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(236, 227, 211, .35); color: var(--beige); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { border-color: var(--gold-2); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #17130c; }
.btn-sm { padding: 10px 18px; font-size: .7rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), height .4s var(--ease), transform .45s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(11, 11, 10, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--beige); }
.brand:hover { color: var(--beige); }
.brand-mark { width: 26px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-body); font-weight: 300; font-size: 1.15rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-soft); }
.brand-sub { font-family: var(--f-script); font-size: 1.15rem; color: var(--gold); margin-top: 2px; padding-left: 2px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 38px; }
.main-nav a {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  position: relative; padding: 6px 0; color: rgba(236, 227, 211, .85);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-mobile-extra { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; z-index: 120; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--beige);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child  { top: 26px; left: 18px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { top: 21px; left: 10px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h); overflow: hidden; background: var(--bg);
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 14s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,11,10,.85) 18%, rgba(11,11,10,.25) 55%, rgba(11,11,10,.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,11,10,0) 30%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content { position: relative; z-index: 2; padding-block: 60px 160px; }
.hero-title { display: flex; flex-direction: column; margin: 0 0 .2rem; }
.hero-sirius {
  font-family: var(--f-body); font-weight: 300; text-transform: uppercase;
  font-size: clamp(3.4rem, 10vw, 8.4rem); letter-spacing: .32em; line-height: 1;
  margin-right: -.32em;
  background: linear-gradient(180deg, #f6e6c4 0%, #d4ad6a 55%, #9c7638 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-marvin {
  font-family: var(--f-script); font-weight: 400; color: var(--gold);
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .9; margin: -.1em 0 0 .15em;
}
.hero-tagline {
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--gold-soft); margin: 1.4rem 0 1.2rem; display: flex; align-items: center; gap: 16px;
}
.hero-tagline::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hero-lead { max-width: 470px; color: rgba(236,227,211,.82); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.open-status { margin: 1.8rem 0 0; font-size: .82rem; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 10px; min-height: 1.4em; }
.open-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #6c6c6c; flex: none; }
.open-status.is-open .dot { background: #7fc48a; box-shadow: 0 0 0 0 rgba(127,196,138,.6); animation: pulse 2.4s infinite; }
.open-status.is-open strong { color: #a9dcb1; font-weight: 400; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127,196,138,0); } 100% { box-shadow: 0 0 0 0 rgba(127,196,138,0); } }

.hero-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; border-top: 1px solid var(--line); background: linear-gradient(0deg, rgba(11,11,10,.9), rgba(11,11,10,.4)); }
.hero-info-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-info-item { display: flex; gap: 16px; align-items: center; padding: 22px 0; font-size: .88rem; line-height: 1.6; color: rgba(236,227,211,.8); }
.hero-info-item + .hero-info-item { padding-left: 32px; border-left: 1px solid var(--line); }
.hero-info-item svg { width: 30px; height: 30px; color: var(--gold); flex: none; stroke-width: 1.2; }
.hero-info-item strong { font-weight: 500; color: var(--beige); }

/* ==========================================================================
   O NAMA
   ========================================================================== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-text p:not(.lead):not(.eyebrow) { color: rgba(236,227,211,.78); }
.signature { margin-top: 2rem; }
.signature .script { font-size: 2.4rem; }

.about-media { position: relative; padding: 0 0 70px 60px; }
.about-img { overflow: hidden; border-radius: var(--radius); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-img:hover img { transform: scale(1.04); }
.about-img-main { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.about-img-small {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1;
  border: 8px solid var(--bg); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
}
.about-img-small img { object-position: 40% 50%; }
.about-badge {
  position: absolute; right: -18px; top: 36px; width: 118px; height: 118px; border-radius: 50%;
  background: rgba(11,11,10,.92); border: 1px solid var(--gold-2);
  display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
  backdrop-filter: blur(4px);
}
.about-badge img { width: 34px; }
.about-badge span { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); padding-left: .28em; }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 9vw, 110px); border-top: 1px solid var(--line);
}
.feature { padding: 44px 28px 0; text-align: center; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature svg { width: 46px; height: 46px; color: var(--gold); stroke-width: 1.1; margin: 0 auto 20px; }
.feature h3 { font-family: var(--f-body); font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ==========================================================================
   PONUDA
   ========================================================================== */
.menu { background: var(--bg-2); border-block: 1px solid var(--line); }
.drinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.drink { background: var(--bg); border: 1px solid rgba(214,178,112,.12); border-radius: var(--radius); overflow: hidden; transition: border-color .5s var(--ease), transform .6s var(--ease); }
.drink:hover { border-color: rgba(214,178,112,.45); transform: translateY(-4px); }
.drink-img { aspect-ratio: 4 / 3; overflow: hidden; }
.drink-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.drink:hover .drink-img img { transform: scale(1.06); }
.drink-body { padding: 26px 28px 30px; position: relative; }
.drink-body::before { content: ""; position: absolute; left: 28px; top: 0; width: 34px; height: 1px; background: var(--gold); }
.drink h3 { font-family: var(--f-display); font-size: 1.85rem; font-weight: 500; color: #f5eee1; margin-bottom: 10px; }
.drink p { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.menu-cta { text-align: center; margin-top: 56px; }
.menu-cta p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* ==========================================================================
   ATMOSFERA
   ========================================================================== */
.atmosphere { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; isolation: isolate; background: var(--green); }
.atmo-bg {
  position: absolute; inset: -10% 0; z-index: -1;
  background: url("../img/hero.webp") center 40% / cover no-repeat;
  opacity: .22; filter: saturate(.6) blur(2px);
  transform: translate3d(0, var(--parallax, 0), 0);
}
.atmosphere::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, rgba(13,31,26,.3), rgba(13,31,26,.95) 70%), linear-gradient(180deg, var(--bg) 0%, rgba(11,11,10,0) 18%, rgba(11,11,10,0) 82%, var(--bg) 100%);
}
.atmo-head { text-align: center; max-width: 720px; margin: 0 auto clamp(56px, 8vw, 90px); }
.atmo-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.atmo-head .section-intro { margin-inline: auto; color: rgba(236,227,211,.75); }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: m; position: relative; }
.moments::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); opacity: .6; }
.moment { padding: 0 clamp(16px, 3vw, 44px); text-align: center; position: relative; }
.moment::before {
  content: ""; display: block; width: 9px; height: 9px; margin: 14px auto 28px;
  background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--green), 0 0 18px rgba(212,173,106,.7);
}
.moment-time { font-size: .74rem; letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 10px; }
.moment h3 { font-family: var(--f-display); font-style: italic; font-size: 2.4rem; font-weight: 400; color: #f5eee1; margin-bottom: 14px; }
.moment p { color: rgba(236,227,211,.72); font-size: .97rem; margin: 0; }

.atmo-quote { margin: clamp(70px, 9vw, 110px) auto 0; text-align: center; max-width: 760px; }
.atmo-quote p { font-family: var(--f-script); font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--gold-soft); line-height: 1.1; margin-bottom: 18px; }
.atmo-quote footer { font-size: .85rem; letter-spacing: .06em; color: var(--muted); }

/* ==========================================================================
   GALERIJA
   ========================================================================== */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { display: block; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; aspect-ratio: 1 / 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.g-item::after {
  content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .5s var(--ease), background .5s;
  background: rgba(11,11,10,0);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.g-item:hover::after { border-color: rgba(212,173,106,.6); background: rgba(11,11,10,.12); }
.g-wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.gallery-cta { text-align: center; margin-top: 40px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(6,6,5,.96);
  display: grid; grid-template-columns: 80px 1fr 80px; align-items: center;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100svh; padding: 60px 0; }
.lightbox img { max-height: calc(100% - 50px); max-width: 100%; width: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 16px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--gold-soft); text-align: center; }
.lightbox button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--beige); border: 1px solid rgba(236,227,211,.2); transition: border-color .3s, color .3s; justify-self: center; }
.lightbox button:hover { border-color: var(--gold); color: var(--gold); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 18px; right: 18px; font-size: 1.9rem; line-height: 1; font-weight: 200; z-index: 2; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact-list { margin: 0 0 2.4rem; display: grid; gap: 22px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.hours-title { font-family: var(--f-body); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 12px; }
.hours { margin-bottom: 2.4rem; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; margin-inline: -14px; border-radius: var(--radius); color: rgba(236,227,211,.8); }
.hours li.is-today { background: rgba(212,173,106,.09); color: var(--gold-soft); }
.hours li.is-today span:first-child::after { content: " · danas"; color: var(--gold); font-size: .85em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-map { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.92) contrast(.9) hue-rotate(180deg) sepia(.15); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #070707; padding: 90px 0 0; border-top: 1px solid var(--line); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand img { width: 40px; margin-bottom: 16px; }
.footer-name { font-weight: 300; font-size: 1.5rem; letter-spacing: .45em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 6px; }
.footer-brand .script { font-size: 1.7rem; }
.site-footer h3 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 18px; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a, .footer-contact a { color: rgba(236,227,211,.75); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact p { color: rgba(236,227,211,.75); }
.social { display: flex; gap: 12px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-soft); transition: all .35s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #17130c; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(214,178,112,.1); padding-block: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; color: #8a8377; }
.footer-bottom p { margin: 0; }


/* ==========================================================================
   KARTA – rezervirano mjesto do privole
   ========================================================================== */
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; gap: 4px;
  background: radial-gradient(circle at 50% 40%, rgba(212,173,106,.08), transparent 60%), var(--bg-3);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--gold); stroke-width: 1.2; margin-bottom: 10px; }
.map-placeholder .map-title { font-family: var(--f-display); font-size: 1.6rem; color: #f5eee1; margin-bottom: 8px; }
.map-placeholder p { max-width: 380px; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.map-placeholder p a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.contact-map.is-loaded .map-placeholder { display: none; }

/* ==========================================================================
   KOLAČIĆI – traka i postavke
   ========================================================================== */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; margin-inline: auto; max-width: 980px;
  background: rgba(18,18,17,.97); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: ccIn .5s var(--ease) both;
}
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
@keyframes ccIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cc-inner { display: flex; align-items: center; gap: 28px; padding: 22px 26px; }
.cc-text h2 { font-family: var(--f-display); font-size: 1.35rem; color: #f5eee1; margin-bottom: 4px; }
.cc-text p { margin: 0; font-size: .86rem; color: rgba(236,227,211,.75); line-height: 1.6; }
.cc-text a, .cc-intro a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex: none; }
.cc-link { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 10px 6px; text-decoration: underline; text-underline-offset: 4px; }
.cc-link:hover { color: var(--gold); }
body.has-cc .to-top { bottom: 120px; }

.cc-modal { position: fixed; inset: 0; z-index: 600; background: rgba(6,6,5,.82); display: grid; place-items: center; padding: 16px; }
.cc-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 34px 32px 30px;
}
.cc-dialog h2 { font-family: var(--f-display); font-size: 2rem; color: #f5eee1; margin-bottom: 10px; }
.cc-intro { font-size: .9rem; color: var(--muted); }
.cc-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; color: var(--muted); }
.cc-close:hover { color: var(--gold); }
.cc-cats { margin: 20px 0 26px; border-top: 1px solid var(--line); }
.cc-cat { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
.cc-cat label { font-weight: 500; color: var(--beige); font-size: .98rem; cursor: pointer; }
.cc-cat label span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-left: 6px; }
.cc-cat p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.cc-switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 26px; flex: none; cursor: pointer;
  background: #3a3833; position: relative; transition: background .3s var(--ease); margin: 0; }
.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--beige); transition: transform .3s var(--ease); }
.cc-switch:checked { background: var(--gold); }
.cc-switch:checked::after { transform: translateX(20px); background: #17130c; }
.cc-switch:disabled { opacity: .55; cursor: not-allowed; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-legal a, .footer-legal button { color: #a59d8f; font-size: inherit; padding: 0; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--gold); }

/* ==========================================================================
   PRAVNE STRANICE (Pravila privatnosti)
   ========================================================================== */
.legal-header { border-bottom: 1px solid var(--line); background: rgba(11,11,10,.95); position: sticky; top: 0; z-index: 50; }
.legal-header .header-inner { height: 72px; justify-content: space-between; }
.legal { padding: clamp(60px, 9vw, 110px) 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #f5eee1; margin-bottom: .4rem; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2.6rem; }
.legal h2 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; color: var(--gold-soft); margin: 2.8rem 0 .9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h3 { font-family: var(--f-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 1.8rem 0 .6rem; }
.legal p, .legal li { color: rgba(236,227,211,.82); font-size: 1rem; }
.legal ul { list-style: none; margin: 0 0 1em; }
.legal ul li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.legal ul li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.legal a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--beige); font-weight: 500; }
.legal .toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 1rem; }
.legal .toc ol { list-style: decimal; padding-left: 20px; margin: 0; columns: 2 220px; column-gap: 30px; }
.legal .toc li { padding: 0; margin-bottom: .3em; font-size: .92rem; }
.legal .toc li::before { display: none; }
.legal .toc a { text-decoration: none; color: rgba(236,227,211,.82); }
.legal .toc a:hover { color: var(--gold); }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: rgba(236,227,211,.82); }
.legal th { font-weight: 500; color: var(--gold-soft); background: var(--bg-2); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.legal tr:last-child td { border-bottom: 0; }
.legal .note { background: rgba(212,173,106,.07); border-left: 2px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.legal-cta { margin-top: 1.6rem; display: flex; gap: 12px; flex-wrap: wrap; }
.legal .btn { text-decoration: none; }

/* ---------- Povratak na vrh ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(18,18,17,.9); border: 1px solid var(--gold-2); color: var(--gold);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .4s var(--ease); backdrop-filter: blur(6px);
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #17130c; }

/* ---------- Animacije pri pomicanju ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONZIVNOST
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav ul { gap: 26px; }
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 110; margin: 0;
    background: #090908;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 48px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 10px; }
  .main-nav a { font-family: var(--f-display); font-size: 2.2rem; letter-spacing: .02em; text-transform: none; color: #f5eee1; display: block; padding: 6px 0;
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
  .main-nav.is-open a { opacity: 1; transform: none; }
  .main-nav.is-open li:nth-child(2) a { transition-delay: .05s; }
  .main-nav.is-open li:nth-child(3) a { transition-delay: .1s; }
  .main-nav.is-open li:nth-child(4) a { transition-delay: .15s; }
  .main-nav.is-open li:nth-child(5) a { transition-delay: .2s; }
  .main-nav a::after { display: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--muted); font-size: .9rem; }
  .nav-mobile-extra p { margin: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

  .hero { justify-content: flex-end; }
  .hero-media { width: 100%; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(11,11,10,.82) 45%, rgba(11,11,10,.35) 100%); }
  .hero-content { padding-block: 40px 40px; }
  .hero-info { position: relative; background: var(--bg); }
  .hero-info-inner { grid-template-columns: 1fr; }
  .hero-info-item { padding: 16px 0; }
  .hero-info-item + .hero-info-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .feature { padding: 36px 20px; border-top: 1px solid var(--line); }
  .feature:nth-child(3) { border-left: 0; }



  .moments { grid-template-columns: 1fr; gap: 44px; max-width: 460px; margin-inline: auto; }
  .moments::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--gold-2), transparent); opacity: .35; }
  .moment { background: var(--green); padding-block: 10px; }

  .drinks-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
  .cc-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }
  .hero-sirius { letter-spacing: .22em; margin-right: -.22em; }
  .btn { padding: 14px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .about-media { padding: 0 0 50px 30px; }
  .about-badge { width: 92px; height: 92px; right: 8px; top: 20px; }
  .about-badge img { width: 26px; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; }
  .gallery-grid { gap: 10px; }
  .g-wide { aspect-ratio: 16 / 9; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding: 70px 12px 100px; }
  .lb-prev, .lb-next { position: absolute; bottom: 26px; grid-column: auto; background: rgba(11,11,10,.8); }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .drinks-grid { grid-template-columns: 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .contact-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .cc-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .cc-actions .btn { flex: 1 1 auto; }
  .cc-actions .cc-link { width: 100%; text-align: center; }
  .cc-banner { left: 10px; right: 10px; bottom: 10px; }
  body.has-cc .to-top { display: none; }
  .cc-dialog { padding: 30px 20px 22px; }
  .cc-dialog .cc-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
