/* ==========================================================================
   JPS Jedovnice / Jarmilin pozdní sběr — statický web
   ========================================================================== */

:root {
  --color-bg: #0a0a0b;
  --color-bg-alt: #141416;
  --color-surface: #1c1c1f;
  --color-text: #f4f4f5;
  --color-text-muted: #a1a1aa;
  --color-yellow: #fdcd00;
  --color-blue: #3b82f6;
  --color-cyan: #22d3ee;
  --gradient-brand: linear-gradient(135deg, #3b82f6 0%, #fdcd00 100%);
  --radius: 16px;
  --radius-lg: 28px;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #0a0a0b; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0a0b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--color-yellow);
}

.brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
}

.main-nav a[aria-current="page"] {
  color: var(--color-cyan);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-footer .brand {
    font-size: 1rem;
  }
  .site-footer .brand img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    height: 68px;
  }
  .brand {
    gap: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    min-width: 0;
  }
  .brand img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .nav-toggle {
    flex-shrink: 0;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .main-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(5, 5, 6, 0.88)),
    url("../img/hero-bg.jpg") top center / cover no-repeat;
  text-align: center;
  padding: 96px 0 72px;
}

.hero h1 {
  color: var(--color-yellow);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0 0 20px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 28px 0;
}

.hero-socials a {
  color: var(--color-text);
  display: inline-flex;
}

.hero-socials svg { width: 24px; height: 24px; }

.hero-plain {
  background: radial-gradient(circle at top, #1a1a1c 0%, #0a0a0b 70%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-ghost {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  background: transparent;
}

.btn-fill {
  background: var(--color-yellow);
  color: #09090b;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-text);
  background: transparent;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section {
  padding: 64px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-heading {
  display: inline-block;
  color: var(--color-yellow);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-yellow);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .photo-grid { order: 2; }
  .two-col > div:not(.photo-grid) { order: 1; }
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.photo-grid .tall { grid-row: span 2; aspect-ratio: 3 / 4; }

.lede { color: var(--color-text-muted); }

/* ---------- Cards (events / instagram) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.card p { color: var(--color-text-muted); margin: 0; font-size: 0.95rem; }

.text-center { text-align: center; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
}

details {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  float: right;
  color: var(--color-yellow);
  font-size: 1.3rem;
}

details[open] summary::after { content: "–"; }

details p {
  color: var(--color-text-muted);
  margin: 12px 0 0;
}

/* ---------- Quotes ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

blockquote {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
}

blockquote p { font-size: 1.1rem; margin: 0 0 12px; }

blockquote cite {
  color: var(--color-yellow);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Repertoár ---------- */

.song-category { margin-bottom: 64px; }

.song-list {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

@media (max-width: 640px) {
  .song-list { columns: 1; }
}

.song-list li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.98rem;
}

.song-list li .artist { color: var(--color-text-muted); text-align: right; }

.artist-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.artist-card h4 {
  color: var(--color-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.artist-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--color-text-muted);
}

.artist-card p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-grid a { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: #09090b;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .brand {
  font-size: 1.5rem;
}

.site-footer .brand img {
  width: 96px;
  height: 96px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-grid nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid nav a { text-decoration: none; color: var(--color-text-muted); }

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials svg { width: 22px; height: 22px; color: var(--color-text-muted); }

.footer-note {
  margin-top: 32px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
}
