/* RESET & 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: #0f172a;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
}

/* KONTEJNER */

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* HLAVIČKA */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

/* BRAND – textový logotyp */

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #022c22;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
}

/* NAVIGACE */

.nav {
    display: flex;
    gap: 1.3rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: #6b7280;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.15s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: #0f766e;
    transition: width 0.18s ease;
}

.nav-link:hover {
    color: #0f766e;
}

.nav-link.active {
    color: #0f766e;
}

.nav-link.active::after {
    width: 100%;
}

/* MAIN & HERO */

main {
    flex: 1;
}

.hero {
    padding: 3.2rem 0 2.4rem;
    background: radial-gradient(circle at top left, #e5f9f3 0%, #f5f5f7 50%, #f9fafb 100%);
}

.hero-compact {
    padding: 2.4rem 0 1.4rem;
    background: #f5f5f7;
}

.hero-inner {
    display: flex;
    justify-content: flex-start;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: stretch;
}

.hero-text-block {
    max-width: 640px;
}

.hero-text-block h1 {
    font-size: 2.35rem;
    font-weight: 700;
    color: #022c22;
    margin-bottom: 0.85rem;
}

.hero-lead {
    font-size: 1rem;
    color: #4b5563;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.35rem;
}

/* Hero panel vpravo */

.hero-panel {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 1.5rem 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-panel-header {
    margin-bottom: 0.75rem;
}

.panel-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.hero-panel-header h2 {
    font-size: 1.1rem;
    color: #111827;
}

.hero-panel-body p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* NOTICE SEKCE */

.notice {
    padding: 0.5rem 0 3rem;
}

.notice-panel {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #d1fae5;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 1.6rem 1.9rem;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
    gap: 1.4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.notice-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border-left: 4px solid #0f766e;
    pointer-events: none;
}

.notice-content {
    position: relative;
}

.notice-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.notice-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.notice-text {
    font-size: 0.92rem;
    color: #4b5563;
    margin-top: 0.4rem;
}

.notice-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* TLAČÍTKA */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.7rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-main {
    background: #0f766e;
    color: #ecfdf5;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.28);
}

.btn-main:hover {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 118, 110, 0.35);
}

.btn-main:active {
    transform: translateY(0);
    box-shadow: 0 7px 16px rgba(15, 118, 110, 0.3);
}

.btn-ghost {
    background: transparent;
    color: #0f766e;
    border: 1.5px solid #0f766e;
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(15, 118, 110, 0.06);
}

/* KONTAKT */

.contact {
    padding: 1.7rem 0 3.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
    gap: 1.7rem;
    align-items: flex-start;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

/* Kontakt – levá karta */

.contact-card {
    padding: 1.7rem 1.8rem 1.4rem;
    border-left: 4px solid #0f766e;
}

.contact-card h2 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #111827;
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 1.3rem;
    row-gap: 0.1rem;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
}

.contact-value {
    font-size: 0.95rem;
    color: #111827;
}

/* Mapa */

.map-card {
    padding: 0.85rem;
    background: #f9fafb;
}

.map-iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 14px;
}

/* FOOTER – stejně podbarvený jako hero */

.site-footer {
    border-top: 1px solid #e5e7eb;
    background: radial-gradient(circle at top, #e5f9f3 0%, #f5f5f7 55%, #ffffff 100%);
    color: #6b7280;
    padding: 1.1rem 0;
    text-align: center;
    font-size: 0.85rem;
}


/* PDF MODAL – společné */

.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    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: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.45);
}

.pdf-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button */

.pdf-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.pdf-close:hover {
    background: #b91c1c;
}

/* RESPONSIVITA */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.7rem 0 0.9rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 0.5rem;
    }

    .notice-panel {
        grid-template-columns: 1fr;
        padding: 1.4rem 1.5rem;
    }

    .notice-actions {
        justify-content: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-iframe {
        min-height: 230px;
    }
}

@media (max-width: 600px) {
    .hero-text-block h1 {
        font-size: 2rem;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.4rem 1.4rem 1.2rem;
    }

    .pdf-modal-content {
        height: 80vh;
    }
}
