:root {
    --main-green: #3fa535;
    --main-white: #fff;
    --main-grey: #f5f5f5;
    --text-dark: #222;
    --header-height: 70px;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--main-grey);
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.topbar {
    background: var(--main-green);
    color: var(--main-white);
    font-size: 0.95em;
    padding: 8px 0;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.topbar a {
    color: var(--main-white);
    text-decoration: underline;
}

header {
    background: var(--main-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 48px;
    background: var(--main-green);
    padding: 6px 18px;
    border-radius: 8px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

nav a {
    color: var(--main-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08em;
    transition: color 0.2s;
}

nav a:hover {
    color: #267a23;
}

.hero {
    background: url('https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    min-height: 340px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(63, 165, 53, 0.25);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 0 48px 0;
    color: var(--main-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero h1 {
    font-size: 2.2em;
    margin-bottom: 0.3em;
}

.hero h2 {
    font-size: 1.5em;
    margin-bottom: 0.7em;
    color: var(--main-white);
}

.hero p {
    font-size: 1.1em;
    max-width: 600px;
    background: rgba(63,165,53,0.13);
    padding: 18px 22px;
    border-radius: 8px;
}

.sluzby {
    background: var(--main-white);
    padding: 48px 0 32px 0;
}

.sluzby h2 {
    color: var(--main-green);
    margin-bottom: 24px;
}

.sluzby-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 1.13em;
}

.sluzby-list li {
    background: var(--main-grey);
    padding: 12px 22px;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.sluzby-list a {
    color: var(--main-green);
    text-decoration: underline;
}

.onas {
    background: var(--main-grey);
    padding: 48px 0 32px 0;
}

.onas h2 {
    color: var(--main-green);
    margin-bottom: 24px;
}

.onas-foto {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.onas-foto img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--main-green);
    background: var(--main-white);
}

.onas p {
    font-size: 1.08em;
    max-width: 700px;
    background: var(--main-white);
    padding: 18px 22px;
    border-radius: 8px;
    margin-top: 0;
}

footer {
    background: var(--main-green);
    color: var(--main-white);
    text-align: center;
    padding: 18px 0;
    margin-top: 32px;
    font-size: 1em;
}

@media (max-width: 800px) {
    .container {
        max-width: 98vw;
        padding: 0 8px;
    }
    .header-flex {
        flex-direction: column;
        gap: 12px;
        height: auto;
        padding: 12px 0;
    }
    nav ul {
        gap: 18px;
    }
    .onas-foto {
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .hero-content {
        padding: 28px 0 28px 0;
    }
    .hero h1 {
        font-size: 1.3em;
    }
    .hero h2 {
        font-size: 1em;
    }
    .sluzby-list {
        flex-direction: column;
        gap: 10px;
    }
    .onas-foto img {
        width: 80px;
        height: 80px;
    }
}