body {
  margin: 0;
  padding: 0;
}

.menu-header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
}

.site-title {
  font-family: "Space Grotesk", sans-serif !important;
  font-weight: bold;
  font-size: 3rem;
  color: white;
  font-variation-settings: normal;
    font-style: normal;
    line-height: 2.222rem;
    text-transform: lowercase;
  letter-spacing: 2px;
  }

.site-title a {
  text-decoration: none !important;
  }  

/* --- Toggle tlačítka --- */
.hamburger,
.close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

/* hamburger – 3 proužky bez extra HTML */
.hamburger {
  width: 30px;
  height: 22px;
  display: block;          /* viditelný na startu */
  background:
    linear-gradient(#fff 0 0) 0 0/100% 3px,
    linear-gradient(#fff 0 0) 0 50%/100% 3px,
    linear-gradient(#fff 0 0) 0 100%/100% 3px;
  background-repeat: no-repeat;
}

.close {
  display: none;          
  font-size: 32px;
  line-height: 1;
  color: #fff !important;
  text-shadow: 0 0px 0 #fff;
  filter: none !important;
  opacity: 1 !important;
}

.close:hover {
  color: #7b7b7b !important  ;
}

/* --- Fullscreen menu --- */
#menu {
  font-family: "Questrial", sans-serif !important;
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100%;
  background: rgba(0,0,0,0.95);
  color: #fff;
  display: flex;
  flex-direction: column;          /* aby šel social dolů, když budete chtít */
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);    /* skryté na startu */
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

#menu.active {
  transform: translateY(0);        /* otevřené */
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

#menu ul li {
  margin: 20px 0;
}

#menu ul li a,
#menu ul li {
  color: #fff;
  text-decoration: none;
  font-size: 2.8rem;
  text-transform: lowercase;
  letter-spacing: 2px;
  line-height: 1.5;
}

#menu ul li a:hover {
  color: #ebca89 !important;
  transition: background .25s, transform .25s, border-color .25s, color .25s;

}

/* --- Social --- */
#menu .social {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

#menu .social i {
  font-size: 20px;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .25s, transform .25s, border-color .25s, color .25s;
}

#menu .social i:hover {
  color: #7b7b7b;
}

/* --- Lang --- */
#menu .lang {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

#menu .lang a {
  font-size: 20px;
  color: #fff;
  width: 40px;
  height: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .25s, transform .25s, border-color .25s, color .25s;
}

#menu .lang a:hover {
  color: #7b7b7b !important;
}

/* Mobil */
@media (max-width: 768px) {
  #menu .social i { font-size: 22px; padding: 12px; }
}


.image-container {
  width: 100%;       /* nastav dle potřeby */
  height: 200px;
  overflow: hidden;   /* ořízne přetékající část */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* zachová poměr, ořízne okraje */
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.1); /* zvětší obrázek o 10% */
}

.camera_caption .txt4 {
  font-family: "Questrial", sans-serif !important;
  letter-spacing: 2px !important;
  text-transform: none !important;
  color:#fff !important;
  font-size: 2.0rem;
}

.camera_caption .txt1 {
  font-family: "Space Grotesk", sans-serif !important;
  text-transform: none !important;
  font-size: 50px;
  font-weight: bold !important;
  color:#fff !important;
}

@media (max-width: 991px) {
    .camera_caption .txt {
        font-size: 50px;
    }
}

.btn-default.btn0 {
    font-family: "Questrial", sans-serif !important;
    display: inline-block;
    color: #000;
    border: none;
    font-size: 12px;
    line-height: 23px;
    font-weight: 700;
    padding: 13px 20px;
    text-decoration: none;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 0px;
    text-transform: uppercase;
    background: #e5e1d8;
    position: relative;
    border: 2px solid #e5e1d8;
    transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    }



    .gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* vždy 2 sloupce */
  gap: 16px;
    width: 100%;
}

.card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  aspect-ratio: 16 / 6;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ořízne obrázek, ale zachová poměr */
  filter: saturate(50%) brightness(110%);
}


/* Overlay pro tmavnutí */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* na začátku průhledné */
  transition: background 0.5s ease;
  z-index: 1;
}

.card:hover img {
  transform: scale(1.15); /* větší zoom při hoveru */
  transition: transform 0.5s ease; /* pomalejší zvětšení */
}

.card:hover::after {
  background: rgba(0,0,0,0.7); /* ztmavení při hoveru */
}

/* výchozí stav – neviditelné */
.card[data-animation]{
  opacity: 0;
  will-change: transform, opacity;
}

/* po aktivaci animace */
.card.is-in{
  opacity: 1;
  animation-duration: .6s;
  animation-timing-function: ease;
  animation-fill-mode: both;           /* zůstat v cílovém stavu */
  animation-delay: var(--delay, 0ms);  /* podpora zpoždění */
}

/* mapování datového atributu na konkrétní animaci */
.card.is-in[data-animation="fadeInLeft"]  { animation-name: fadeInLeft; }
.card.is-in[data-animation="fadeInRight"] { animation-name: fadeInRight; }
.card.is-in[data-animation="fadeInUp"]    { animation-name: fadeInUp; }
.card.is-in[data-animation="fadeInDown"]  { animation-name: fadeInDown; }

/* keyframes */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.overlay {
  position: absolute;
  top: 40%;
  bottom: 30%;
  left: 0;
  right: 0;
  color: #fff;
  padding-left: 30px;
  z-index: 2; /* aby text nebyl pod ztmavením */
}

.overlay .title {
  font-family: "Questrial", sans-serif !important;
  font-weight: bold;
  font-size: 2.2rem;
}

.overlay .year {
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr; /* mobil = 1 sloupec */
  }
}

.badge {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 6px;
  box-sizing: border-box;
  z-index: 3;
  text-decoration: none !important;}
}

.badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 4px;
}

.badge--nom { background: rgba(62, 191, 111, 0.5); }
.badge--win { background: rgba(212, 175, 55, 0.5); }

/* POZOR: tady už žádné top/right u .badge--lev / .badge--slnko */
.badge--lev   { }
.badge--slnko { }

/* obal jedné položky v galerii */
.card-wrap{
  display: flex;
  flex-direction: column;
  gap: 10px;              /* mezera mezi kartou a tlačítkem */
}

.card-wrap .card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-wrap .card:hover .overlay .title {
  text-decoration: underline;
}


/* tlačítko pod kartou */
.more{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease;
  pointer-events: auto;
}
.more svg{ width:16px; height:16px; stroke:currentColor; }
.more:hover{ background: rgba(255,255,255,0.3); transform: translateX(3px); }

/* pokud jsi měl dřív .more absolutně v overlay, zruš to: */
.card .overlay .more{ position: static; right:auto; bottom:auto; margin-top: 8px; }

.load-more {
  font-family: "Space Grotesk", sans-serif !important;
  display: block;
  margin: 20px auto;
  color: #FFFAF0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10rem;
}

.load-more:hover {
  color: #ebca89;
}

/* -- HELP CLASS -- */

.center-text {
  display: flex;
  flex-direction: column;
  align-items: center; /* horizontální střed */
}

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

.color-gray {
   color: gray !important;
}

.margin-50 {
   margin-bottom: 50px; !important;
}

.font-space_h4 {
   font-family: "Bebas Neue", sans-serif !important;
   text-transform: uppercase;
   margin-top: 50px;
}

/* -- HOME KONTAKT -- */

#contacts {
font-family: "Space Grotesk", sans-serif !important;
}
#contacts a {
   color: gray !important;
}
#contacts a:hover {
   color: black !important;
}

/* Team - kulaté obrázky */
.avatar{
  width:150px; 
  height:150px;              
  border-radius:50%;
  overflow:hidden;
  position:relative;
}
.avatar > img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.avatar::after{
  --ring: 2px;        
  --shrink: 2px;     
  content:"";
  position:absolute;
  inset:var(--shrink);
  border-radius:50%;
  box-shadow:0 0 0 var(--ring) gray inset;
  pointer-events:none;
}

/* Social - barvy */
.social li a {
   background-color: transparent !important;
   color: black !important;
   border: 2px solid black !important;
}

/* -- TO THE TOP -- */
#toTopHover {
    background: url(../media/core/totop_new.png) no-repeat left bottom !important;
    }
#toTop {
background: url(../media/core/totop_new.png) no-repeat left top !important;
}

/* -- SEKCE -- */
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin: 40px 0 20px;
  position: relative;
  line-height: 1.2;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ebca89;
  margin: 12px auto 0;
  border-radius: 2px;
}

.testim_pagination a:hover, .testim_pagination a.selected {
    background: #ebca89 !important;
    border-color: #ebca89 !important;
}











/* ===== DETAIL REFERENCE (můžeš přesunout do CSS) ===== */
.ref-detail {
  background:#252525;
  color:#fff;
  padding:24px 16px;
}
.ref-detail .container{
  max-width: 1100px;
  margin: 0 auto;
}
.ref-head {
  display: flex;
  align-items: center;   /* zarovnání nadpisu a odznaku na střed */
  gap: 20px;             /* mezera mezi názvem a lvem */
  margin-bottom: 24px;
  flex-wrap: wrap;       /* pro mobily, aby se to zalomilo */
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.2); /* podtržení */
}

.ref-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.ref-lev {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.ref-lev img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.ref-meta {
  opacity:.85;
  font-size: 15px;
  margin-top: 6px;
}
.ref-hero {
  position:relative;
  overflow:hidden;
  background:#111;
}
.ref-hero img{
  width:100%;
  height:auto;
  display:block;
  max-height: 70vh;
  object-fit: cover;
}

/* kulatý badge vpravo nahoře (logo + text uvnitř) */
.badge{
  position:absolute;
  top:10px;
  right:10px;         /* pravý horní roh */
  width:70px;
  height:70px;
  border-radius:50%;
  background: rgba(212,175,55,0.75); /* výchozí zlatavá poloprůhledná */
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  padding:6px;
  box-sizing:border-box;
  z-index:2;
}
/* odlišení barev pro nominaci / ocenění */
.badge--nom { background: rgba(62, 191, 111, 0.5); }   /* šedá, 70 % krytí */
.badge--win { background: rgba(212, 175, 55, 0.5); }   /* zlatá, 70 % krytí */

.badge img{
  width:24px; height:24px; object-fit:contain; margin-bottom:4px; display:block;
}

/* popis / obsah */
.ref-body {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #eee;
}

/* zpět */
.ref-back {
  margin-top: 18px;
}
.ref-back a{
  display:inline-block;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  padding:8px 14px;
  transition: background .2s ease, transform .2s ease;
}
.ref-back a:hover{
  background: rgba(255,255,255,.15);
  transform: translateX(-2px);
}

.ref-trailer {
   margin-top: 0px;      /* mezera nad trailerem */
   margin-bottom: 20px;   /* mezera pod trailerem = před .ref-hero */       
   }

.ref-trailer strong {
  display: block;
  margin-bottom: 0px;      /* mezera mezi nadpisem a iframe */
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 1200px;         /* volitelně omez šířku */
  aspect-ratio: 16/9;
  overflow: hidden;         /* nutné, aby se rohy schovaly */
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}















/* ===== VZHLED SEKCE ===== */
.tabs-section{
  background:#252525;
  color:#fff;
  padding: 100px 16px 8px;
}


/* ===== LIŠTA ZÁLOŽEK ===== */
.tabs{
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  backdrop-filter: saturate(140%) blur(4px);
}

.tab{
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: #ddd;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, transform .15s ease;
  outline: none;
}
.tab:hover{ color:#fff; transform: translateY(-1px); }
.tab.is-active{ color:#111; }

/* ink bar (aktivní „pilulka“) */
.tabs-ink{
  position: absolute;
  top: 8px; bottom: 8px;
  width: 0;
  border-radius: 999px;
  background: #fff; /* světlá pilulka pod aktivním tabem */
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: left .25s ease, width .25s ease;
  z-index: 0;
}
.tab{ z-index: 1; } /* text nad pilulkou */

.tab:focus-visible{
  box-shadow: 0 0 0 3px rgba(212,175,55,.6);
}

/* ===== PANELY ===== */
.panels{
  max-width: 1200px;
  margin: 18px auto 0;
}
.panel{
  border-radius: 16px;
  background: transparent;
  padding: 16px;
  animation: fadeIn .25s ease both;
}
.panel[hidden]{ display:none; }
.panel-content h3{
  margin: 0 0 8px;
  font-size: 20px; font-weight: 800;
}
.panel-content p{ margin: 0 0 8px; color:#ddd; }

@keyframes fadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}


/* Volitelné: přidej trochu mezer, ať dýchá pod patou sekce */
.tabs-section{ padding-bottom: 24px; }

.ref-badges{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}

.ref-badge{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  padding:6px 8px;
  border-radius:10px;
  background: rgba(0,0,0,.25);
  color:#fff;
  min-width:72px;
}

.ref-badge img{
  height:28px;
  width:auto;
  display:block;
  margin-bottom:4px;
}

.ref-badge .badge-year{
  font-size:12px;
  opacity:.85;
}

/* volitelné: rozlišení win/nom */
.ref-badge.badge--win{ outline: 2px solid rgba(255,255,255,.35); }
.ref-badge.badge--nom{ outline: 1px solid rgba(255,255,255,.18); }