/* GRBO — SVIJETLA VERZIJA (aktivira se sa html[data-theme=light]) · Design created by PTN CREATIVE */

/* ---------- dugme za temu (vrijedi za obje teme) ---------- */
.theme-btn{position:relative;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;cursor:pointer;display:grid;place-items:center;margin-left:18px;flex:none;overflow:hidden;transition:border-color .3s,color .3s,background .3s}
.theme-btn:hover{border-color:var(--accent);color:var(--accent)}
.theme-btn svg{position:absolute;width:19px;height:19px;transition:transform .5s cubic-bezier(.5,1.6,.4,1),opacity .3s}
.theme-btn .sun{transform:translateY(30px) rotate(-90deg);opacity:0}
.theme-btn .moon{transform:none;opacity:1}
html[data-theme=light] .theme-btn .sun{transform:none;opacity:1}
html[data-theme=light] .theme-btn .moon{transform:translateY(-30px) rotate(90deg);opacity:0}
.header-tools{display:flex;align-items:center}
.logo .lg-light{display:none}
html.theme-anim,html.theme-anim *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,box-shadow .45s ease!important}
@media (max-width:1279px){.theme-btn{margin-left:0;margin-right:10px;position:relative;z-index:60}}

/* ---------- paleta ---------- */
html[data-theme=light]{
  --bg:#f7f4ef; --bg2:#eee8df; --card:#ffffff; --card2:#f3eee7;
  --line:rgba(30,25,20,.1); --text:#5c5751; --white:#1d1b19;
  color-scheme:light;
}
/* sekcije preko fotografija ostaju tamne radi čitljivosti */
html[data-theme=light] :is(.hero,.page-hero,.band,.cta,.p-card,.g-item,.lightbox,.vz-stage,.media-card){--white:#fff;--text:#c4c4c4;--line:rgba(255,255,255,.12)}
html[data-theme=light] :is(.hero,.page-hero,.band,.cta) .btn.ghost{border-color:rgba(255,255,255,.35)}

/* ---------- zaglavlje ---------- */
html[data-theme=light] .site-header:not(.fixed){--line:rgba(255,255,255,.12)}
html[data-theme=light] .site-header.fixed{background:rgba(255,255,255,.95);box-shadow:0 10px 30px rgba(40,30,20,.08)}
html[data-theme=light] .site-header.fixed .main-nav>ul>li>a,
html[data-theme=light] .site-header.fixed .burger,
html[data-theme=light] .site-header.fixed .logo span{color:#1d1b19}
html[data-theme=light] .site-header.fixed .main-nav li.active>a,
html[data-theme=light] .site-header.fixed .main-nav li>a:hover{color:var(--accent)}
html[data-theme=light] .site-header.fixed .theme-btn,
html[data-theme=light] .site-header.fixed .burger{border-color:rgba(0,0,0,.15);color:#1d1b19}
html[data-theme=light] .site-header.fixed .logo .lg-dark{display:none}
html[data-theme=light] .site-header.fixed .logo .lg-light{display:block}
html[data-theme=light] .main-nav .sub{box-shadow:0 20px 40px rgba(40,30,20,.12)}
html[data-theme=light] .main-nav .sub a{color:#555}
html[data-theme=light] .main-nav .sub a:hover{color:var(--accent)}
@media (max-width:1279px){
  html[data-theme=light] .main-nav{background:#fff}
  html[data-theme=light] .main-nav>ul>li>a{color:#1d1b19;border-color:rgba(0,0,0,.08)}
  html[data-theme=light] .nav-contact a{color:#555}
  html[data-theme=light] .nav-open .burger{color:#1d1b19;border-color:rgba(0,0,0,.15)}
}

/* ---------- elementi ---------- */
html[data-theme=light] .btn.ghost{border-color:rgba(0,0,0,.22)}
html[data-theme=light] .divider{background:rgba(0,0,0,.2)}
html[data-theme=light] .muted{color:#8a847d}
html[data-theme=light] :is(.s-card,.t-card,.i-card,.video-card,.empty,.side-box,.vz-pane){box-shadow:0 12px 34px rgba(60,40,20,.07)}
html[data-theme=light] .s-card:hover{background:#fffdf9}
html[data-theme=light] .stat .num{color:#1d1b19}
html[data-theme=light] .t-card .av{background:#e9e2d8;color:#1d1b19}
html[data-theme=light] :is(.filters a,.filters button){color:#1d1b19}
html[data-theme=light] :is(.filters .on,.filters a:hover,.filters button:hover){color:var(--accent)}
html[data-theme=light] .toolbar select{color:#333;background:#fff}
html[data-theme=light] .pager a{color:#1d1b19;background:#fff}
html[data-theme=light] .pager a.active,html[data-theme=light] .pager a:hover{color:#111;background:var(--accent)}
html[data-theme=light] .check-list li{color:var(--text)}
html[data-theme=light] .side-box li b{color:#7a746d}
html[data-theme=light] .side-box li span{color:#222}
html[data-theme=light] .rich{color:var(--text)}
html[data-theme=light] .rich blockquote{color:#444}
html[data-theme=light] .i-card .big{color:#000}
html[data-theme=light] :is(.i-card a,.i-card span){color:#666}
html[data-theme=light] .i-card.hl :is(a,span,h3){color:#1a1a1a}
html[data-theme=light] :is(.form input,.form textarea,.form select){color:#222;border-color:rgba(0,0,0,.09)}
html[data-theme=light] :is(.form input,.form textarea)::placeholder{color:#9a948d}
html[data-theme=light] .map iframe{filter:grayscale(.4) contrast(.95)}
html[data-theme=light] .alert.ok{color:#3d6b34}
html[data-theme=light] .alert.err{color:#a23b3b}
html[data-theme=light] .subscribe input{color:#222}
html[data-theme=light] .f-bottom a{color:#222}
html[data-theme=light] .site-footer .logo .lg-dark{display:none}
html[data-theme=light] .site-footer .logo .lg-light{display:block}
html[data-theme=light] .to-top{border-color:rgba(0,0,0,.2);color:#222;background:rgba(255,255,255,.9)}
html[data-theme=light] .to-top:hover{color:#111;background:var(--accent)}

/* ---------- 3D vizualizacija ---------- */
html[data-theme=light] .vz-side{background:var(--card2)}
html[data-theme=light] .vz-tabs{background:#fff}
html[data-theme=light] .vz-tabs button{color:#555}
html[data-theme=light] .vz-tabs button.on{color:#141414}
html[data-theme=light] .vz-side .chip{background:#fff;border-color:#ddd5ca;color:#444}
html[data-theme=light] .vz-side .chip:hover{border-color:#b9b0a4;color:#111}
html[data-theme=light] .vz-side .chip.on{color:#8a6a43;border-color:var(--accent);background:rgba(197,164,126,.12)}
html[data-theme=light] .vz-note{color:#7a746d}

/* ---------- AI asistent ---------- */
html[data-theme=light] .aic-box{background:#fff;border-color:rgba(0,0,0,.08);box-shadow:0 30px 70px rgba(40,30,20,.18)}
html[data-theme=light] .aic-head{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 20%,#fff),#fff 70%);border-color:rgba(0,0,0,.06)}
html[data-theme=light] .aic-head b{color:#1d1b19}
html[data-theme=light] .aic-head small{color:#777}
html[data-theme=light] :is(.aic-reset,.aic-close){color:#777}
html[data-theme=light] :is(.aic-reset,.aic-close):hover{background:rgba(0,0,0,.05);color:#111}
html[data-theme=light] .aic-ava{background:#1d1b19}
html[data-theme=light] .aic-msg{color:#333}
html[data-theme=light] .aic-msg.bot{background:#f3eee7}
html[data-theme=light] .aic-msg.bot b{color:#111}
html[data-theme=light] .aic-msg a{color:#8a6a43}
html[data-theme=light] .aic-msg.me{color:#161616}
html[data-theme=light] .aic-form{background:#f7f4ef;border-color:#e3dcd2}
html[data-theme=light] .aic-form textarea{color:#222}
html[data-theme=light] .aic-sugg button{color:#8a6a43}
html[data-theme=light] .aic-sugg button:hover{color:#141414}
html[data-theme=light] .aic-foot{color:#999}
html[data-theme=light] .aic-fab-label{background:#fff;color:#222;border-color:rgba(0,0,0,.08)}
