/* Inter hostovaný lokálně (OFL). Dřív se tahal z fonts.googleapis.com, což
   posílalo IP každého návštěvníka Googlu — v rozporu s vlastní GDPR stránkou.
   Variabilní font: jeden soubor pokrývá celý rozsah vah 100–900. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-dim: #64748b;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #f3e8ff;
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
}

section[id], header[id] { scroll-margin-top: 90px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 650px; }

nav {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-weight: 800; font-size: 1.5rem; }
.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.lang { border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; font-weight: 700; color: var(--text-main); }
.nav-links a.lang:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

.hero { padding: 140px 0 110px; text-align: center; background: radial-gradient(circle at top, #f3f0ff 0%, #ffffff 60%); }
.hero-badge {
    display: inline-block; background: var(--accent-light); color: #5b21b6;
    border: 1px solid #ddd6fe; padding: 7px 18px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 28px;
}
h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -0.02em; }
.gradient-text {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.3rem; color: var(--text-dim); max-width: 820px; margin: 0 auto 40px; }
.hero-btns { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

.btn-primary {
    background: var(--accent); color: white; padding: 16px 36px; border-radius: 12px;
    text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block;
    border: none; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-secondary {
    border: 2px solid var(--border); color: var(--text-main); padding: 16px 36px;
    border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s;
    background: white;
}
.btn-secondary:hover { background: #f1f5f9; border-color: #cbd5e1; }

.section { padding: 110px 0; }
.bg-alt { background-color: var(--bg-alt); }
h2 { font-size: 3rem; margin-bottom: 18px; font-weight: 800; text-align: center; }
.section-intro { text-align: center; color: var(--text-dim); max-width: 620px; margin: 0 auto 60px; font-size: 1.1rem; }

.about-flex { display: flex; gap: 80px; align-items: center; }
.about-photo {
    flex: 0 0 320px; width: 320px; height: 320px;
    border-radius: 50%; border: 8px solid white;
    box-shadow: var(--shadow); overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1; }
.about-text h2 { text-align: left; margin-bottom: 24px; }
.about-text p { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tags span {
    background: #ede9fe; border: 1px solid #ddd6fe;
    padding: 8px 18px; border-radius: 30px;
    font-size: 0.92rem; color: #5b21b6; font-weight: 600;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card {
    background: var(--card-bg); padding: 42px; border-radius: 24px;
    border: 1px solid var(--border); transition: 0.4s;
}
.card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.18); }
.card h3 { margin-bottom: 16px; font-size: 1.45rem; color: var(--accent); }
.card p { color: var(--text-dim); }

.cert-container { margin-top: 10px; }
.cert-group { margin-bottom: 40px; }
.cert-group h3 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-dim); text-transform: uppercase; text-align: center; letter-spacing: 0.05em; }
.cert-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.cert-badge {
    background: white; border: 1px solid var(--border);
    padding: 15px 25px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
    transition: 0.3s;
}
.cert-badge:hover { border-color: var(--accent); transform: scale(1.05); }
.cert-badge.in-progress { border-style: dashed; color: var(--accent); border-color: var(--accent); }

.bookings-card {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: white; padding: 80px 40px; border-radius: 40px; text-align: center;
}
.bookings-card h2 { color: white; margin-bottom: 20px; }
.bookings-card p { max-width: 640px; margin: 0 auto; }
.bookings-card .btn-primary { margin-top: 30px; background: white; color: var(--accent); }
.bookings-card p.booking-note { font-size: 1rem; margin-top: 18px; opacity: 0.85; }
.bookings-card a.gdpr-link { color: white; font-weight: 800; text-decoration: underline; }

.contact-box {
    background-color: var(--accent-light);
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.contact-content { flex: 1; text-align: left; }
.contact-box h3 { color: var(--accent); margin-bottom: 20px; font-size: 1.6rem; font-weight: 800; }
.contact-box p { margin-bottom: 10px; color: var(--text-main); font-size: 1.05rem; }
.contact-box p strong { color: var(--text-main); font-weight: 700; }
.contact-cta { margin-top: 18px; }
.contact-cta a { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }

.contact-linkedin {
    flex: 0 0 80px;
    margin-left: 30px;
    margin-top: 5px;
    transition: 0.3s;
}
.contact-linkedin:hover { transform: scale(1.1); }
.contact-linkedin img { width: 100%; height: auto; }

h3.form-headline { font-size: 2.2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text-main); }

#contact-form { background: var(--card-bg); padding: 60px; border-radius: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-group { margin-bottom: 30px; text-align: left; }
label { display: block; margin-bottom: 12px; font-weight: 700; color: var(--accent); }
input, textarea {
    width: 100%; background: #f8fafc; border: 1px solid var(--border);
    padding: 18px; border-radius: 14px; font-family: inherit; font-size: 1rem;
    transition: border-color 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.gdpr-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; text-align: left; font-size: 0.95rem; color: var(--text-dim); position: relative; }
.gdpr-checkbox input { width: auto; margin-top: 5px; cursor: pointer; }
.gdpr-checkbox a { color: var(--accent); text-decoration: none; font-weight: 800; }
.gdpr-checkbox label { font-weight: 400; color: var(--text-dim); display: inline; }

#form-status {
    padding: 14px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
    display: none;
}
#form-status.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    display: block;
}
#form-status.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    display: block;
}

footer { padding: 70px 20px; text-align: center; border-top: 1px solid var(--border); color: var(--text-dim); font-weight: 500; }
.footer-links { margin-top: 12px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .section { padding: 80px 0; }
    .about-flex { flex-direction: column; text-align: center; }
    .about-text h2 { text-align: center; }
    .about-photo { width: 240px; height: 240px; flex: 0 0 240px; }
    .tags { justify-content: center; }
    .contact-box { padding: 25px; flex-direction: column-reverse; align-items: center; gap: 20px; }
    .contact-content { text-align: center; }
    .contact-linkedin { margin-left: 0; margin-top: 0; flex: 0 0 60px; }
    h3.form-headline { font-size: 1.8rem; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .nav-links.open { display: flex; }
    nav { position: relative; }
    .hero-btns { flex-direction: column; align-items: center; }
    #contact-form { padding: 30px 20px; }
}

.btn-block {
    width: 100%;
}

/* Past na roboty ve formulari. Mimo obrazovku, ne display: none — nektere
   roboty skryta pole preskakuji. */
.trap {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
