@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --red: #df111b;
  --red2: #ff1b26;
  --black: #050505;
  --panel: #0b0b0b;
  --line: #292929;
  --white: #f1f1f1;
  --muted: #a6a6a6;
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .25) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(var(--max), calc(100% - 56px));
  margin: auto;
}

.site-header {
  height: 98px;
  background: rgba(4, 4, 4, .97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 42px;
}

.site-logo {
  width: 205px;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.site-logo img {
  width: 185px;
  max-height: 84px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 42px;
  margin-left: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.main-nav a {
  position: relative;
  padding: 36px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: white;
}

.main-nav a:hover:after,
.main-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 3px;
  background: var(--red);
}

.header-tools {
  margin-left: auto;
}

.languages {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  text-align: right;
}

.languages a.active {
  color: var(--red);
}

.languages span {
  color: #6c6c6c;
  margin: 0 8px;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 20px;
  margin-top: 8px;
}

/* Mobilné tlačidlo (na PC skryté) */
.nav-toggle,
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span,
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hero {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070707;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, .96) 24%, rgba(5, 5, 5, .12) 62%, rgba(5, 5, 5, .46) 100%);
  z-index: 1;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 83% 27%, rgba(220, 0, 15, .26), transparent 25%), linear-gradient(0deg, rgba(0, 0, 0, .78), transparent 45%);
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 26%;
  background: url('assets/hero-artwork.jpg') center/cover no-repeat;
  filter: contrast(1.08) brightness(.77);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 66px 0 42px;
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 620px;
}

.hero-copy h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 66px;
  line-height: .92;
  text-transform: uppercase;
  margin: 0 0 28px;
  letter-spacing: .015em;
}

.hero-copy h1 span {
  color: var(--red);
}

.hero-copy .tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  line-height: 1.04;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .05em;
}

.hero-copy .tagline b {
  color: var(--red);
}

.event-box {
  margin-top: 30px;
  border: 1px solid #555;
  background: rgba(0, 0, 0, .69);
  padding: 18px 22px;
  width: 330px;
}

.event-box small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
}

.event-box strong {
  display: block;
  color: var(--red2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 31px;
  letter-spacing: .04em;
}

.event-box span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.red-btn {
  display: inline-flex;
  background: var(--red);
  padding: 10px 18px;
  margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid var(--red);
  transition: .2s;
}

.red-btn:hover {
  background: white;
  color: black;
  border-color: white;
}

.outline-btn {
  display: inline-flex;
  border: 1px solid #555;
  padding: 11px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.outline-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.home-strip {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0c0c0c, #070707);
}

.three-col {
  display: grid;
  grid-template-columns: .9fr 1.25fr 1fr;
}

.home-panel {
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  min-height: 350px;
}

.home-panel:first-child {
  padding-left: 0;
}

.home-panel:last-child {
  border-right: 0;
  padding-right: 0;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0 0 20px;
  letter-spacing: .02em;
}

.section-title:after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin-top: 8px;
}

.event-mini {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 20px;
}

.photo-cellar {
  min-height: 196px;
  background: radial-gradient(ellipse at 50% 35%, #8a5a2e 0 6%, #4a2d18 28%, #120c08 70%);
  position: relative;
}

.photo-cellar:after {
  content: "23–25\A MAY 2025";
  white-space: pre;
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: .9;
}

.event-mini h3,
.news-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  margin: 0;
  font-size: 19px;
}

.red-label {
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

button.red-label,
button.news-modal-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 10px;
  cursor: pointer;
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  text-align: left;
  transition: color 0.2s ease;
}

button.red-label:hover,
button.news-modal-btn:hover {
  color: var(--white);
}

.home-panel p {
  color: #b7b7b7;
}

.welcome {
  background: linear-gradient(110deg, transparent 45%, rgba(255, 255, 255, .03)), radial-gradient(circle at 80% 75%, rgba(255, 255, 255, .06), transparent 33%);
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.news-thumb {
  height: 70px;
  background: linear-gradient(145deg, #4d0f12, #111 60%);
  border: 1px solid #262626;
}

.news-date {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
}

.news-item p {
  margin: 3px 0 0;
  font-size: 14px;
}

.gallery-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.gallery-mini a {
  height: 78px;
  border: 1px solid #303030;
  overflow: hidden;
  display: block;
  background: #111;
}

.gallery-mini a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-mini div {
  height: 78px;
  border: 1px solid #303030;
  background: linear-gradient(145deg, #1a1a1a, #5d1117 58%, #090909);
}

.gallery-mini div:nth-child(2n) {
  background: linear-gradient(135deg, #182235, #74131a);
}

.gallery-mini div:nth-child(3n) {
  background: linear-gradient(135deg, #313d23, #141414);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.benefit {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-right: 1px solid var(--line);
  align-items: start;
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  font-size: 42px;
  color: var(--red);
  line-height: 1;
}

.benefit h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  margin: 0;
  font-size: 21px;
}

.benefit p {
  color: #aaa;
  margin: 4px 0 0;
  font-size: 14px;
}

.footer {
  background: #030303;
  padding-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 190px 1.4fr .55fr 1fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #1f1f1f;
}

.footer-grid>img {
  width: 155px;
}

.footer p {
  color: #aaa;
  margin: 6px 0;
  font-size: 14px;
}

.footer strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
}

.footer-social {
  display: flex;
  gap: 20px;
  font-size: 23px;
  margin-top: 10px;
}

.copyright {
  text-align: center;
  color: #777;
  padding: 20px;
  font-size: 13px;
  letter-spacing: .08em;
}

.page-hero {
  min-height: 320px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .55)), url('assets/chapter-artwork.jpg') center/cover no-repeat;
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px;
  text-transform: uppercase;
  line-height: .9;
  margin: 0;
}

.page-hero p {
  max-width: 620px;
  color: #c5c5c5;
}

.content-section {
  padding: 66px 0;
  border-bottom: 1px solid var(--line);
}

.content-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 42px;
  margin: 0 0 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-card {
  border: 1px solid #2c2c2c;
  background: #0b0b0b;
  padding: 24px;
}

.content-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  margin: 0 0 8px;
}

.content-card p {
  color: #aaa;
}

.events-list {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 110px 1fr 140px;
  align-items: center;
  border: 1px solid #2a2a2a;
  padding: 14px;
  background: #0b0b0b;
}

.event-row .date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  color: var(--red);
  font-weight: 800;
}

.event-row h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 23px;
}

.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #111;
  color: var(--white);
  border: 1px solid #333;
  padding: 8px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
}

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

.gallery-grid button {
  width: 100%;
  height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #333;
  background: #111;
  cursor: pointer;
  display: block;
}

.gallery-grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s;
}

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

.gallery-grid button:nth-child(2n) {
  background: linear-gradient(135deg, #0c1f35, #331216);
}

.gallery-grid button:nth-child(3n) {
  background: linear-gradient(135deg, #3b301f, #171717);
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  background: #080808;
  color: white;
  border: 1px solid #333;
  padding: 14px;
}

.contact-form button {
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .94);
  display: none;
  place-items: center;
  z-index: 9999;
}

.lightbox.open,
.lightbox.active {
  display: grid;
}

.lightbox-box {
  width: min(800px, 90vw);
  max-height: 80vh;
  border: 1px solid #444;
  background: linear-gradient(135deg, #181818, #4d0f12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-box img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  right: 20px;
  top: 15px;
  background: none;
  border: 0;
  color: white;
  font-size: 38px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

/* --- RESPONZIVITA (TABLETY A MOBILY) --- */
@media(max-width:1050px) {
  .site-header .header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .site-logo {
    width: auto;
  }

  .header-tools {
    margin-left: auto;
  }

  .nav-toggle,
  .menu-toggle {
    display: block !important;
    margin-left: 10px;
    z-index: 1001;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 98px;
    background: #050505;
    padding: 22px 28px;
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--red);
    z-index: 1000;
    margin-left: 0;
  }

  .main-nav.open,
  .main-nav.active {
    display: flex !important;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:after {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-art {
    left: 15%;
    opacity: .68;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .home-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .benefit-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:650px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    height: 82px;
  }

  .site-logo img {
    width: 145px;
  }

  .main-nav {
    top: 82px;
  }

  .languages {
    font-size: 15px;
  }

  .languages span {
    margin: 0 4px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-art {
    left: 0;
    background-position: center;
    opacity: .55;
  }

  .event-box {
    width: 100%;
  }

  .event-mini {
    grid-template-columns: 1fr;
  }

  .benefit-row,
  .footer-grid,
  .content-grid,
  .join-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .event-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-hero h1 {
    font-size: 52px;
  }
}

.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #111111;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: all 0.2s ease;
}

.quick-links li a:hover {
  background: #1a1a1a;
  border-color: var(--red);
  color: var(--red);
  transform: translateX(4px);
}

.news-thumb {
  width: 65px;               /* Pevná šírka štvorca */
  height: 65px;              /* Pevná výška štvorca */
  aspect-ratio: 1 / 1;       /* Vynúti štvorcový pomer 1:1 */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0d0d; /* Tmavé pozadie pre prázdne miesta */
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;            /* Zabráni deformácii štvorca v flexboxe */
}

.news-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;       /* Zabezpečí, že sa zmenší CELÝ obrázok tak, aby sa vošiel */
  object-position: center;
}

/* Countdown Styles */
/* Kompaktné nastavenie pre Sphere odpočítavanie v Hero sekcii */
.sphere-countdown-card {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.85) 100%),
                url('assets/sphere-metallica.jpg') center 25% / cover no-repeat !important;
    border: 1px solid rgba(230, 24, 24, 0.6) !important;
    border-radius: 12px;
    padding: 12px 16px; /* Zmenšené odsadenie zmenší výšku celej karty */
    max-width: 340px;   /* Mierne užšia karta */
    margin-top: 15px;
    box-shadow: 0 0 20px rgba(230, 24, 24, 0.25);
    overflow: hidden;
}

.sphere-countdown-card .badge-tag {
    font-size: 0.7rem;
    color: #e61818;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.sphere-countdown-card .hero-title {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    line-height: 1.1;
}

.sphere-countdown-card .hero-subtitle {
    font-size: 0.68rem;
    color: #ccc;
    margin: 2px 0 0 0;
}

.sphere-countdown-card .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 25px; /* Kompromisný odstup pre uvoľnenie Sphere */
}

/* Priehľadné políčka pre čísla s jemným blur efektom */
.sphere-countdown-card .time-box {
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(230, 24, 24, 0.4) !important;
    backdrop-filter: blur(4px);
    border-radius: 5px;
    padding: 4px 2px;
    text-align: center;
}

.sphere-countdown-card .time-box span {
    display: block;
    font-size: 1.25rem; /* Zmenšené písmo čísel */
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
    font-family: monospace, sans-serif;
}

.sphere-countdown-card .time-box small {
    display: block;
    font-size: 0.58rem;
    color: #aaa;
    margin-top: 2px;
}

.countdown-footer-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.6rem !important;
    color: #bbb;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 6px;
    margin-top: 8px;
}

.countdown-footer-inline .dot {
    color: #e61818;
}

.countdown-footer-inline strong {
    color: #fff;
}

@media (max-width: 768px) {
    /* Zrušíme obrovskú výšku hero sekcie aj jej vnútra */
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 25px !important;
    }

    .hero-content {
        min-height: auto !important;
        height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Upravíme nadpis, aby zaberal menej miesta na výšku */
    .hero-copy h1 {
        font-size: 38px !important;
        margin-bottom: 15px !important;
    }

    .hero-copy .tagline {
        font-size: 20px !important;
    }

    /* Widget zostane prirodzene v toku pod textom, bez prekrytia */
    .sphere-countdown-card {
        position: relative !important;
        margin-top: 25px !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

#news-modal-img {
  display: none;
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  margin: 15px auto;
  border-radius: 4px;
}