/* Desire for Sorrow – tmavý web, barvy podle loga (oranžová → pudrová) */
:root {
  --pozadi: #121316;
  --pozadi-2: #1a1c20;
  --karta: #202227;
  --text: #e9e6e1;
  --text-2: #a7a39c;
  --akcent: #e0875a;
  --akcent-2: #f0b89a;
  --cara: rgba(255, 255, 255, 0.1);
  --chyba: #ff7a6b;
  --ok: #8fd19e;
  --sirka: 1180px;
  --nadpis: "Oswald", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pozadi);
  color: var(--text);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--akcent); text-decoration: none; }
a:hover { color: var(--akcent-2); }
h1, h2, h3 { font-family: var(--nadpis); font-weight: 600; letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 0.5em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--akcent); outline-offset: 2px; }

/* ---------- hlavička ---------- */
.hlavicka {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cara);
  transition: background 0.3s, border-color 0.3s;
}
.hlavicka.pruhledna { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hlavicka.pruhledna.posunuto { background: rgba(18, 19, 22, 0.92); border-color: var(--cara); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hlavicka-logo img { height: 40px; width: auto; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { color: var(--text); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }
.menu a:hover { color: var(--akcent); }
.hlavicka-vpravo { display: flex; align-items: center; gap: 18px; }
.jazyky { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.jazyky a { color: var(--text-2); padding: 4px 6px; border-radius: 4px; }
.jazyky a.aktivni { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.kosik-ikona { position: relative; color: var(--text); display: flex; padding: 4px; }
.kosik-pocet {
  position: absolute; top: -4px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--akcent); color: #121316; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.menu-tlacitko { display: none; background: none; border: 0; padding: 8px 4px; width: 32px; }
.menu-tlacitko span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }

@media (max-width: 860px) {
  .menu {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(18, 19, 22, 0.98); border-bottom: 1px solid var(--cara);
    padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .menu a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--cara); }
  .menu.otevreno { opacity: 1; transform: none; visibility: visible; }
  .hlavicka-vpravo { margin-left: auto; gap: 14px; }
  .menu-tlacitko { display: block; }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-tlacitko[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hlavicka.pruhledna:has(.menu.otevreno) { background: rgba(18, 19, 22, 0.98); }
}

/* ---------- úvod (stejný jako na původním webu) ---------- */
/* Fotka kapely stojí na místě (i na mobilu), logo a ikony při scrollu odjíždějí nahoru. */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  clip-path: inset(0);
}
.hero::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(28, 30, 34, 0.62), rgba(28, 30, 34, 0.62)), #1d1f23 var(--hero) center 30% / cover no-repeat;
}
main > .sekce, main > section:not(.hero) { position: relative; background-color: var(--pozadi); }
main > .sekce-tmava { background-color: var(--pozadi-2); }
.hero-obsah { position: relative; text-align: center; padding: 120px 16px 80px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0; }
.hero-logo { width: min(320px, 62vw); height: auto; margin: 22vh auto 0; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35)); }
.hero .socialni { margin-top: 36px; }
@media (max-width: 700px) {
  /* Na výšku: celá kapela nahoře (fotka na šířku obrazovky), logo pod ní. */
  .hero { align-items: flex-start; min-height: 0; }
  .hero-obsah { padding-bottom: 56px; }
  .hero::before {
    background:
      linear-gradient(rgba(28, 30, 34, 0.35), rgba(28, 30, 34, 0.35)),
      linear-gradient(to bottom, transparent calc(56px + 45vw), #1c1e22 calc(56px + 84vw)),
      var(--hero-mobil) center 56px / 125% auto no-repeat,
      #1c1e22;
  }
  .hero-obsah { padding-top: calc(56px + 62vw); }
  .hero-logo { margin-top: 0; }
}

.socialni { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.socialni a { color: var(--text); font-size: 22px; line-height: 1; transition: color 0.2s, transform 0.2s; }
.socialni a:hover { color: var(--akcent); transform: translateY(-2px); }

/* ---------- sekce ---------- */
.sekce { padding: clamp(56px, 9vw, 104px) 0; }
.sekce-tmava { background: var(--pozadi-2); }
.obsah { max-width: var(--sirka); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.nadpis { font-size: clamp(30px, 5vw, 46px); text-transform: uppercase; text-align: center; margin-bottom: 40px; }
.nadpis::after { content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0; background: linear-gradient(90deg, var(--akcent), var(--akcent-2)); }
.nadpis-maly { color: var(--akcent); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 8px; }
.na-stred { text-align: center; }
.popisek { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin: 20px 0 8px; display: block; }

.tlacitko {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border: 1px solid var(--akcent); border-radius: 3px;
  background: var(--akcent); color: #121316; font-weight: 600; font-size: 15px; letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tlacitko:hover { background: var(--akcent-2); border-color: var(--akcent-2); color: #121316; }
.tlacitko:disabled { opacity: 0.45; cursor: not-allowed; }
.tlacitko-obrys { background: transparent; color: var(--text); border-color: var(--cara); }
.tlacitko-obrys:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: var(--text-2); }
.tlacitko-velke { width: 100%; padding: 16px; font-size: 16px; }

/* ---------- novinka ---------- */
.novinka { background: linear-gradient(180deg, var(--pozadi) 0%, var(--pozadi-2) 100%); }
.novinka-mrizka { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.novinka h2 { font-size: clamp(36px, 6vw, 64px); text-transform: uppercase; }
@media (max-width: 760px) { .novinka-mrizka { grid-template-columns: 1fr; } }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; overflow: hidden; border-radius: 4px; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(224, 135, 90, 0.92); transition: transform 0.2s; }
.video-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #121316; }
.video:hover .video-play { transform: scale(1.08); }

.novinka-obal { width: min(100%, 460px); aspect-ratio: 1; object-fit: cover; justify-self: center; border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.klip { max-width: 860px; margin: 0 auto 48px; }

/* ---------- hudba ---------- */
.o-kapele { max-width: 720px; margin: 0 auto 40px; text-align: center; color: var(--text-2); }
.vydani-mrizka { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 48px; }
.vydani { color: var(--text); }
.vydani img, .vydani .bez-fotky { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 3px; transition: transform 0.3s, box-shadow 0.3s; }
.vydani:hover img { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.vydani h3 { font-size: 20px; margin: 14px 0 2px; }
.vydani p { margin: 0; color: var(--text-2); font-size: 14px; }
.vydani:hover { color: var(--text); }
.spotify { width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* ---------- koncerty (Bandsintown) ---------- */
#koncerty .bit-widget { font-family: "Inter", sans-serif !important; }
#koncerty .bit-widget .bit-event { border-color: var(--cara) !important; }

/* ---------- produkty ---------- */
.produkty { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
@media (max-width: 560px) {
  .produkty { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .karta h3 { font-size: 14px; }
}
.karta { color: var(--text); display: block; }
.karta:hover { color: var(--text); }
.karta-obrazek { position: relative; aspect-ratio: 1; background: #f2f1ef; border-radius: 3px; overflow: hidden; }
.karta-obrazek > img, .karta-obrazek .bez-fotky { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.karta:hover .karta-obrazek > img { transform: scale(1.04); }
.karta h3 { font-family: "Inter", sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0; margin: 14px 0 4px; }
.karta-cena { margin: 0; color: var(--akcent); font-weight: 600; }
.stitek { position: absolute; top: 10px; left: 10px; background: #121316; color: var(--text); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.bez-fotky { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #2b2e34, #17181b); }
.bez-fotky img { width: 46%; opacity: 0.5; }
#merch .na-stred { margin-top: 40px; }

.filtry { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 36px; }
.filtry button { background: none; border: 1px solid var(--cara); color: var(--text-2); padding: 8px 18px; border-radius: 20px; font-size: 14px; }
.filtry button.aktivni, .filtry button:hover { border-color: var(--akcent); color: var(--text); }
.shop-info { color: var(--text-2); font-size: 14px; margin-top: 40px; text-align: center; }

/* ---------- detail produktu ---------- */
.produkt { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 800px) { .produkt { grid-template-columns: 1fr; } }
.produkt-foto { aspect-ratio: 1; background: #f2f1ef; border-radius: 3px; overflow: hidden; }
.produkt-foto > img, .produkt-foto .bez-fotky { width: 100%; height: 100%; object-fit: cover; }
.produkt-foto > img:not(.vybrana) { display: none; }
.nahledy { display: flex; gap: 10px; margin-top: 12px; }
.nahledy button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; background: #f2f1ef; border-radius: 3px; overflow: hidden; }
.nahledy button.aktivni { border-color: var(--akcent); }
.nahledy img { width: 100%; height: 100%; object-fit: cover; }
.drobecky { font-size: 14px; margin: 0 0 18px; }
.drobecky a { color: var(--text-2); }
.produkt h1 { font-size: clamp(28px, 4vw, 40px); }
.produkt-cena { font-size: 24px; color: var(--akcent); font-weight: 600; margin: 0 0 8px; }
.velikosti { display: flex; flex-wrap: wrap; gap: 8px; }
.velikosti button { min-width: 54px; padding: 10px 14px; background: transparent; border: 1px solid var(--cara); border-radius: 3px; font-weight: 600; }
.velikosti button:hover:not(:disabled) { border-color: var(--text-2); }
.velikosti button.vybrana { border-color: var(--akcent); background: rgba(224, 135, 90, 0.14); }
.velikosti button:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.hlaska { min-height: 1.6em; margin: 14px 0 10px; font-size: 14px; }
.hlaska.chyba { color: var(--chyba); }
.hlaska.ok { color: var(--ok); }
.produkt-popis { margin-top: 28px; color: var(--text-2); }
.produkt .shop-info { text-align: left; margin-top: 24px; border-top: 1px solid var(--cara); padding-top: 20px; }

/* ---------- košík ---------- */
.kosik-obsah { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .kosik-obsah { grid-template-columns: 1fr; } }
.kosik-prazdny { text-align: center; }
.polozka { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--cara); }
.polozka:first-child { border-top: 1px solid var(--cara); }
.polozka-foto { width: 84px; height: 84px; border-radius: 3px; overflow: hidden; background: #f2f1ef; }
.polozka-foto img, .polozka-foto .bez-fotky { width: 100%; height: 100%; object-fit: cover; }
.polozka h3 { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 2px; }
.polozka h3 a { color: var(--text); }
.polozka p { margin: 0; color: var(--text-2); font-size: 14px; }
.polozka-vpravo { text-align: right; }
.polozka-cena { font-weight: 600; margin-bottom: 8px; }
.pocet { display: inline-flex; align-items: center; border: 1px solid var(--cara); border-radius: 3px; }
.pocet button { background: none; border: 0; width: 32px; height: 32px; font-size: 18px; }
.pocet span { min-width: 24px; text-align: center; font-size: 14px; }
.odstranit { background: none; border: 0; color: var(--text-2); font-size: 13px; text-decoration: underline; padding: 6px 0 0; display: block; margin-left: auto; }
.kosik-souhrn { background: var(--pozadi-2); border: 1px solid var(--cara); border-radius: 6px; padding: 24px; position: sticky; top: 88px; }
.kosik-souhrn .popisek:first-child { margin-top: 0; }
select {
  width: 100%; padding: 12px 14px; background: var(--karta); color: var(--text);
  border: 1px solid var(--cara); border-radius: 3px; font: inherit; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.doprava-volby label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--cara); border-radius: 3px; margin-bottom: 8px; cursor: pointer; font-size: 15px; }
.doprava-volby label:has(input:checked) { border-color: var(--akcent); background: rgba(224, 135, 90, 0.08); }
.doprava-volby input { accent-color: var(--akcent); }
.doprava-volby .cena-dopravy { margin-left: auto; font-weight: 600; white-space: nowrap; }
.vydejni-misto { margin: 4px 0 8px; }
.vydejni-misto .tlacitko { width: 100%; }
.vybrane-misto { font-size: 14px; color: var(--text-2); margin: 10px 0 0; }
.vybrane-misto strong { color: var(--text); }
.soucty { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 24px 0 18px; padding-top: 18px; border-top: 1px solid var(--cara); }
.soucty dt, .soucty dd { margin: 0; }
.soucty dd { text-align: right; }
.soucty .celkem { font-size: 20px; font-weight: 600; padding-top: 8px; }
.souhlas { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.souhlas input { margin-top: 4px; accent-color: var(--akcent); }
.platby { margin-top: 16px; }
.platby i { font-size: 26px; margin: 0 3px 6px; color: var(--text); }

/* ---------- galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.foto { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.4s; filter: grayscale(0.25); }
.foto:hover img { transform: scale(1.04); filter: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox img { max-height: 90vh; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; width: 56px; height: 56px; }
.lightbox .zavrit { top: 8px; right: 8px; }
.lightbox .predchozi { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .dalsi { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- kontakt, texty, patička ---------- */
.kontakt-email { font-family: var(--nadpis); font-size: clamp(22px, 4vw, 34px); }
.text { max-width: 760px; }
.text .nadpis { text-align: left; }
.text .nadpis::after { margin-left: 0; }
.text p, .text li { color: var(--text-2); }
.dekujeme { max-width: 640px; }
.paticka { border-top: 1px solid var(--cara); padding: 48px 16px 40px; text-align: center; font-size: 14px; color: var(--text-2); }
.paticka .socialni { margin-bottom: 20px; }
.paticka p { margin: 6px 0; }
.paticka-odkazy a, .paticka a { color: var(--text-2); }
.paticka a:hover { color: var(--akcent); }
.paticka-copy { opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
