* {
     font-family: "Montserrat", sans-serif;

}

body {
  background-color: #000;
}


/*
selektor {
    atribut: hodnota;
    atribut: hodnota;
    atribut: hodnota;
    atribut: hodnota;
}
/*

/* Navigace */

.Habet-logo {
    padding-left: 80px;
}

nav {
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    justify-content: space-between;
}

.Navigace ul {
    display: flex;
    list-style: none;
}

.Navigace ul li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid white;
}

.Navigace ul a {
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
}

.Navigace ul li:hover {
  display: inline-block;
}

.Navigace ul li:after {
  content: '';
  width: 0px;
  height: 1px;
  display: block;
  background: #ffffff;
  transition: 300ms;
}

.Navigace ul li:hover:after {
  width: 100%;
}

/* Hero sekce s obrázkem */

.hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-img {
    max-width: 100%;
    height: auto;
}


/* Pruh */

.season-bar {
    position: absolute;
    top: 10px;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between; /* rozdělí pruh na dvě části */
    gap: 2px; /* mezera mezi tlačítky */
    width: 98%;
    height: 80px;
    background-color: transparent; /* odstraníme pruh, protože budou dva boxy */
    z-index: 1000;
}

.season-button {
    flex: 1; /* každý zabere 50 % šířky */
    background-color: rgba(80, 124, 91, 0.58);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0; /* žádné extra zakřivení uvnitř */
    text-align: center;
    transform: skew(-3deg); /* zachová zkosení */
}

.season-button:first-child {
    border-radius: none; /* levé zaoblení */
}

.season-button:last-child {
    border-radius: none; /* pravé zaoblení */
}


.season-button:hover {
    background-color: rgba(106, 204, 136, 0.76);
}

.season-bar_mobile-only {
    display: none;
}

.season-button_mobile-only {
    display: none;
}


/* SPONZOŘI */
.sponsor-grids-container {
    display: flex;
    gap: 300px;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0px;
}

.sponsor-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sponsor-tile:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

.sponsor-tile img.btn-logo {
    width: 150px;
    height: auto;
    margin-bottom: 5px;
}

.sponsor-caption {
    margin-top: 8px;
    font-size: 16px;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}


/* Roteiro video*/

#video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#video-overlay.show {
    display: flex;
}


/* QR přes celou */

#qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Viditelný stav */
#qr-overlay.show {
    display: flex;
}

/* Modal s QR kódem */
.qr-modal {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.qr-modal img {
    max-width: 300px;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* === HAMBURGER IKONA === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .hamburger { display: flex; }
    .Navigace ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 220px;
        background-color: #000;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 0 10px 0;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.5);
    }
    .Navigace ul.show { right: 0; }
    .Navigace ul li { padding: 1rem; width: 100%; text-align: center; }
    .Navigace ul li a { color: white; font-size: 18px; }
}

@media (max-width: 500px) {

    /* Pozadí */
body {
background: linear-gradient(to bottom, #000000, #34c26fc9);
background-repeat: no-repeat;
}

.hero-img {
display: none;
}

.hero {
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

    /* Navigace - hamburger menu */
  .hamburger {
    transform: scale(0.8);
  }

  #nav-menu li a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .Navigace ul li {
    border-bottom: 1px solid white;
    margin: 0 auto;
    width: calc(100% - 20px);
  }


/* LOGO */
    .Habet-logo {
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

  .Habet-logo img {
    width: 70px !important;
    height: auto !important;
    margin-left: 20px;
    text-align: center !important;
    justify-content: center;   /* ✅ zarovnání na střed vodorovně */
    align-items: center; 
  }

  .season-bar {
    display: none;
  }


/* Tabulky */
  .sponsor-grids-container {
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 16px 40px;
  }

  .season-bar_mobile-only {
    display: flex;
    justify-content: center;
    width: 90%;
  }

  .season-bar_mobile-only .season-button {
    height: 50px;
    width: auto;
    max-width: 300px;
  }

  .sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    column-gap: 1px; /* vodorovná mezera */
    row-gap: 1px;    /* svislá mezera */
    justify-items: center;
    width: 100%;
    max-width: 350px;
  }

.sponsor-tile {
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: transparent;
  border-radius: 1px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;

  width: auto;             /* místo 15px */
  padding: 30px 30px;       /* menší vnitřní odsazení */
  line-height: 0;          /* odstraní mezeru pod obrázkem */
  overflow: hidden;        /* schová mikropásky */
}

.sponsor-tile:hover {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.2);
}

.btn-logo,
.sponsor-tile img.btn-logo {
  width: 110px;              /* zmenšeno z 80px */
  height: auto;
  display: block;
}

.season-button_habeti {
    top: 0px;
    height: 50px;
    width: 100%;
    background-color: rgba(80, 124, 91, 0.58);
    border: none;
    color: #fff;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0; /* žádné extra zakřivení uvnitř */
    text-align: center;
    transform: skew(-3deg); /* zachová zkosení */
    cursor: default;
}

.season-button_habeti:hover {
    background-color: rgba(106, 204, 136, 0.76);
}


.season-button_partneri {
    margin-top: 40px;
    top: 0px;
    height: 50px;
    width: 100%;
    background-color: rgba(105, 180, 124, 0.671);
    border: none;
    color: #fff;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0; /* žádné extra zakřivení uvnitř */
    text-align: center;
    transform: skew(-3deg); /* zachová zkosení */
    cursor: default;
}

.season-button_partneri:hover {
    background-color: rgba(106, 204, 136, 0.76);
}


}