/* Header Background */
.header-background {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
    background-color: #0d0e10;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    filter: brightness(0.5) blur(5px);
    background-image: url("../../images/backgrounds/DocumentsPage/documentsHeader.webp");
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #b8b8b8;
}

/* Dokumenty Section */
.dokumenty {
    padding: 5rem 2rem;
    background-color: #08080C;
    color: white;
    text-align: center;
}

.dokumenty-content {
    max-width: 1000px;
    margin: 0 auto;
}

.dokumenty h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.dokumenty-content .description {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin-bottom: 2rem;
}
.dokumenty-content b:hover {
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}
/* PDF Container for Desktop */
.pdf-container {
    display: block;
    margin-bottom: 2rem;
}

.pdf-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
}
/* Coming Soon Section */
.coming-soon {
    background: rgba(31, 31, 31, 0.23);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.21);
}

.coming-soon p {
    font-size: 1.25rem;
    color: #b8b8b8;
    margin: 0;
}
/* Download Button for Mobile */
.download-button {
    display: none;
    margin-top: 2rem;
}


.download-button a {
    background-color: #1e1e1e;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.description a {
    color: #5865F2;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.description a:hover {
    opacity: 0.8;
    cursor: pointer;
}
.download-button a:hover {
    background-color: #333;
}
/* Responsive Design */
@media (max-width: 768px) {
    .pdf-container {
        display: none;
    }

    .download-button {
        display: block;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header Background */
    .header-background {
        min-height: 50vh;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Pozvané školy Section */
    .pozvané-školy {
        padding: 2rem 1rem;
    }

    .pozvané-školy h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .pozvané-školy .description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* PDF Container for Mobile */
    .pdf-container {
        display: none;
    }

    /* Download Button for Mobile */
    .download-button {
        display: block;
        margin-top: 1.5rem;
    }

    .download-button a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    /* Coming Soon Section */
    .coming-soon {
        padding: 1.5rem;
    }

    .coming-soon p {
        font-size: 1rem;
    }
}
