/* RESET A ZÁKLAD */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
}

/* KONTEJNER */

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* HLAVIČKA SARKARI */

.site-header.header-sarkari {
    background: #020617;
    border-bottom: 1px solid #1e293b;
    color: #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

/* LOGO */

.logo-sarkari {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 20%, #a855f7, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 600;
    font-size: 1rem;
    color: #e5e7eb;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* NAVIGACE – PODTRŽENÍ */

.nav-sarkari {
    display: flex;
    gap: 1.5rem;
}

.nav-link-sarkari {
    position: relative;
    text-decoration: none;
    font-size: 0.9rem;
    color: #9ca3af;
    padding-bottom: 4px;
    transition: color 0.15s ease;
}

.nav-link-sarkari::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5, #a855f7);
    transition: width 0.18s ease;
}

.nav-link-sarkari:hover {
    color: #e5e7eb;
}

.nav-link-sarkari.active {
    color: #e5e7eb;
}

.nav-link-sarkari.active::after {
    width: 100%;
}

/* MAIN & HERO */

main {
    flex: 1;
}

.hero-sarkari {
    background: radial-gradient(circle at top left, #e5e7eb 0%, #f3f4f6 40%, #f9fafb 100%);
    padding: 3.5rem 0 2.5rem;
}

.hero-sarkari-compact {
    padding: 2.5rem 0 1.5rem;
    background: #f3f4f6;
}

.hero-sarkari-inner {
    display: flex;
    justify-content: flex-start;
}

.hero-text {
    max-width: 640px;
}

.hero-sarkari h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #020617;
    margin-bottom: 0.75rem;
}

.hero-sarkari-compact h1 {
    font-size: 1.8rem;
}

.hero-description {
    font-size: 1rem;
    color: #4b5563;
}

.eyebrow-sarkari {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a855f7;
    margin-bottom: 0.35rem;
}

/* NOTICE (OZNÁMENÍ) */

.notice-sarkari {
    padding: 0.5rem 0 3rem;
}

.notice-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.notice-text h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    max-width: 520px;
}

.notice-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6b7280;
    margin-bottom: 0.4rem;
}

.notice-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.45rem;
}

.notice-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* TLAČÍTKA SARKARI */

.btn-sarkari {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.7rem;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
    background-image: linear-gradient(135deg, #4f46e5, #a855f7);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
    cursor: pointer;
}

.btn-sarkari:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.55);
}

.btn-sarkari:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.4);
}

/* Druhé tlačítko – náhled */

.btn-outline {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    box-shadow: none;
    padding: 0.7rem 1.5rem;
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.08);
    filter: none;
    box-shadow: none;
}

/* KONTAKT SEKCE */

.contact-sarkari {
    padding: 1.5rem 0 3rem;
}

.contact-layout-sarkari {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
    gap: 1.75rem;
    align-items: flex-start;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

/* KONTAKT – LEVÁ KARTA */

.contact-card-sarkari {
    padding: 1.75rem 1.75rem 1.4rem;
    border-left: 4px solid #4f46e5;
}

.contact-card-sarkari h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #111827;
}

.contact-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.25rem;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
}

.contact-value {
    font-size: 0.95rem;
    color: #111827;
}

/* KONTAKT – MAPA */

.map-card-sarkari {
    padding: 0.8rem;
    background: #f9fafb;
}

.map-iframe-sarkari {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 16px;
}

/* FOOTER – STICKY */

.footer-sarkari.site-footer {
    border-top: 1px solid #e5e7eb;
    background: #020617;
    color: #9ca3af;
    padding: 1.1rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* PDF PREVIEW MODAL */

.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 9999;
}

.pdf-modal.open {
    display: flex;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.pdf-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button */

.pdf-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.pdf-close:hover {
    background: #b91c1c;
}

/* RESPONSIVITA */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.6rem 0 0.8rem;
    }

    .nav-sarkari {
        gap: 1rem;
    }

    .hero-sarkari {
        padding-top: 2.8rem;
    }

    .notice-card {
        padding: 1.4rem 1.4rem 1.6rem;
        align-items: flex-start;
    }

    .contact-layout-sarkari {
        grid-template-columns: 1fr;
    }

    .map-iframe-sarkari {
        min-height: 230px;
    }
}

@media (max-width: 600px) {
    .contact-columns {
        grid-template-columns: 1fr;
    }

    .contact-card-sarkari {
        padding: 1.4rem 1.4rem 1.1rem;
    }

    .hero-sarkari h1 {
        font-size: 1.9rem;
    }

    .pdf-modal-content {
        height: 80vh;
    }
}
