/* ============================
   BAKS – variables & reset
   ============================ */
:root {
  --bg: #0c0c0d;
  --bg-alt: #141416;
  --card: #1b1b1e;
  --border: #2a2a2d;
  --text: #f2f0ee;
  --text-muted: #a9a6a3;
  --accent: #c1352a;
  --accent-dark: #8f2620;
  --accent-glow: rgba(193, 53, 42, 0.35);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 10px;
}

a { color: inherit; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   Header / Navigation
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.logo-link .brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.socials svg { width: 16px; height: 16px; fill: currentColor; }

.header-flex-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center 30%;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,13,0.55) 0%, rgba(12,12,13,0.75) 55%, var(--bg) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 10px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 6px;
  transition: background .15s ease, transform .15s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: transparent;
}

/* ============================
   Page banner (sub-pages)
   ============================ */
.page-banner {
  position: relative;
  padding: 60px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,12,13,0.65) 0%, rgba(12,12,13,0.9) 100%);
  z-index: -1;
}

.page-banner h1,
.page-banner .accent-bar {
  position: relative;
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-banner .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================
   Sections
   ============================ */
section { padding: 70px 0; }

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* Band info / about */
.band-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.band-info .band-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@media (max-width: 800px) {
  .band-info .band-photo {
    height: 320px;
  }
}

.band-info .band-text p {
  color: var(--text-muted);
}

.members {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

.members li {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 1.05rem;
}

@media (max-width: 800px) {
  .band-info { grid-template-columns: 1fr; }
}

.cta-center {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Article / card (novice) */
#novice {
  max-width: 800px;
  margin: auto;
}

article {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
}

article h2, article h3 {
  margin-top: 0;
  color: var(--text);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
}

article img {
  width: 100%;
  border-radius: 10px;
  margin: 15px 0;
  object-fit: cover;
}

article p { color: var(--text-muted); }
article p strong { color: var(--text); }

/* ============================
   Posnetki
   ============================ */
#audio-posnetki { max-width: 900px; margin: 0 auto; padding: 20px; }

.album-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.album-block article { padding: 20px; }

.album-block article h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.audio-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.audio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.audio-row audio {
  width: 150px;
  height: 32px;
}

@media (max-width: 480px) {
  .audio-row {
    flex-direction: column;
    align-items: stretch;
  }

  .audio-row audio {
    width: 100%;
  }
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .15s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 1rem; }
  .lightbox-close { width: 36px; height: 36px; top: 10px; right: 10px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

.audio-row + .audio-row {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================
   Footer
   ============================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.footer-grid p { color: var(--text-muted); font-size: 0.95rem; }

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom-links a + a {
  position: relative;
  padding-left: 14px;
}

.footer-bottom-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

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

/* ============================
   Responsive header tweaks
   ============================ */
@media (max-width: 720px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .header-flex-wrap { width: 100%; justify-content: space-between; }
  nav ul { gap: 16px; }
  body { padding: 0; }
}
