/* Header (zalepljen na vrhu sve vreme), WhatsApp i zakazivanje poziva. Isti fajl na svim landing sajtovima. */
html { scroll-padding-top: 84px; }
section[id] { scroll-margin-top: 84px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.nav.scrolled { background: rgba(6, 6, 8, .78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-color: rgba(255, 255, 255, .07); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 72px; display: flex; align-items: center; gap: 2rem; transition: height .35s ease; }
.nav.scrolled .nav-in { height: 64px; }
.nav-logo { flex: none; display: flex; align-items: center; gap: 0; font-weight: 900; letter-spacing: .3px; font-size: 1.1rem; text-decoration: none; white-space: nowrap; }
.nav-logo img { width: 30px; height: 30px; margin-right: 10px; border-radius: 8px; }
.nav-logo span { color: var(--acc-l); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; font-size: .92rem; font-weight: 500; color: #a0a0a0; }
.nav-links a { position: relative; padding: .4rem 0; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); transform: translateX(-50%) scale(0); transition: transform .3s var(--spring); }
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a.on::after { transform: translateX(-50%) scale(1); }
.nav-cta { flex: none; padding: .7rem 1.4rem !important; font-size: .8rem !important; letter-spacing: 1.5px !important; animation: none !important; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important; }
.nav-menu-cta { display: none; }
.nav-burger { display: none; flex: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hero { padding-top: 130px; }

.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .3s var(--spring); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

.book { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.book-toggle { width: 60px; height: 60px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, #9d5cff, var(--acc) 50%, var(--acc-d)); animation: bookPulse 2.4s ease-out infinite; }
.book-toggle svg { width: 26px; height: 26px; }
@keyframes bookPulse { 0% { box-shadow: 0 10px 30px rgba(var(--acc-rgb), .5), 0 0 0 0 rgba(var(--acc-rgb), .6); } 70%, 100% { box-shadow: 0 10px 30px rgba(var(--acc-rgb), .5), 0 0 0 22px rgba(var(--acc-rgb), 0); } }
.book-panel { position: absolute; right: 0; bottom: 76px; width: 310px; padding: 20px; border-radius: 20px; background: rgba(16, 16, 16, .96); border: 1px solid rgba(var(--acc-rgb), .35); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(var(--acc-rgb), .15); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: opacity .3s, transform .4s var(--spring); }
.book.open .book-panel { opacity: 1; transform: none; pointer-events: auto; }
.book-head { display: flex; align-items: center; gap: 12px; }
.book-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--acc); }
.book-head strong { display: block; }
.book-head span { font-size: .8rem; color: #9a9a9a; }
.book-x { margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; color: #aaa; background: rgba(255, 255, 255, .06); }
.book-title { margin: 1rem 0 .3rem; font-weight: 800; font-size: 1.1rem; }
.book-desc { margin: 0 0 .8rem; font-size: .9rem; line-height: 1.5; color: #b0b0b0; }
.book-timer { margin: 0 0 1rem; font-size: .82rem; color: #9a9a9a; }
.book-timer b { color: var(--acc-l); font-variant-numeric: tabular-nums; }

/* Uzi kompjuter / tablet: manje razmaka izmedju linkova */
@media (max-width: 1100px) {
  .nav-in { gap: 1.2rem; }
  .nav-links { gap: 1.2rem; font-size: .88rem; }
}

/* Telefon i tablet: logo, malo dugme i burger; meni preko celog ekrana */
@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  section[id] { scroll-margin-top: 72px; }
  .nav-in, .nav.scrolled .nav-in { height: 64px; padding: 0 1rem; gap: .6rem; }
  .nav-logo { font-size: 1rem; margin-right: auto; }
  .nav-logo img { width: 26px; height: 26px; margin-right: 8px; }
  .nav-cta { padding: .55rem .9rem !important; font-size: .7rem !important; letter-spacing: 1px !important; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)) !important; }
  .nav-cta .btn-icon { display: none; }
  .nav-burger { display: block; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px); margin: 0; padding: 1rem 1.25rem 2rem; flex-direction: column; align-items: stretch; gap: 0; background: rgba(6, 6, 8, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease, transform .3s var(--spring); overflow-y: auto; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: rgba(6, 6, 8, .97); border-color: rgba(255, 255, 255, .07); }
  .nav-links a { padding: 1.15rem .25rem; font-size: 1.3rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .07); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease, color .2s; }
  .nav.open .nav-links a { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: .04s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: .08s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: .12s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: .16s; }
  .nav-links a::after { left: auto; right: .25rem; top: 50%; bottom: auto; width: 7px; height: 7px; transform: translateY(-50%) scale(0); }
  .nav-links a.on { color: var(--acc-l); }
  .nav-links a.on::after { transform: translateY(-50%) scale(1); }
  .nav-menu-cta { display: flex; margin-top: 1.6rem; width: 100%; border-bottom: 0 !important; font-size: .95rem !important; color: #fff !important; }
  .nav-menu-cta.btn-primary { padding: 1.1rem !important; }
  body.nav-lock { overflow: hidden; }
  .hero { padding-top: 96px; }
  .wa-float { width: 50px; height: 50px; left: 14px; bottom: 14px; }
  .book { right: 14px; bottom: 14px; }
  .book-panel { width: min(310px, calc(100vw - 28px)); }
}
@media (max-width: 360px) {
  .nav-logo { font-size: .9rem; }
  .nav-cta { display: none !important; }
}
