/* ================= RESET A GLOBÁLNÍ NASTAVENÍ ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* OPRAVA BÍLÉHO POZADÍ PŘI SCROLLOVÁNÍ NA MOBILU */
html, body {
    font-family: "Rubik", sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    /* Použití dynamické výšky viewportu pro mobily */
    min-height: 100dvh; 
    background: url("image (1).png") no-repeat center center fixed;
    background-size: cover;
    background-color: #000; /* Záložní barva, aby nebyla bílá */
    overflow-x: hidden;
}

/* ================= HLAVIČKA (PC VERZE) ================= */
.head-bg {
    position: relative;
    width: 100%;
    z-index: 100;
}

.head-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: -1; 
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 45px;
    padding: 20px 0;
    padding-left: 80px; /* Posun headeru doprava na PC */
}

.logo {
    height: 65px;
    display: block;
}

.nav-container-pc {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-list a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 5px 0;
    transition: opacity 0.3s;
}

.nav-list i {
    margin-right: 8px;
    color: white;
}

/* PLYNULÉ PODTRŽENÍ */
.nav-list a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease-in-out;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ================= HAMBURGER IKONA ================= */
.hamburger {
    display: none; 
    position: fixed;
    top: 25px;
    right: 25px;
    width: 35px;
    height: 25px;
    cursor: pointer;
    z-index: 1000001; 
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    pointer-events: auto !important;
}

.hamburger .line {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}

.hamburger.active .line:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.hamburger.active .line:nth-child(2) { opacity: 0; }
.hamburger.active .line:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* ================= MOBILNÍ MENU (OVERLAY) ================= */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgb(15, 15, 15); 
    z-index: 1000000;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding-top: 80px; 
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    backface-visibility: hidden;
}

.nav-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.nav-list-mobile {
    list-style: none;
    text-align: center;
    width: 100%;
}

.nav-list-mobile li {
    margin: 25px 0;
}

.nav-link {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link i {
    margin-right: 15px;
    color: white;
}

/* ================= OBSAH ================= */
.content {
    padding: 40px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-wrap h1 {
    margin-bottom: 50px;
    font-size: 2.2rem;
    padding: 0 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.vip-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.vip-card {
    transition: transform 0.3s ease;
}

.vip-card:hover {
    transform: translateY(-10px);
}

.vip-card img {
    max-height: 520px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.endtextdiv {
    margin: 50px auto 0;
    max-width: 850px;
    padding: 25px;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
}

.endtext {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #eee;
}

/* ================= RESPONSIVITA (MOBIL) ================= */
@media (max-width: 1000px) {
    .nav-container-pc {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-inner {
        padding-left: 20px; 
        justify-content: space-between;
    }

    .logo {
        height: 55px;
    }

    .vip-grid-container {
        flex-direction: column;
        align-items: center;
    }

    .vip-card img {
        width: 85%;
        max-width: 320px;
        max-height: none;
    }
}