* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color: #111111;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ACCESSIBILITY */
.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 3000;
  background: #ffffff;
  color: #111111;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
.video-thumbnail:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}

.logo-icon {
  height: 28px;
  width: auto;
  display: block;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  color: #F28C38;
  opacity: 1;
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("../img/JF-hero.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
     rgba(0, 0, 0, 0.7),
     rgba(0, 0, 0, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #F28C38, #C9334B);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.5;
}

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
  color: #ffffff;
}

/* ABOUT */
.about {
  background: #141414;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  color: #d0d0d0;
  line-height: 1.7;
}

/* CONCERTS */
.concerts {
  background: #181818;
}

.concert-list {
  display: grid;
  gap: 18px;
}

.concert-item {
  background: #222;
  padding: 20px;
  border: 1px solid rgba(242, 140, 56, 0.15);
  border-radius: 16px;
}

/* HEADLINE */
.concert-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.concert-date {
  font-size: 0.9rem;
  opacity: 0.75;
}

.time {
  opacity: 0.75;
  font-weight: 400;
}

/* TYPE BADGE */
.type-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-indoor {
  background: rgba(56, 140, 242, 0.15);
  color: #388cf2;
}

.type-open-air {
  background: rgba(56, 242, 140, 0.15);
  color: #38f28c;
}

.type-private {
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}

/* MAP LINK */
.map-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}

.map-link:hover {
  text-decoration-color: rgba(255,255,255,0.8);
}

/* LINKS */
.concert-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.concert-links a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 140, 56, 0.3);
  color: #f28c38;
  transition: all 0.2s ease;
}

.concert-links a:hover {
  background: rgba(242, 140, 56, 0.1);
}

/* TICKETS (CTA) */
.concert-links .tickets {
  border-color: rgba(56, 140, 242, 0.3);
  color: #388cf2;
  font-weight: 600;
}

.concert-links .tickets:hover {
  background: rgba(56, 140, 242, 0.1);
}

/* INFO */
.concert-links .info {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ccc;
}

.concert-links .info:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* BADGE (free / door) */
.badge {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

.badge.free {
  background: rgba(56, 242, 140, 0.15);
  color: #38f28c;
}

/* GALLERY */
.gallery {
  background: #111111;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* VIDEO */
.video {
  background: #181818;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* THUMBNAIL VIDEA */
.video-thumbnail {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.video-thumbnail:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(242, 140, 56, 0.25);
}

.video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-iframe {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 2;
}

.video-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumbnail.playing img {
  display: none;
}

.video-thumbnail.playing .video-iframe {
  display: block;
}

.video-thumbnail.playing::after {
  display: none;
}

/* play button */
.video-thumbnail::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  opacity: 0.8;
  pointer-events: none;
  transition: transform 0.2s ease;
  z-index: 1;
}

.video-thumbnail:hover::after,
.video-thumbnail:focus-visible::after {
  transform: translate(-50%, -50%) scale(1.2);
}

/* SUBTITLES (LIVE / STUDIO) */
.video-subtitle {
  font-size: 1.3rem;
  margin: 50px 0 20px;
  text-align: center;
  opacity: 0.9;
  color: #F28C38;
}

/* MAIN VIDEO spacing */
.main-video {
  margin-bottom: 50px;
}

/* spacing mezi sekcemi */
.video-grid + .video-subtitle {
  margin-top: 60px;
}

/* jemný lift efekt pro thumbnails */
.video-thumbnail:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

/* jemný shadow (vypadá víc "profi") */
.video-thumbnail {
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, #0a0a0a, #111111);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.footer h3 {
  margin-bottom: 12px;
}

.footer p {
  color: #d0d0d0;
  margin-bottom: 6px;
}

/* SOCIALS */
.socials {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.socials a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  transform: translateY(-3px);
}

.socials svg {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover svg {
  transform: scale(1.2);
  opacity: 0.9;
}

.socials a.instagram:hover {
  color: #E1306C;
}

.socials a.facebook:hover {
  color: #1877f2;
}

.socials a.youtube:hover {
  color: #ff0000;
}

.socials a.goout:hover {
  color: #00c2a8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
  }

  .logo {
    font-size: 1.3rem;
    text-align: left;
  }

  .nav-toggle {
    display: block;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-subtitle {
    margin: 30px 0 15px;
  }

  .main-video {
    margin-bottom: 30px;
  }

  /* animace burger → X */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .video-subtitle {
  margin: 30px 0 15px;
  }
}


/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}