* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
     font-family: 'Outfit', sans-serif;
    max-width: 100vw;
    overflow-x: hidden;
}

.faq-wrap {
    position: relative;
    background: url('image (1).png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 1;
    max-width: 100%;
   
}

.faq-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(3px);
    z-index: -1;
}

.faq-wrap h1 {
    margin-top: 120px;
    margin-bottom: 50px;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    word-break: break-word;
}

.faq-item {
    width: 100%;
    max-width: 800px;
    margin: 10px 0;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.4s ease-in-out;
}

.faq-item:hover {
    transform: translateY(-8px);
}

.faq-question {
    padding: 20px 25px;
    font-weight: bold;
    font-size: 1.4rem;
    cursor: pointer;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 25px;
    transition: grid-template-rows 0.5s ease-in-out, padding 0.5s ease;
}

.faq-answer > div {
    overflow: hidden;
    font-size: 1.1rem;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 20px 25px;
}

a {
    color: rgb(192, 61, 192);
}

/* --- NAVIGACE (HEADER) STYLY --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    background-color: rgba(0, 0, 0, 0.864);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 10;
    height: 120px;
    display: flex;
    align-items: center;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

nav li {
    height: 100%;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 34px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
    color: #0096c8dc;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.3);
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: 80px;
}

.sidebar li {
    width: 100%;
    height: auto;
}

.sidebar-visible {
    right: 0;
}

.sidebar a {
    width: 100%;
    padding: 15px 30px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #0096c8dc;
}

.menu-button {
    display: none;
    height: 100%;
    align-items: center;
    margin-left: 20px;
    z-index: 1000;
    position: relative;
}

.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #DDDDDD;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
    background-color: #FFFFFF;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
    background-color: #FFFFFF;
}

/* --- Media Queries pro mobilní telefony --- */
@media (max-width: 768px) {
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .faq-wrap h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .faq-answer > div {
        font-size: 1rem;
    }

    nav {
        height: 80px;
    }
    
    nav a {
        padding: 0 10px;
        font-size: 20px;
    }
    
    nav li:first-child a {
        font-size: 22px; 
        padding-left: 15px;
    }
}