/* FONT INTEGRATION – CreateFuture.otf */
@font-face {
  font-family: 'SkenetraFuture';
  src: url('../fonts/SkenetraFuture.woff2') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* - - - - - - - - - - POZADÍ + BASE - - - - - - - - -  */
body {
    margin: 0;
    padding: 0;

    background-color: black;
    background-image: url("obrazky/pozadi.gif");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: scroll; /* GIF se hýbe se stránkou */

    color: #e0e0e0;
    font-family: system-ui, sans-serif;

    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

/* STATICKÝ OBRÁZEK POD GIFEM */
body::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-image: url("../obrazky/po4.jpg"); 
    background-size: cover;
    background-position: center;
    
    /* z-index -1 ho pošle DOZADU za tvůj GIF */
    z-index: -1; 
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* -----POZADÍ GIF------ */
.podleb {
  animation: none !important;
  transition: none !important;
  position: absolute;
  bottom: -72%;      
  width: 100%;        /* pevná velikost */
  height: auto;
  z-index: -20;      
  pointer-events: none;
}


.bg-img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;
}




/* 🔥 Levý horní roh – FL STUDIO + AI */
.flstudio-ai-label {
  position: fixed;
  top: 14px;
  left: 20px;
  z-index: 99999;        /* nad navigací, ale neblokuje ji */
  font-family: system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  pointer-events: none;  /* neblokuje klikání na ÚVOD, BIO atd. */
  user-select: none;
}

/* Červený text */
.flstudio-ai-label .fl {
  color: red;
}

/* Šedý text */
.flstudio-ai-label .ai {
  color: #848282;
  margin-left: 4px;
}

.overlay {
  min-height: 100vh;
  background: rgba(0,0,0,0.75);
  padding-top: 18%;   /* posune celý obsah o 40 % výšky okna */
}

/* MENU */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  justify-content: center;
}

/* ZÁKLAD NAVIGACE */

.nav {
  position: relative;
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1000;
}

/* Třída pro aktivní odkaz v navigaci */
      .nav-links a.active span {
         color: red !important; /* Oranžová z tvé animace */
         animation: none; /* Zastavíme animaci, když je odkaz aktivní */
}

/* ODKAZY */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

/* HAMBURGER IKONA */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* RESPONSIVE – při malé šířce */
@media (max-width: 850px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 30px;
    background: rgba(0,0,0,0.85);
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  /* Aktivní stav – menu otevřené */
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Animace hamburgeru */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: red;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-links a:hover { transform: scale(1.03); }

.nav-links a span {
  display: inline-block;
  color: #848282;
}

/* Bílé → oranžová při hoveru */
@keyframes letterGlow {
  0%   { color: #1fa3ff; }
  40%  { color: #ffffff; }
  100% { color: #ff8c30; }
}

.nav-links a:hover span {
  animation: letterGlow 0.3s ease-out forwards;
}

.nav-links a span:nth-child(1)  { animation-delay: 0s; }
.nav-links a span:nth-child(2)  { animation-delay: 0.03s; }
.nav-links a span:nth-child(3)  { animation-delay: 0.06s; }
.nav-links a span:nth-child(4)  { animation-delay: 0.09s; }
.nav-links a span:nth-child(5)  { animation-delay: 0.12s; }
.nav-links a span:nth-child(6)  { animation-delay: 0.15s; }
.nav-links a span:nth-child(7)  { animation-delay: 0.18s; }
.nav-links a span:nth-child(8)  { animation-delay: 0.21s; }
.nav-links a span:nth-child(9)  { animation-delay: 0.24s; }
.nav-links a span:nth-child(10) { animation-delay: 0.27s; }


/* 🎯 KONTEJNER PRO LEBKU */

/* 🔥 Overlay – stacking context (ponecháme) */
.overlay {
  position: relative;
  z-index: 1;
}



/* 🎯 Logo-wrapper – referenční bod pro lebku i gify */
.logo-wrapper {
  position: relative;
  z-index: 10; /* logo a gify jsou pod lebkou, ale nad overlay */
}

/* 💀 Lebka – pevná velikost, uprostřed, 20 px nad logem */
.dancing-gif-container.skull {
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
  position: absolute;
  bottom: 81%;        /* zarovná lebku přesně nad logo */
  width: 25%;        /* pevná velikost */
  height: auto;
  z-index: 20;         /* nad SVG logem */
  pointer-events: none;
}

/* GIF uvnitř lebky */
.dancing-gif-container.skull .dancing-gif {
  width: 100%;
  height: auto;
  display: block;
}

/* LOGO KONTEJNER */

.logo-wrapper {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

/* Futuristická reveal animace */
.logo-anim {
  width: 900px;
  max-width: 100%;
  opacity: 0;
  transform: scale(0.8) skewX(-4deg);
  animation: futureReveal 2.2s ease-out forwards;
}

@keyframes futureReveal {
  0%   { opacity: 0; filter: blur(20px); transform: scale(0.7) skewX(-12deg); }
  25%  { opacity: 1; filter: blur(10px); transform: scale(1.1) skewX(4deg); }
  55%  { opacity: 1; filter: blur(3px);  transform: scale(0.95) skewX(-2deg); }
  100% { opacity: 1; filter: blur(0);    transform: scale(1) skewX(0deg); }
}

/* OBSAH */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

section:last-of-type { border-bottom: none; }

h1, h2 {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h1 { font-size: 1.7rem; }
h2 { font-size: 1.2rem; }

p {
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 650px;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 650px;
}

/* - - - - - - - - - - ÚVOD SECTION - - - - - - - - - - - */

.content-below-logo {
  margin-top: 130px;
}

.uvod-section {
  padding: 60px 20px;
  background-color: #111;
}

.section-title {
  font-family: 'SkenetraFuture', sans-serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.uvod-section {
  width: 100%;
  padding: 60px 6vw;
  background: radial-gradient(circle at top, #202020 0, #050505 55%, #000 100%);
  color: #f5f5f5;
}

.uvod-library-header {
  text-align: left;
  margin-bottom: 30px;
}

.uvod-library-header h2 {
  font-size: 26px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.uvod-library-header p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.7;
}

.uvod-title {
  display: inline-block;
}

.uvod-title span {
  display: inline-block;
  transition: transform 0.4s ease;
  transform-origin: center;
  cursor: default;
}

/* Každé písmeno reaguje samo na sebe */
.uvod-title span:hover {
  transform: rotateX(180deg);
}

/* Volitelné: malé zpoždění pro hezčí efekt */
.uvod-title span:nth-child(1) { transition-delay: 0.05s; }
.uvod-title span:nth-child(2) { transition-delay: 0.05s; }
.uvod-title span:nth-child(3) { transition-delay: 0.05s; }
.uvod-title span:nth-child(4) { transition-delay: 0.05s; }

/* - - - - - - - - - - BIO SECTION - - - - - - - - - - - */
.bio-section {
  padding: 60px 20px;
  background-color: #111;
}

.section-title {
  font-family: 'SkenetraFuture', sans-serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bio-library {
  margin-top: 40px;
  width: 100%;
  padding: 60px 6vw;
  background: radial-gradient(circle at top, #202020 0, #050505 55%, #000 100%);
  color: #f5f5f5;
}

.bio-library-header {
  text-align: left;
  margin-bottom: 30px;
}

.bio-library-header h2 {
  font-size: 26px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.bio-library-header p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.7;
}

.bio-title {
  display: inline-block;
}

.bio-title span {
  display: inline-block;
  transition: transform 0.4s ease;
  transform-origin: center;
  cursor: default;
}

/* Každé písmeno reaguje samo na sebe */
.bio-title span:hover {
  transform: rotateX(180deg);
}

/* Volitelné: malé zpoždění pro hezčí efekt */
.bio-title span:nth-child(1) { transition-delay: 0.05s; }
.bio-title span:nth-child(2) { transition-delay: 0.05s; }
.bio-title span:nth-child(3) { transition-delay: 0.05s; }


/* - - - - - - - - - - VIDEO SECTION - - - - - - - - - - - */
.video-section {
  padding: 60px 20px;
  background-color: #111;
}

.section-title {
  font-family: sans-serif;
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.video-carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.video-item {
  max-width: 480px;
  text-align: center;
}

video {
  width: 100%;
  border: 2px solid #333;
}

.video-caption {
  margin-top: 12px;
  font-size: 16px;
  color: #aaa;
}

.videa-title {
  display: inline-block;
}

.videa-title span {
  display: inline-block;
  transition: transform 0.4s ease;
  transform-origin: center;
  cursor: default;
}

/* Každé písmeno reaguje samo na sebe */
.videa-title span:hover {
  transform: rotateX(180deg);
}

/* Volitelné: malé zpoždění pro hezčí efekt */
.videa-title span:nth-child(1) { transition-delay: 0.05s; }
.videa-title span:nth-child(2) { transition-delay: 0.05s; }
.videa-title span:nth-child(3) { transition-delay: 0.05s; }
.videa-title span:nth-child(4) { transition-delay: 0.05s; }
.videa-title span:nth-child(5) { transition-delay: 0.05s; }

/* - - - - - - - - - - VIDEA - - - - - - - -  */

.video-library {
  margin-top: 40px;
  width: 100%;
  padding: 60px 6vw;
  background: radial-gradient(circle at top, #202020 0, #050505 55%, #000 100%);
  color: #f5f5f5;
}

.video-library-header {
  text-align: left;
  margin-bottom: 30px;
}

.video-library-header h2 {
  font-size: 26px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.video-library-header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

/* GRID */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* KARTA VIDEA */

.video-card {
  background: #080808;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: #ff0040;
  box-shadow: 0 0 28px rgba(255, 0, 64, 0.35);
}

/* NÁHLED VIDEA */

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card:hover .video-thumb::after {
  opacity: 1;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}

.video-card:hover .video-thumb video {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* META */

.video-meta {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.video-meta h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

.video-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #ff0040;
  color: #ff0040;
}


/*  ALBA  */

.alba-library {
  margin-top: 40px;
  width: 100%;
  padding: 60px 6vw;
  background: radial-gradient(circle at top, #202020 0, #050505 55%, #000 100%);
  color: #f5f5f5;
}

.alba-library-header {
  text-align: left;
  margin-bottom: 30px;
}

.alba-library-header h2 {
  font-size: 26px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.alba-library-header p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
}

.alba-title {
  display: inline-block;
}

.alba-title span {
  display: inline-block;
  transition: transform 0.4s ease;
  transform-origin: center;
  cursor: default;
}

/* Každé písmeno reaguje samo na sebe */
.alba-title span:hover {
  transform: rotateX(180deg);
}

/* Volitelné: malé zpoždění pro hezčí efekt */
.alba-title span:nth-child(1) { transition-delay: 0.05s; }
.alba-title span:nth-child(2) { transition-delay: 0.05s; }
.alba-title span:nth-child(3) { transition-delay: 0.05s; }
.alba-title span:nth-child(4) { transition-delay: 0.05s; }


/* GRID */

.alba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* KARTA ALBA */

.alba-card {
  background: #080808;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  margin-bottom: 40px;
}

.alba-card:hover {
  transform: translateY(-6px);
  border-color: #ff0040;
  box-shadow: 0 0 28px rgba(255, 0, 64, 0.35);
}

/* NÁHLED ALBA */

.alba-thumb {
  position: relative;
  overflow: hidden;
}

/* čtvercový formát */
.square-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.square-thumb video,
.square-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alba-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.alba-card:hover .alba-thumb::after {
  opacity: 1;
}

.alba-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}

.alba-card:hover .alba-thumb video {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* META */

.alba-meta {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.alba-meta h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

.alba-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #ff0040;
  color: #ff0040;
}


/* VZKAZY */

.guestbook-wrapper {
  width: 100%;        /* Roztáhne kontejner na plnou šířku rodiče */
  max-width: 800px;   /* Ale nepustí ho nad původních 800px */
  margin: 0 auto;     /* Vycentruje blok na střed */
  overflow: hidden;
}

.responsive-iframe {
  width: 100%;        /* Iframe se přizpůsobí šířce kontejneru */
  height: 800px;      /* Výšku můžete nechat pevnou, nebo ji upravit v Media Queries */
  border: none;
}

/* Úprava pro malé mobily */
@media (max-width: 600px) {
  .responsive-iframe {
    height: 600px;    /* Na mobilech může být lepší o něco menší výška */
  }
}

.vzkazy-title {
  display: inline-block;
}

.vzkazy-title span {
  display: inline-block;
  transition: transform 0.4s ease;
  transform-origin: center;
  cursor: default;
}

/* Každé písmeno reaguje samo na sebe */
.vzkazy-title span:hover {
  transform: rotateX(180deg);
}

/* Volitelné: malé zpoždění pro hezčí efekt */
.vzkazy-title span:nth-child(1) { transition-delay: 0.05s; }
.vzkazy-title span:nth-child(2) { transition-delay: 0.05s; }
.vzkazy-title span:nth-child(3) { transition-delay: 0.05s; }
.vzkazy-title span:nth-child(4) { transition-delay: 0.05s; }
.vzkazy-title span:nth-child(5) { transition-delay: 0.05s; }
.vzkazy-title span:nth-child(6) { transition-delay: 0.05s; }