/* ================= SPECIFICKÉ STYLY PRO FAQ ================= */

/* Hero sekce s GIF bannerem */
.hero {
    position: relative !important;
    background-image: url(/res/img/index.gif) !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 280px 20px 280px 20px !important;
    text-align: center !important;
    color: rgb(177, 31, 31) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: var(--hero-brightness);
    z-index: 1;
    transition: filter 0.3s ease;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hero-overlay);
    z-index: 2;
    transition: background 0.3s ease;
}

.hero .p {
    position: relative;
    z-index: 3;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--subtitle-bg);
    color: var(--subtitle-color);
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid var(--subtitle-border);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hlavní obsah FAQ */
main {
    flex-grow: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 50px 20px;
}

main h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-color);
}

.intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0.85;
}

.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--card-bg);
    padding-bottom: 8px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px var(--card-shadow);
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-item summary {
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.chevron {
    border: solid var(--primary-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] .chevron {
    transform: rotate(-135deg);
}

.answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.answer ul {
    padding-left: 20px;
    margin-top: 5px;
}

.answer li {
    margin-bottom: 6px;
}