/* RESET CSS - Základní reset všech stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* PWA / native app feel — vypne pull-to-refresh i overscroll bouncing
       (klasický bug "stránka se obnoví když tahnu dolu"). */
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8f8f8;
    /* zabrani gumovemu efektu pri scrollu na hranice + tap highlight off (mobile) */
    overscroll-behavior-y: contain;
    -webkit-tap-highlight-color: transparent;
}

/* PROFI APPKA — vypne modry "tap highlight" na vsech klikacich prvcich na mobilu */
a, button, [role="button"], input[type="submit"], input[type="button"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Smooth scrolling pro anchor odkazy */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}