:root {
  --bg: #0a0a0a;
  --fg: #f2f0ea;
  --muted: #8c8a84;
  --accent: #e5322d;
  --accent-deep: #9c1a17;
  --line: #26251f;
  --display: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", "Helvetica Neue", Arial, sans-serif;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}
/* zrnat šum čez celo stran */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* rdeč sij za logotipom */
body::after {
  content: "";
  position: fixed; left: 50%; top: 28%;
  width: min(90vw, 720px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(229,50,45,.26), rgba(156,26,23,.10) 55%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  animation: breathe 7s ease-in-out infinite;
}
main, footer { position: relative; z-index: 1; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(40px, env(safe-area-inset-top)) 16px 32px;
  gap: clamp(28px, 6vh, 56px);
}

.logo {
  width: min(52vw, 230px);
  height: auto;
  display: block;
  margin: 0 auto;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tag {
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  animation: rise .9s .1s cubic-bezier(.2,.7,.2,1) both;
}

/* nastop */
.gig {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  background: linear-gradient(180deg, rgba(229,50,45,.07), rgba(255,255,255,.015) 40%);
  padding: 22px 22px 24px;
  animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both;
}
.gig .label {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.gig .label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pulse 1.6s ease-in-out infinite;
}
.gig .date {
  font-family: var(--display);
  font-size: clamp(3.4rem, 17vw, 5.6rem);
  font-weight: 400; letter-spacing: .01em; line-height: .95;
  text-transform: uppercase; margin: 16px 0 10px;
}
.gig .where { font-size: 1.2rem; font-weight: 700; }
.gig .when  { font-size: 1rem; color: var(--muted); margin-top: 4px; }
.gig.past { border-top-color: var(--line); margin-top: 28px; }
.gig.past .label { color: var(--muted); }
.gig.past .label::before { background: var(--muted); animation: none; }
.gig.past .date { color: var(--muted); }
.btn {
  display: inline-block; margin-top: 20px;
  padding: 13px 22px;
  background: var(--fg); color: var(--bg);
  font-family: var(--display); font-weight: 400; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }


footer {
  padding: 24px 16px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  justify-content: center; align-items: center;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}
footer a { color: var(--fg); text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
footer a:hover, footer a:focus-visible { border-color: var(--accent); color: var(--accent); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes breathe { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
/* glavna navigacija */
.menu {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
  animation: rise .9s .3s cubic-bezier(.2,.7,.2,1) both;
}
.menu a {
  color: var(--fg); text-decoration: none;
  font-family: var(--display); font-size: 1.05rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 22px; border: 1px solid var(--line);
  transition: border-color .15s, color .15s, background .15s;
}
.menu a:hover, .menu a:focus-visible { border-color: var(--accent); color: var(--accent); }
.menu a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* podstrani */
.back {
  align-self: flex-start; width: min(100%, 960px); margin: 0 auto;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg); text-decoration: none; padding: 12px 0;
}
.back:hover, .back:focus-visible { color: var(--accent); }
.big-soon {
  font-size: clamp(1.1rem, 4vw, 1.5rem); letter-spacing: .3em; text-transform: uppercase;
  font-family: var(--display); font-weight: 400;
  color: var(--muted); text-align: center; margin-top: 4vh;
}

/* galerija */
.grid { width: min(100%, 960px); display: flex; flex-direction: column; gap: 10px; }
.grid .row { display: flex; gap: 10px; }
.grid a { flex: var(--ar, 1) 1 0; min-width: 0; display: block; background: #151512; overflow: hidden; }
.grid img { width: 100%; height: auto; display: block; transition: transform .3s; }
.grid a:hover img, .grid a:focus-visible img { transform: scale(1.03); }
.grid a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox {
  position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--fg);
  font-size: 2rem; line-height: 1; padding: 14px; cursor: pointer;
}
.lightbox button:hover { color: var(--accent); }
.lightbox .x { top: 6px; right: 10px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }

/* o nas */
.about { width: min(100%, 680px); display: flex; flex-direction: column; gap: 28px; }
.about img { width: 100%; height: auto; display: block; }
.about p { font-size: 1.05rem; line-height: 1.7; color: #d8d5cd; }
.about p.sign { color: var(--fg); font-weight: 700; font-size: 1.15rem; }

/* fotka benda na začetni strani */
.bg { display: none; }
body.home .bg {
  display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,.82) 45%, #0a0a0a 85%),
    url("hero.jpg") center 20% / cover no-repeat;
  filter: grayscale(1) contrast(1.1);
}
body.home::before { z-index: 1; }
html, body { overflow-x: clip; }
@media (max-width: 720px) and (orientation: portrait) {
  body.home .bg {
    position: absolute; inset: 0 0 auto 0; height: calc(100vw * .75 + 90px);
    background:
      linear-gradient(180deg, rgba(10,10,10,0) 30%, #0a0a0a 72%),
      url("hero.jpg") center top / 100% auto no-repeat;
  }
  body.home main { padding-top: calc(100vw * .75 - 60px); }
  body.home::after { top: calc(100vw * .75 + 40px); }
}

/* podstrani: kompaktna glava, da je vsebina višje */
.back + a .logo { width: 96px; }
.back + a { margin-top: -8px; }
main:has(.back) { gap: clamp(14px, 3vh, 24px); }
