@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Archivo:wght@400;500;700&display=swap");
/* Layout: sticky slim nav, hero split (DJ NEBA badge logo + live equalizer deck), stacked sections on a 1100px column; admin drawer slides in from the right for the owner. Dark club look, single theme by choice. */
:root {
  --bg: #05070d;
  --bg-2: #0b1020;
  --bg-3: #121a30;
  --line: #1b2540;
  --fg: #f4f7ff;
  --mute: #8d99b8;
  --accent: #1f6bff;
  --accent-text: #3ef0c8;
  --accent-ink: #ffffff;
  --accent-2: #6aa5ff;
  --ok: #4fd69c;
  --warn: #ffc24d;
  --danger: #ff5c7a;
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --grad: linear-gradient(135deg, #1f6bff 0%, #3ef0c8 100%);
  --on-grad: #04101a;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.6; padding-inline: 16px; padding-block: 0; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1100px; margin-inline: auto; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; margin-inline: -16px; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* logo: the DJ NEBA logotype (assets/logo.svg) */
.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; height: 42px; width: auto; }
.hero-logo { display: block; width: min(600px, 100%); height: auto; margin: 0 0 26px; filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 45%, transparent)); }
.portrait .plogo { width: 78%; max-width: 100%; height: auto; display: block; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li a { font-size: 14px; color: var(--mute); transition: color .2s; }
.nav li a:hover { color: var(--fg); }
.nav .cta { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 56px 48px; }
.hero > * { min-width: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 18px; }
h1.hero-title { margin: 0; line-height: 0; }
.lead { font-size: 18px; color: var(--mute); max-width: 46ch; margin: 0 0 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: none; cursor: pointer; transition: transform .15s, border-color .2s, background .2s; }
.btn:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #e84a3b; }

.deck { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.deck-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--mute); margin-bottom: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
canvas#eq { display: block; width: 100%; height: 190px; max-width: 100%; }
.deck-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.deck-stats div { font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.deck-stats b { display: block; font-size: 22px; color: var(--fg); letter-spacing: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-block: 36px; } }

/* sections */
section { padding-block: 56px; border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head > div { min-width: 0; }
h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 4.5vw, 42px); line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
.sec-head p { margin: 10px 0 0; color: var(--mute); max-width: 52ch; }
.link-arrow { font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.empty { color: var(--mute); border: 1px dashed var(--line); border-radius: 14px; padding: 22px; margin: 0; }
.ex { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); padding: 1px 6px; border-radius: 4px; vertical-align: 2px; margin-left: 6px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--mute); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* video cards */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.vcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.thumb { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.thumb svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; opacity: .5; }
.play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: rgba(11, 9, 18, .72); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); transition: transform .2s, background .2s; }
.vcard:hover .play { transform: scale(1.1); background: var(--accent); }
.play::after { content: ""; border-left: 15px solid #fff; border-block: 9px solid transparent; margin-left: 4px; }
.dur, .kind { position: absolute; top: 10px; font-family: var(--f-mono); font-size: 11px; background: rgba(11, 9, 18, .8); padding: 3px 8px; border-radius: 6px; color: #fff; }
.dur { right: 10px; font-variant-numeric: tabular-nums; }
.kind { left: 10px; text-transform: uppercase; letter-spacing: .08em; }
.vcard h3 { margin: 0; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.meta { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }

/* songs */
.songs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.songs li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.songs li > * { min-width: 0; }
.songs .n { font-family: var(--f-mono); color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.songs .t { font-weight: 500; overflow-wrap: anywhere; }
.songs .t small { display: block; color: var(--mute); font-size: 13px; font-weight: 400; }
.songs .y { font-family: var(--f-mono); font-size: 13px; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.songs .ln { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.pill { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; transition: border-color .2s; }
.pill:hover { border-color: var(--accent); }
@media (max-width: 600px) { .songs li { grid-template-columns: 28px 1fr auto; } .songs .ln { grid-column: 2 / -1; justify-content: start; } }

/* events */
.events { display: grid; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event > * { min-width: 0; }
.date { font-family: var(--f-display); font-weight: 700; line-height: 1; }
.date b { display: block; font-size: 34px; font-variant-numeric: tabular-nums; }
.date span { font-family: var(--f-mono); font-size: 12px; color: var(--accent-text); letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.event h3 { margin: 0 0 2px; font-size: 18px; overflow-wrap: anywhere; }
.event p { margin: 0; color: var(--mute); font-size: 14px; }
.tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; color: var(--mute); white-space: nowrap; }
.tag.hot { border-color: var(--accent-text); color: var(--accent-text); }
@media (max-width: 560px) { .event { grid-template-columns: 70px 1fr; } .event .tag { grid-column: 2; justify-self: start; } .date b { font-size: 28px; } }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.about > * { min-width: 0; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(circle at 30% 25%, rgba(255,155,138,.35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(214,58,44,.6), transparent 50%), var(--bg-2); display: grid; place-items: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about p { color: var(--mute); font-size: 17px; margin: 0 0 16px; max-width: 58ch; }
.about p.first { color: var(--fg); font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-family: var(--f-mono); font-size: 12px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } .portrait { aspect-ratio: 16 / 10; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact > * { min-width: 0; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.panel h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: 20px; }
.panel p { margin: 0 0 18px; color: var(--mute); font-size: 15px; }
.copyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--bg); }
.copyrow code { font-family: var(--f-mono); font-size: 14px; overflow-wrap: anywhere; min-width: 0; user-select: all; }
.copyrow button, .sbtn { flex: none; font-size: 13px; font-weight: 700; color: var(--accent-text); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.copyrow button:hover, .sbtn:hover { border-color: var(--accent); }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socials a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 500; transition: border-color .2s, transform .15s; }
.socials a:hover { border-color: var(--accent); transform: translateY(-2px); }
.socials a i { font-style: normal; color: var(--accent-text); }
.socials a.yt { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.socials a.yt i { color: var(--accent-ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 13px; color: var(--mute); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* admin */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--accent-2); background: var(--bg-3); color: var(--fg); font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.fab i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(480px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.dhead { padding: 16px 18px 0; border-bottom: 1px solid var(--line); }
.dtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dtop h2 { font-size: 20px; }
.dtop small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; line-height: 1; }
.tabs { display: flex; gap: 2px; overflow-x: auto; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
.tabs button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 10px 12px; color: var(--mute); font-weight: 700; font-size: 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.dbody { flex: 1; overflow-y: auto; padding: 20px 18px 28px; display: grid; gap: 22px; align-content: start; }
.dbody > * { min-width: 0; }
.dbody h3 { margin: 0; font-size: 15px; }
.hint { margin: 0; color: var(--mute); font-size: 14px; }
.box { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--bg); display: grid; gap: 12px; }
.box.big { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.boxtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); white-space: nowrap; }
.status.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.status.bad { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.aform { display: grid; gap: 12px; }
.fld { display: grid; gap: 5px; min-width: 0; }
.fld label { font-size: 13px; font-weight: 700; color: var(--mute); }
.fld textarea { resize: vertical; line-height: 1.5; }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent-2); outline: none; }
.fld .err { color: var(--danger); font-size: 13px; }
.fld .ok-note { color: var(--ok); font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.abtn { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: none; font-weight: 700; font-size: 14px; cursor: pointer; }
.abtn.main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.abtn:disabled { opacity: .5; cursor: default; }
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alist li { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.alist li > div { min-width: 0; }
.alist b { display: block; font-weight: 500; overflow-wrap: anywhere; }
.alist .meta { overflow-wrap: anywhere; }
.alist .ctl { display: flex; gap: 4px; }
.ib { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--mute); }
.ib:hover { color: var(--fg); border-color: var(--accent-2); }
.ib.danger { color: var(--danger); border-color: var(--danger); }
.ib:disabled { opacity: .35; cursor: default; }
.photo-prev { width: 96px; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; color: var(--mute); }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.dfoot { border-top: 1px solid var(--line); padding: 14px 18px; display: grid; gap: 10px; background: var(--bg-3); }
.dfoot p { margin: 0; font-size: 14px; color: var(--mute); }
.dfoot p.warnline { color: var(--warn); }
.dfoot p.errline { color: var(--danger); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 700; cursor: pointer; font-size: 14px; }
@media (max-width: 420px) { .two { grid-template-columns: 1fr; } }

/* Russo One has a single heavy weight: never let the browser fake bold on it */
h2, .date, .date b, .panel h3, .photo-prev { font-weight: 400; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .live i { animation: none; } * { transition: none !important; } }

/* ---------- self-hosted extras ---------- */
.thumb.real { background-size: cover !important; background-position: center !important; }
.thumb.real::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,18,.15), rgba(11,9,18,.55)); }
.vcard { cursor: pointer; }
.player { width: min(960px, calc(100% - 32px)); max-width: none; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); color: var(--fg); }
.player::backdrop { background: rgba(5, 4, 9, .82); backdrop-filter: blur(4px); }
.player-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.player-top strong { min-width: 0; overflow-wrap: anywhere; }
.player-frame { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 12px; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* admin extras */
.dtop .tools { display: flex; gap: 8px; align-items: center; }
.dtop .tools a { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.imp { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow-y: auto; }
.imp li label { display: grid; grid-template-columns: 20px 72px 1fr; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); cursor: pointer; }
.imp li label > * { min-width: 0; }
.imp img { width: 72px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; }
.imp b { display: block; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.imp .meta { font-size: 11px; }
.imp li.done label { opacity: .5; cursor: default; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding-block: 40px; }
.login form { width: min(380px, 100%); display: grid; gap: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.login h1 { margin: 0; line-height: 0; }
.login h1 img { width: 220px; max-width: 100%; height: auto; display: block; }
.login p { margin: 0; color: var(--mute); font-size: 14px; }
.login .err { color: var(--danger); }
.login code { font-family: var(--f-mono); font-size: 13px; color: var(--fg); }

/* ---------- kalendar termina ---------- */
.booking { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.booking > * { min-width: 0; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.cal { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-head h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 22px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; font-size: 16px; }
.cal-nav button:hover:not(:disabled) { border-color: var(--accent-text); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: center; padding-bottom: 4px; }
.day { position: relative; min-height: 50px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; cursor: pointer; transition: border-color .15s, background .15s; }
.day small { font-family: var(--f-mono); font-size: 9px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); line-height: 1; }
.day.free small { color: var(--ok); }
.day.free:hover { border-color: var(--ok); }
.day.busy { background: repeating-linear-gradient(135deg, var(--bg-3) 0 6px, var(--bg) 6px 12px); color: var(--mute); cursor: not-allowed; }
.day.busy small { color: var(--accent-text); }
.day.past, .day.out { opacity: .3; cursor: default; }
.day.blank { visibility: hidden; }
.day.today { outline: 1px dashed var(--mute); outline-offset: 2px; }
.day.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.day.sel small { color: #fff; }
.day .dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-size: 13px; color: var(--mute); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--bg); }
.cal-legend i.lf { border-color: var(--ok); }
.cal-legend i.lb { background: repeating-linear-gradient(135deg, var(--bg-3) 0 3px, var(--bg) 3px 6px); }
.cal-legend i.ls { background: var(--accent); border-color: var(--accent); }
.cal-legend i.lr { background: var(--warn); border-radius: 50%; border: 0; width: 9px; height: 9px; }
@media (max-width: 480px) { .cal { padding: 14px; } .cal-grid { gap: 4px; } .day { min-height: 44px; font-size: 14px; } .day small { display: none; } }
.bform { display: grid; gap: 14px; }
.bform h3 { margin: 0; }
.bform .bdate { margin: 0; font-family: var(--f-mono); font-size: 13px; color: var(--mute); }
.bform .bdate b { color: var(--fg); font-family: var(--f-body); font-size: 17px; display: block; }
.bform .btn { justify-self: start; }
.bform .btn:disabled { opacity: .5; cursor: default; transform: none; }
.bnote { margin: 0; font-size: 14px; color: var(--mute); }
.bnote.ok { color: var(--ok); }
.bnote.bad { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* admin: zahtevi */
.req { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req li { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 12px 14px; display: grid; gap: 8px; }
.req li.st-novo { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.req .rtop { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.req .rtop > div { min-width: 0; }
.req b { display: block; overflow-wrap: anywhere; }
.req .meta { overflow-wrap: anywhere; }
.req p { margin: 0; font-size: 14px; color: var(--mute); overflow-wrap: anywhere; white-space: pre-line; }
.req .rcontact { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.req .rcontact a { color: var(--accent-text); font-weight: 700; }
.status.new { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
.status.no { color: var(--mute); }
.rfilter { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-cal { padding: 12px; border-radius: 14px; }
.admin-cal .day.busy { cursor: pointer; }
.admin-cal .day.busy:disabled { cursor: default; }
.admin-cal .day { min-height: 46px; }
.admin-cal .day small { font-size: 8px; }
.drawer { width: min(520px, 100%); }


/* =====================================================================
   Izgled sajta (v5): fotografija, krupni naslovi, pločice, mreža linkova.
   Boje se menjaju samo u :root na vrhu (--accent, --accent-text, --grad).
   ===================================================================== */

/* zaglavlje */
.nav .wrap { gap: 20px; }
.nav li a { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.mini-soc { display: flex; gap: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.mini-soc a { color: var(--mute); transition: color .2s; }
.mini-soc a:hover { color: var(--accent-text); }
.nav .cta { background: var(--grad); color: var(--on-grad); border-radius: 4px; font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.burger { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: none; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--fg); transition: transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1000px) { .mini-soc { display: none; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
  .nav.open nav { display: block; }
  .nav.open ul { display: flex; flex-direction: column; gap: 0; }
  .nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 24px; color: var(--fg); }
}

/* početna */
.hero-logo { filter: drop-shadow(0 0 30px rgba(31, 107, 255, .55)); width: min(560px, 100%); }
.hero { position: relative; display: flex; align-items: flex-end; min-height: 640px; padding-block: 48px 40px; isolation: isolate; }
.hero-photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(54%, 620px); z-index: -1;
  background: url("neba.jpg") 50% 10% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36%), linear-gradient(to left, transparent 0, #000 8%), linear-gradient(to top, transparent 0, #000 10%);
  -webkit-mask-composite: source-in, source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 36%), linear-gradient(to left, transparent 0, #000 8%), linear-gradient(to top, transparent 0, #000 10%);
  mask-composite: intersect;
}
.hero-copy { width: 100%; min-width: 0; }
.lead { max-width: 40ch; }
.btn { border-radius: 4px; }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.btn.primary:hover { background: var(--grad); filter: brightness(1.1); }

/* pločice */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin-bottom: 8px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 112px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg-2); transition: transform .18s, border-color .2s; }
.tile b { font-family: var(--f-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: .05em; text-transform: uppercase; }
.tile small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; gap: 8px; }
.tile small i { font-style: normal; color: var(--accent-text); }
.tile:hover { transform: translateY(-3px); border-color: var(--accent-text); }
.tile.hot { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.tile.hot small, .tile.hot small i { color: var(--on-grad); }
.tile[hidden] { display: none; }

/* traka Sada */
.now { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-top: 32px; }
.now[hidden] { display: none; }
.now-item { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-left: 1px solid var(--line); min-width: 0; transition: background .2s; }
.now-item:first-child { border-left: 0; padding-left: 0; }
.now-item:hover { background: var(--bg-2); }
.now-item small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.now-item span { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
@media (max-width: 720px) { .now { grid-template-columns: 1fr; } .now-item { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; } .now-item:first-child { border-top: 0; } }

/* sekcije */
section { padding-block: 80px; }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px; }
main h2 { font-weight: 900; font-size: clamp(44px, 8vw, 92px); line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.sec-head { margin-bottom: 32px; }
.sec-head p:not(.label) { margin: 14px 0 0; }
.link-arrow, .more { color: var(--accent-text); }
.thumb, .cal, .panel, .portrait, .copyrow, .player, .box, .empty, .day, .cal-nav button, .copyrow button, .fld input, .fld select, .fld textarea, .pill { border-radius: 4px; }
.filters button { border-radius: 4px; }

/* spotovi */
.vcard h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
.vcard:hover .play { background: var(--accent); }

/* pesme */
.songs .t { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.songs .t small { font-family: var(--f-body); font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; margin-top: 2px; }
.songs li { padding-block: 20px; }

/* nastupi */
.date { font-weight: 900; }
.date b { font-weight: 900; font-size: 56px; line-height: .9; }
.event h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.tag { border-radius: 4px; }
.tag.hot { border-color: var(--accent-text); }
@media (min-width: 861px) { .event { grid-template-columns: 130px 1fr auto; } }

/* kalendar i forma */
.cal-head h3 { font-weight: 800; font-size: 26px; letter-spacing: .04em; }
.bform h3 { font-weight: 800; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; }
.day.sel { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.day.sel small { color: var(--on-grad); }
.panel h3 { font-weight: 800; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }

/* o meni */
.about { align-items: center; gap: 56px; }
.about p.first { font-size: 22px; line-height: 1.45; }
.portrait img { object-position: 50% 25%; }
.chips span { border-radius: 4px; }

/* poveži se */
#socialPanel { margin-bottom: 10px; }
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.socials a { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 150px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s, transform .18s; min-width: 0; }
.socials a:hover { border-color: var(--accent-text); transform: translateY(-3px); }
.socials a i { align-self: flex-end; font-style: normal; font-size: 22px; color: var(--accent-text); }
.socials a.yt { grid-column: span 2; background: var(--grad); border-color: transparent; color: var(--on-grad); }
.socials a.yt i { color: var(--on-grad); }
.contact { gap: 10px; }

/* podnožje */
footer { padding-block: 40px 56px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.fnav { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.fnav a:hover, footer small a:hover { color: var(--accent-text); }
footer small { flex-basis: 100%; font-size: 13px; color: var(--mute); }

/* telefon */
@media (max-width: 860px) {
  section { padding-block: 56px; }
  .hero { display: block; min-height: 0; padding-block: 0 32px; }
  .hero-photo { position: relative; display: block; width: calc(100% + 32px); margin-inline: -16px; height: min(120vw, 560px); background-position: 50% 8%;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 45%); mask-image: linear-gradient(to top, transparent 0, #000 45%);
    -webkit-mask-composite: source-over; mask-composite: add; }
  .hero-copy { margin-top: -90px; position: relative; }
  .tiles { grid-template-columns: repeat(2, 1fr); margin-top: -8px; }
  .about { gap: 28px; }
  .event { grid-template-columns: 1fr; gap: 6px; }
  .event .tag { justify-self: start; margin-top: 8px; }
  .date b { font-size: 48px; }
  .socials { grid-template-columns: 1fr 1fr; }
  .socials a { min-height: 120px; font-size: 28px; gap: 24px; }
  .socials a.yt { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .tile { min-height: 96px; padding: 12px 14px; }
  .tile b { font-size: 21px; }
  .vcard h3, .songs .t { font-size: 21px; }
  .socials { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav .wrap, .nav-right { gap: 10px; }
  .logo img { height: 34px; }
  .nav .cta { padding: 8px 12px; font-size: 14px; letter-spacing: .05em; }
  .burger { width: 40px; height: 40px; flex: none; }
}
@media (max-width: 380px) { .nav .cta { display: none; } }

/* ispravke */
.nav li a { white-space: nowrap; }
.socials a { align-items: flex-start; }
.socials a i { align-self: flex-end; }
.portrait { background: radial-gradient(circle at 30% 25%, rgba(106, 165, 255, .35), transparent 55%), radial-gradient(circle at 75% 80%, rgba(31, 107, 255, .6), transparent 50%), var(--bg-2); }
@media (max-width: 1400px) { .mini-soc { display: none; } }
.nav ul { gap: 24px; }
.nav .cta { flex: none; white-space: nowrap; }
.about h2 { margin-bottom: 24px; }

/* bez linije ispod zaglavlja */
.nav { border-bottom: 0; }
.nav.open nav { border-bottom: 0; }

/* providno zaglavlje preko fotografije */
.nav { position: fixed; top: 0; left: 0; right: 0; margin-inline: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; transition: background .25s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.open { background: var(--bg); }
.hero { padding-top: 120px; }
@media (max-width: 860px) { .hero { padding-top: 0; } }

.nav li a { color: #dfe6ff; text-shadow: 0 1px 10px rgba(0, 0, 0, .65); }
.nav li a:hover { color: var(--accent-text); }

/* novi logo (širok, providan) */
.logo img { height: 30px; width: auto; }
.hero-logo { width: min(640px, 100%); height: auto; }
@media (max-width: 520px) { .logo img { height: 24px; } }

/* početna: tekst i logo centrirani u levoj polovini, podignuti */
.hero { align-items: center; padding-block: 120px 72px; min-height: 680px; }
.hero-copy { width: 46%; max-width: 520px; text-align: center; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-logo { margin: 0 auto 26px; width: 100%; }
.lead { margin-inline: auto; max-width: 38ch; }
@media (max-width: 860px) {
  .hero { align-items: stretch; padding-block: 0 32px; min-height: 0; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-logo { width: min(520px, 100%); }
}

/* v11: meni uvek vidljiv i na telefonu (bez padajuceg menija) */
@media (max-width: 900px) {
  .burger { display: none !important; }
  .nav .wrap { flex-wrap: wrap; row-gap: 6px; }
  .nav .logo { order: 1; }
  .nav .nav-right { order: 2; margin-left: auto; }
  .nav nav, .nav.open nav { display: block !important; order: 3; position: static; width: 100%; flex: 0 0 100%; background: none; border: 0; padding: 0; }
  .nav ul, .nav.open ul { display: flex !important; flex-direction: row; justify-content: space-between; gap: 4px; width: 100%; }
  .nav ul li a, .nav.open ul li a { display: block; padding: 4px 2px; border: 0; font-size: clamp(10px, 3.05vw, 16px); letter-spacing: .02em; color: #dfe6ff; }
  .nav.scrolled { padding-block: 8px; background: rgba(5,7,13,.92); }
  .nav .cta { padding: 7px 12px; font-size: 13px; }
  .nav ul, .nav.open ul { gap: 0; }
}
@media (max-width: 380px) { .nav .cta { display: inline-block; padding: 6px 9px; font-size: 12px; } }

/* v12: telefon u stilu jameshype (meni gore u sredini, logo, slika, dugme preko cele sirine) */
.hero-cta { display: none; }
@media (max-width: 860px) {
  .nav { position: absolute; background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding: 16px 12px 0; }
  .nav .logo, .nav .nav-right { display: none !important; }
  .nav .wrap { justify-content: center; }
  .nav nav, .nav.open nav { text-align: center; }
  .nav ul, .nav.open ul { justify-content: center; flex-wrap: wrap; gap: 6px 13px; }
  .nav ul li a, .nav.open ul li a { font-family: var(--f-body, Archivo, sans-serif); font-weight: 500; font-size: clamp(9.5px, 2.6vw, 14px); letter-spacing: .09em; color: #9aa3b8; text-shadow: none; }
  .nav ul li:first-child a { color: #fff; }
  .hero { display: flex; flex-direction: column; padding: 70px 0 28px; }
  .hero-copy { order: 1; margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 24px; }
  .hero-copy .hero-title { order: 1; width: 100%; }
  .hero-copy .hero-logo { width: min(86%, 380px); margin: 0 auto 18px; }
  .hero-copy .eyebrow { order: 2; margin: 0; color: #b5bdd0; font-size: 11px; letter-spacing: .2em; }
  .hero-copy .lead { display: none; }
  .hero-photo { order: 2; margin-top: -10px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%); }
  .hero-cta { order: 3; display: block; margin: -8px 0 0; padding: 20px 12px; text-align: center; background: var(--grad); color: var(--on-grad); font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: .24em; text-transform: uppercase; border-radius: 2px; }
}


/* =====================================================================
   Galerija: zidna mreža fotografija i uvećani prikaz
   ===================================================================== */
.gallery { columns: 3 260px; column-gap: 14px; }
.gitem { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; break-inside: avoid; }
.gitem img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.gitem:hover img { transform: scale(1.04); filter: brightness(1.08); }
.gitem .gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, transparent, rgba(5, 7, 13, .85)); color: #fff; font-size: 14px; line-height: 1.35; text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.gitem:hover .gcap, .gitem:focus-visible .gcap { opacity: 1; transform: none; }
@media (hover: none) { .gitem .gcap { opacity: 1; transform: none; } }

dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 7, 13, .96); color: #fff; }
dialog.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; justify-items: center; }
dialog.lightbox::backdrop { background: rgba(5, 7, 13, .96); }
.lightbox [hidden] { display: none !important; }
.lightbox figure { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; min-width: 0; }
.lightbox img { display: block; max-width: min(100%, 1500px); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 4px; object-fit: contain; }
.lightbox figcaption { max-width: 70ch; text-align: center; color: var(--mute); font-size: 15px; line-height: 1.4; }
.lb-x, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(20, 24, 40, .7); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.lb-x:hover, .lb-nav:hover { background: var(--accent); }
.lb-x:active, .lb-nav:active { transform: scale(.94); }
.lb-x { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 22px; }
.lb-nav.prev { grid-column: 1; grid-row: 1; }
.lb-nav.next { grid-column: 3; grid-row: 1; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); }
@media (max-width: 640px) {
  dialog.lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding-inline: 12px; }
  .lb-nav { position: absolute; bottom: 14px; width: 44px; height: 44px; }
  .lb-nav.prev { left: 14px; }
  .lb-nav.next { right: 14px; }
  .lightbox img { max-height: calc(100vh - 170px); }
}
@media (prefers-reduced-motion: reduce) { .gitem img, .gitem .gcap { transition: none; } }

/* Galerija otvorena u posebnom prozoru */
dialog.galdlg { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); }
dialog.galdlg[open] { display: flex; flex-direction: column; }
dialog.galdlg::backdrop { background: rgba(5, 7, 13, .9); }
.galhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.galhead h2 { margin: 0; font-size: clamp(20px, 3vw, 28px); }
.galhead h2 span { color: var(--mute); font-weight: 400; font-size: .7em; margin-left: 6px; }
.galhead .lb-x { position: static; flex: none; }
.galbody { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(12px, 2vw, 24px) clamp(16px, 4vw, 40px); overflow: hidden; }
.galbody .gallery { flex: 1; min-height: 0; columns: auto; display: grid; gap: 12px; }
.galbody .gitem { margin: 0; height: 100%; min-height: 0; break-inside: auto; }
.galbody .gitem img { width: 100%; height: 100%; object-fit: cover; }
.galbody .empty { text-align: center; margin-top: 48px; }
.galpager { display: flex; align-items: center; justify-content: center; gap: 18px; flex: none; }
.galpager[hidden] { display: none; }
.galpager span { min-width: 64px; text-align: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--mute); }
.galpager .lb-nav:disabled { opacity: .35; cursor: default; }
.galpager .lb-nav:disabled:hover { background: rgba(20, 24, 40, .7); }
.galpager .lb-nav { position: static; width: 44px; height: 44px; }

/* Dugme za povratak na vrh */
.totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--bg-3) 92%, transparent); color: var(--fg); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: background .2s, transform .2s, border-color .2s; }
.totop[hidden] { display: none; }
.totop:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.totop:active { transform: scale(.94); }
/* mreze ispod pesama */
section.soc-sec { border-top: 0; padding-block: 0 56px; }
section.soc-sec:has(#socialPanel[hidden]) { display: none; }
#mreze #socialPanel { margin-bottom: 0; }
/* brze veze na dnu */
#kontakt #socialPanel { margin: 10px 0 0; }
/* pločice: dorada */
.tiles { gap: 12px; margin-bottom: 16px; }
.tile { position: relative; overflow: hidden; min-height: 128px; padding: 18px 20px; border-radius: 6px; background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%); transition: transform .22s ease, border-color .22s, box-shadow .22s; }
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.tile b { font-size: 30px; }
.tile small { align-items: center; }
.tile small i { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; line-height: 1; transition: background .22s, color .22s, border-color .22s, transform .22s; }
.tile:hover { transform: translateY(-4px); border-color: var(--accent-text); box-shadow: 0 14px 30px -14px rgba(31, 107, 255, .55); }
.tile:hover::before { transform: scaleX(1); }
.tile:hover small i { background: var(--grad); color: var(--on-grad); border-color: transparent; transform: translateY(2px); }
.tile:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.tile.hot { box-shadow: 0 16px 34px -18px rgba(62, 240, 200, .6); }
.tile.hot::before { display: none; }
.tile.hot small i { border-color: rgba(4, 16, 26, .45); }
.tile.hot:hover small i { background: var(--on-grad); color: #fff; transform: translate(2px, -2px); }
@media (max-width: 860px) { .tiles { margin-top: 0; } }
@media (max-width: 420px) { .tile { min-height: 104px; padding: 14px 15px; } .tile b { font-size: 22px; } .tile small { font-size: 10px; } .tile small i { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .tile, .tile::before, .tile small i { transition: none; } .tile:hover { transform: none; } }
/* naslovi sekcija: manji i elegantniji */
main h2 { font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1; letter-spacing: .04em; }
.label { font-size: 11px; letter-spacing: .26em; margin-bottom: 10px; }
.sec-head { margin-bottom: 28px; }
.sec-head p:not(.label) { margin: 12px 0 0; font-size: 16px; }
section { padding-block: 68px; }
@media (max-width: 860px) { section { padding-block: 48px; } main h2 { font-size: clamp(28px, 8vw, 38px); } }
/* ujednačeni razmaci: bez linije iznad svake sekcije */
section { border-top: 0; padding-block: 76px; }
.sec-head { margin-bottom: 28px; }
#termini { padding-top: 40px; }
@media (max-width: 860px) { section { padding-block: 52px; } #termini { padding-top: 28px; } }

/* ulazna animacija: jednom, pri učitavanju, samo početni ekran */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: fade 1.1s ease-out .05s backwards; }
  .hero-copy .eyebrow { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .10s backwards; }
  .hero-copy .hero-title { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .20s backwards; }
  .hero-copy .lead { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .32s backwards; }
  .hero-cta { animation: rise .8s cubic-bezier(.2, .7, .2, 1) .44s backwards; }
  .tiles .tile { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .tiles .tile:nth-child(1) { animation-delay: .55s; }
  .tiles .tile:nth-child(2) { animation-delay: .63s; }
  .tiles .tile:nth-child(3) { animation-delay: .71s; }
  .tiles .tile:nth-child(4) { animation-delay: .79s; }
}
/* prilagodljiva veličina: sajt se skalira prema širini i visini ekrana */
body { font-size: clamp(16px, .42vw + 10px, 21px); }
.wrap { max-width: clamp(1100px, 72vw, 1700px); }
@media (min-width: 861px) {
  .hero { min-height: clamp(500px, calc(100vh - 250px), 940px); }
  .hero-photo { width: min(54%, 960px); }
  .hero-logo { width: clamp(420px, 34vw, 800px); }
  .hero .eyebrow, .hero-copy .eyebrow { font-size: clamp(12px, .78vw, 16px); }
  .lead { font-size: clamp(17px, .95vw + 3px, 24px); }
  .logo img { height: clamp(30px, 2.1vw, 50px); }
  .nav li a { font-size: clamp(16px, .9vw + 1px, 21px); }
  .nav .cta { font-size: clamp(14px, .8vw + 2px, 19px); padding-inline: clamp(14px, 1.1vw, 24px); }
  .mini-soc { font-size: clamp(12px, .7vw + 2px, 16px); }
  .tile { min-height: clamp(120px, 9vw, 200px); padding: clamp(16px, 1.3vw, 28px) clamp(18px, 1.5vw, 32px); }
  .tile b { font-size: clamp(26px, 1.9vw, 44px); }
  .tile small { font-size: clamp(11px, .65vw + 2px, 15px); }
  .tile small i { width: clamp(30px, 2vw, 44px); height: clamp(30px, 2vw, 44px); font-size: clamp(15px, 1vw, 22px); }
  main h2 { font-size: clamp(32px, 3.1vw, 68px); }
  .label { font-size: clamp(11px, .7vw + 1px, 15px); }
  .socials a { font-size: clamp(30px, 2.3vw, 52px); min-height: clamp(150px, 11vw, 240px); }
}
.mini-soc { display: none !important; }
