:root {
  --accent: #f6b33d;
  --accent-2: #c93a3a;
  --white: #fff;
  --overlay-start: rgba(196, 40, 40, 0.85);
  --overlay-end: rgba(246, 179, 61, 0.75);
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 50;
  transition: background-color .25s, backdrop-filter .25s;
}

.nav.transparent {
  background: transparent;
}

.nav.solid {
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(4px);
}

.logo {
  display: flex;           /* Zarovná obrázek na střed */
  align-items: center;     /* Vertikální centrování */
  text-decoration: none;   /* Odstraní podtržení odkazu */
  height: 100%;            /* Využije výšku navigace */
}

/* Styl pro samotný obrázek */
.logo img {
  max-height: 70px;       /* Nastavíme výšku menší než 72px (výška lišty), aby zbylo místo */
  width: auto;            /* Zachová poměr stran */
  display: block;         /* Odstraní nechtěné mezery pod obrázkem */
  transition: opacity 0.3s;
}

.logo img:hover {
  opacity: 0.9;           /* Jemný efekt při najetí myší */
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.flag-img {
  width: 26px;
  height: 18px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.flags {
  display: flex;
  gap: 8px;
}

.flag {
  width: 26px;
  height: 18px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
}

.bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/index-hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, var(--overlay-start), var(--overlay-end));
  mix-blend-mode: multiply;
  opacity: .95;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 10;
  padding: 120px 8%;
}
.hero-logo {
  display: block;
  width: 100%;             /* Roztáhne se na šířku kontejneru */
  max-width: 1200px;        /* Maximální šířka na PC (upravte dle potřeby) */
  height: auto;            /* Zachová poměr stran, aby se nedeformovalo */
  margin: 0 auto 30px auto;/* Vycentruje a přidá mezeru dolů (margin-bottom) */
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); /* Stín pod logem pro lepší čitelnost */
}
.date-pill {
  display: inline-block;
  padding: 12px 18px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
}

h1 {
  font-size: 70px;
  line-height: 0.95;
  margin: 0 0 18px 0;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn.gallery {
  background: var(--accent);
  color: #111;
}

.btn.livestream {
  background: var(--accent-2);
  color: var(--white);
}

.btn.ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* Responsive */
@media(max-width: 1100px) {
  h1 { font-size: 55px; }
  .hero-inner {
    padding: 100px 20px; /* Zmenší okraje, aby mělo logo více místa */
  }
}

@media(max-width: 700px) {
  .menu { display: none; }
  h1 { font-size: 30px; }
  .hero-inner {
    padding: 100px 20px; /* Zmenší okraje, aby mělo logo více místa */
  }
}
/* Hamburger pro mobil */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Zobrazení hamburgeru na mobilu */
@media(max-width: 700px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: var(--nav-height);
    right: -300px; /* skryté mimo obrazovku */
    width: 250px;
    height: calc(100% - var(--nav-height));
    background: rgba(10,10,10,0.95);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transition: right 0.3s;
    z-index: 100;
  }

  .menu.active {
    right: 0; /* vysune menu */
  }
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.information {
  padding: 100px 8%;
  background: #f5f5f5;
  color: #111;
}

.information h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.information p, .information ul {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.information ul li {
  margin-bottom: 10px;
}


/* Competition page */
.info-hero .bg {
  background-image: url('../images/info-hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}


.competition {
  padding: 100px 8%;
  background: #f5f5f5;
  color: #111;
}

.competition h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.competition p, .competition ul {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.competition ul li {
  margin-bottom: 10px;
}
/* Hero pro Competition page */
.competition-hero .bg {
  background-image: url('../images/competition-hero.jpg'); /* nahraď vlastní fotkou */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Guests page */
.guests {
  padding: 100px 8%;
  background: #f5f5f5;
  color: #111;
}

.guests h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.guests p, .guests ul {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.guests ul li {
  margin-bottom: 10px;
}

/* Hero pro Guests page */
.guests-hero .bg {
  background-image: url('../images/guests-hero.jpg'); /* dej vlastní obrázek */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.guests-hero .overlay {
  background: linear-gradient(115deg, rgba(196, 40, 40, 0.85), rgba(246, 179, 61, 0.75));
  mix-blend-mode: multiply;
  opacity: 0.95;
  z-index: 1;
}

/* results page */
.results {
  padding: 60px 8%;
  background: #f5f5f5;
  color: #111;
}

.results h2 {
  font-size: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.results iframe {
  width: 100%;
  max-width: 1200px;
  height: 600px;
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.sponsors {
  padding: 60px 8%;
  background: #fff;
  text-align: center;
}

.sponsors h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 40px;
  color: #333;
  text-transform: uppercase;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  height: 60px;
  width: auto;
  opacity: 0.85;
  transition: opacity .25s, transform .25s;
}

.sponsor-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media(max-width: 600px) {
  .sponsor-logos img {
    height: 40px;
  }
}
/* Plovoucí sociální tlačítka */
.social-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 200;
  transition: opacity .3s, transform .3s;
}

.social-floating img {
  width: 48px;
  height: 48px;
 
   object-fit: contain;
  cursor: pointer;
 
  transition: transform .2s;
}

.social-floating img:hover {
  transform: scale(1.1);
}

/* Skryté (před scrollnutím) */
.social-floating.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Region cards */
.region-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.region-cards .card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.region-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

.region-cards .icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.region-cards .learn-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #0077ff;
}

/* Photo-based region cards */
.photo-cards .card {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}

.photo-cards .photo {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.photo-cards h3 {
  margin: 16px 16px 8px;
}

.photo-cards p {
  margin: 0 16px 16px;
}

.photo-cards .learn-more {
  display: block;
  margin: 0 16px 16px;
  font-weight: 600;
  color: #0077ff;
}