/* ============================================================
   BS DETAILING — landing dorade (preko styles.css)
   ============================================================ */

:root {
  --viber: #7360F2;
  --whatsapp: #25D366;
}

::selection { background: rgba(212,175,94,0.35); color: var(--cream); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
img { max-width: 100%; display: block; }
section[id] { scroll-margin-top: 84px; }
.topbar .live { text-decoration: none; }

/* ======================= HERO SA FOTOGRAFIJOM ======================= */
.header-cta .btn { white-space: nowrap; padding-inline: 20px; }
.hero-photo {
  min-height: min(calc(100vh - 110px), 820px);
  padding-block: clamp(48px, 6vw, 84px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-gold);
}
.hero-photo .container { position: relative; z-index: 2; width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.96) 0%, rgba(10,10,12,0.86) 34%, rgba(10,10,12,0.35) 64%, rgba(10,10,12,0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    radial-gradient(60% 50% at 70% 40%, rgba(212,175,94,0.10), transparent 70%);
}
.hero-bg .scan {
  position: absolute; left: 0; right: 0; top: 0; z-index: 1;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(212,175,94,0.06) 60%, rgba(212,175,94,0.16));
  border-bottom: 1px solid rgba(212,175,94,0.35);
  animation: scan 7s var(--ease) infinite;
  pointer-events: none;
}
.hero-photo h1 { text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.hero-photo .lede { color: #b9bbbf; }
.hero-photo .hero-visual {
  background: transparent;
  border: 0;
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
}
.hero-photo .hero-visual .hv-tag { color: var(--cream); }
.hero-photo .hero-visual .hv-tag.tr { color: var(--gold); }
.hero-photo .spec-readout {
  position: relative;
  left: auto; right: auto; bottom: auto;
  background: rgba(10,10,12,0.66);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-color: var(--line-gold-mid);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8);
}

/* ======================= SISTEM: foto ======================= */
.photo-card {
  position: relative;
  margin: 34px 0 0;
  border: 1px solid var(--line-gold);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::before { z-index: 2; }
.photo-card .pf-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--cream); background: rgba(10,10,12,0.72);
  padding: 5px 9px; border: 1px solid var(--line-gold-mid);
}
.sp-photo { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-top: 1px solid var(--line); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 22px 14px;
  background: linear-gradient(0deg, rgba(10,10,12,0.9), transparent);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold);
}

/* ======================= USLUGE: slika uz svaku ======================= */
.svc { grid-template-columns: 110px 1.15fr 0.95fr; align-items: center; }
.svc-main .svc-spec { margin-top: 20px; max-width: 420px; }
.svc-media {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-gold);
}
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.svc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 50%, rgba(10,10,12,0.55));
  pointer-events: none;
}
.svc:hover .svc-media img { transform: scale(1.05); filter: none; }

/* ======================= PRIJE / POSLIJE ======================= */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.ba-block { gap: 16px; align-content: start; }
.ba { aspect-ratio: 4 / 5; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba .handle { border-radius: 50%; }
.ba-block h3 { font-size: clamp(20px, 2vw, 26px); }

.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.pair { margin: 0; border: 1px solid var(--line-gold); background: var(--panel); }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-gold-mid); }
.pair-imgs > div { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.pair-imgs img { width: 100%; height: 100%; object-fit: cover; }
.pair .ba-tag {
  position: absolute; top: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  background: rgba(10,10,12,0.78); border: 1px solid var(--line-gold-mid); padding: 4px 8px; color: var(--cream);
}
.pair .ba-tag.b { left: 10px; }
.pair .ba-tag.a { right: 10px; color: var(--gold); }
.pair figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 18px; }
.pair figcaption b { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 20px; }
.pair figcaption span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--gray-2); text-transform: uppercase; }
.ba-callouts.center { justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* ======================= GALERIJA ======================= */
.gcell { display: block; cursor: zoom-in; }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s var(--ease); filter: brightness(0.9); }
.gcell:hover img { transform: scale(1.05); filter: none; }

/* ======================= O MENI ======================= */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px,5vw,72px); align-items: center; }
.about-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 80px); line-height: 0.94;
  text-transform: uppercase; letter-spacing: -0.015em; margin: 20px 0 0;
}
.about-title em { font-style: normal; color: var(--gold); }
.about-grid .lede { color: var(--text); font-size: clamp(16px,1.4vw,19px); max-width: 52ch; margin: 22px 0 0; }
.about-grid .ph-copy p:not(.lede) { color: var(--gray-2); max-width: 58ch; margin: 16px 0 0; }
.portrait-frame { padding: 0; aspect-ratio: 4 / 5; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.portrait-frame::before { z-index: 2; inset: 10px; }
.about-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px,4vw,56px); margin-top: clamp(48px,6vw,88px); align-items: start; }
.about-media { display: grid; gap: 18px; }
.about-media .photo-card { margin: 0; }

.about-media { position: sticky; top: 100px; }

/* ======================= CTA SA FOTOGRAFIJOM ======================= */
.cta-photo { overflow: hidden; border-bottom: 1px solid var(--line-gold); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,0.94) 0%, rgba(10,10,12,0.78) 50%, rgba(10,10,12,0.9) 100%),
    radial-gradient(50% 80% at 50% 50%, rgba(212,175,94,0.08), transparent 70%);
}
.cta-photo .container { position: relative; z-index: 1; }
.cta-photo .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 8vw, 110px); }
.cta-photo .cta-inner h2 { max-width: 14ch; }
.cta-photo .cta-inner p { color: #b9bbbf; }

/* ======================= KONTAKT: tri kartice ======================= */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.ccard {
  --brand: var(--gold);
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(26px, 3vw, 38px);
  min-height: 250px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  border: 1px solid var(--line-gold);
  text-decoration: none; color: var(--text);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.ccard::after {
  content: "";
  position: absolute; inset: auto -30% -60% auto;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
  transition: transform .5s var(--ease);
}
.ccard:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 24px 50px -28px var(--brand); }
.ccard:hover::after { transform: scale(1.25); }
.ccard.viber { --brand: var(--viber); }
.ccard.wa { --brand: var(--whatsapp); }
.ccard-ico {
  width: 58px; height: 58px; border-radius: 17px;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.ccard.phone .ccard-ico { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: #161208; }
.ccard-ico svg { width: 30px; height: 30px; fill: currentColor; }
.ccard.phone .ccard-ico svg { width: 26px; height: 26px; }
.ccard-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray-2); }
.ccard b { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: 0.02em; color: var(--cream); }
.ccard-cta { margin-top: auto; padding-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.ccard.phone .ccard-cta { color: var(--gold); }

/* ======================= POSJETITE NAS ======================= */
.visit {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  scroll-margin-top: 90px;
}
.visit-info { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line-gold); }
.visit-info h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1; margin: -6px 0 0; letter-spacing: 0.01em;
}
.visit-addr { display: flex; gap: 16px; align-items: center; }
.visit-pin {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-gold-mid); color: var(--gold);
}
.visit-pin svg { width: 16px; height: 16px; fill: currentColor; }
.visit-addr b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: 0.02em; color: var(--cream); }
.visit-addr small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gray-2); text-transform: uppercase; }
.visit-status {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid var(--line-gold-mid); color: var(--cream);
}
.visit-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-3); }
.visit-status.open { border-color: rgba(37,211,102,0.45); }
.visit-status.open i { background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37,211,102,0.6); animation: dockPulse 2.4s infinite; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line); }
.hours th { color: var(--gray-2); }
.hours td { text-align: right; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--text); }
.hours td.closed { color: var(--gray-3); }
.hours tr.today th, .hours tr.today td { color: var(--gold-light); }
.hours tr.today th::before { content: "▸ "; color: var(--gold); }
.visit-rating {
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  text-decoration: none; color: var(--gray-2); font-size: 14px;
}
.visit-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.visit-rating b { color: var(--cream); font-family: var(--font-display); font-size: 20px; }
.visit-rating:hover span:last-child { color: var(--gold-light); }
.visit-actions { display: grid; gap: 12px; margin-top: auto; }
.visit-actions .btn { width: 100%; }
.visit-map { position: relative; min-height: 460px; overflow: hidden; background: #0e0e10; }
.map-canvas { position: absolute; inset: 0; z-index: 0; background: #0e0e10; }
.map-canvas .leaflet-tile-pane { filter: grayscale(1) brightness(0.38) contrast(1.45) sepia(0.35); }
.visit-map::before { z-index: 500; inset: 12px; }
.visit-map::after {
  content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(10,10,12,0.7));
}
.leaflet-container { font-family: var(--font-body); background: #0e0e10; }
.leaflet-control-zoom { border: 1px solid var(--line-gold-mid) !important; border-radius: 0 !important; margin: 20px 0 0 20px !important; }
.leaflet-control-zoom a {
  background: rgba(10,10,12,0.88) !important; color: var(--gold) !important;
  border-bottom-color: var(--line-gold) !important; border-radius: 0 !important;
  width: 34px !important; height: 34px !important; line-height: 34px !important; font-weight: 400;
}
.leaflet-control-zoom a:hover { background: var(--gold) !important; color: #161208 !important; }
.leaflet-control-attribution {
  background: rgba(10,10,12,0.7) !important; color: var(--gray-3) !important;
  font-size: 9px !important; font-family: var(--font-mono);
}
.leaflet-control-attribution a { color: var(--gray-2) !important; }
.bs-marker { position: relative; }
.bs-pin {
  position: absolute; left: -7px; top: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid #161208;
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px 2px rgba(212,175,94,0.7);
}
.bs-pin::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 1px solid var(--gold); animation: pinPulse 2.4s var(--ease) infinite;
}
@keyframes pinPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.bs-label {
  position: absolute; left: 16px; top: -15px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: rgba(10,10,12,0.88); border: 1px solid var(--line-gold-mid);
  padding: 6px 10px; line-height: 1.3;
}
.bs-label b { display: block; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.08em; color: var(--gold); font-weight: 600; }
.map-tag { z-index: 500; }
@media (max-width: 960px) {
  .visit { grid-template-columns: 1fr; }
  .visit-info { border-right: 0; border-bottom: 1px solid var(--line-gold); }
  .visit-map { min-height: 340px; }
}
@media (max-width: 560px) {
  .visit-actions .btn { flex: 1 1 100%; }
}

/* ======================= BRZI KONTAKT (desna strana) ======================= */
.contact-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.dock-num {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  padding: 12px 0;
  margin-bottom: 4px;
  border-left: 1px solid var(--line-gold-mid);
  padding-left: 6px;
}
.dock-btn {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.dock-btn svg { width: 28px; height: 28px; fill: currentColor; }
.dock-btn.phone { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); color: #161208; }
.dock-btn.phone svg { width: 24px; height: 24px; }
.dock-btn.viber { background: var(--viber); }
.dock-btn.wa { background: var(--whatsapp); }
.dock-btn:hover { transform: translateX(-4px) scale(1.04); }
.dock-btn.wa::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: dockPulse 2.6s infinite;
}
@keyframes dockPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.dock-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(10,10,12,0.92);
  border: 1px solid var(--line-gold-mid);
  padding: 7px 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dock-btn:hover .dock-label, .dock-btn:focus-visible .dock-label { opacity: 1; transform: translate(0, -50%); }

/* ======================= LIGHTBOX ======================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,6,8,0.94);
  display: grid; place-items: center;
  padding: 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border: 1px solid var(--line-gold-mid); }
.lb-close {
  position: absolute; top: 18px; right: 22px;
  width: 48px; height: 48px;
  background: transparent; color: var(--cream);
  border: 1px solid var(--line-gold-mid);
  font-size: 28px; line-height: 1; cursor: pointer;
}

/* ======================= RESPONSIVE ======================= */
.hero-photo h1 { font-size: clamp(46px, 7.4vw, 104px); }
@media (max-width: 1240px) {
  .nav a { padding: 9px 9px; letter-spacing: 0.1em; }
  .nav a::after { left: 9px; right: 9px; }
  .header-cta .btn { display: none; }
}
@media (max-width: 1080px) {
  .hero-photo .hero-visual { min-height: 0; max-width: 520px; }
  .svc { grid-template-columns: 90px 1fr; }
  .svc-media { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .about-grid, .about-split { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 460px; }
}
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pair-grid { grid-template-columns: 1fr; }
  .hero-bg img { object-position: 70% 50%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.82) 45%, var(--bg) 100%);
  }
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .about-media { position: static; }
  .cta-photo .cta-inner { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .gal-grid { grid-auto-rows: 160px; gap: 8px; }
  .gcell.w2, .gcell.w3 { grid-column: span 1; }
  .gcell.w4 { grid-column: span 2; }
  .gcell.h2 { grid-row: span 1; }
  .gcell.w2.h2 { grid-row: span 2; }
  .gcell:last-child { grid-column: span 2; grid-row: span 1; }
  .contact-dock { top: auto; bottom: 16px; right: 12px; transform: none; gap: 8px; }
  .dock-num { display: none; }
  .dock-btn { width: 50px; height: 50px; border-radius: 15px; }
  .dock-btn svg { width: 26px; height: 26px; }
  .dock-label { display: none; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .svc { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; }
  .hero-photo .hero-visual { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ccard { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-bg .scan, .dock-btn.wa::after { animation: none; }
  .hero-bg img { transform: none; }
}
