html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 70px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f7fa;
}

/* FIXNÍ HORNÍ MENU */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 55px;
    border-radius: 8px;
}

.nav-center {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.nav-center a {
    text-decoration: none;
    color: #0077c2;
    font-weight: bold;
}

.nav-right {
    display: flex;
    margin-right: 70px;
}

.nav-order {
    background: #0077c2;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #0077c2, #0096d6);
    color: white;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.hero-logo {
    width: 180px;
    background: white;
    padding: 15px;
    border-radius: 12px;
}

.hero-content h1 {
    font-size: 42px;
    margin: 0;
}

.hero-content h2 {
    font-size: 22px;
    font-weight: 300;
    margin-top: 10px;
}

/* KARTY */
.card {
    background: white;
    max-width: 800px;
    margin: 25px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.card h3 {
    color: #0077c2;
}

/* SEKCÍ */
.aktuality,
.kdo,
.pojistovny {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.aktuality-img,
.kdo-img,
.pojistovny-img {
    width: 250px;
    border-radius: 10px;
}

/* KONTAKT */
.kontakt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-link {
    background: #0077c2;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

.kontakt-info-bar {
    background: #0077c2;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.info-icon {
    font-size: 32px;
}

.kontakt-flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

/* MOBIL – 3 ŘÁDKY MENU */
@media (max-width: 600px) {

    .topnav {
        flex-direction: column;
        padding: 15px 20px;
        gap: 12px;
    }

    /* 1. řádek – logo */
    .nav-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* 2. řádek – odkazy */
    .nav-center {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 0 !important;
    }

    /* 3. řádek – telefon */
    .nav-right {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-right: 0 !important;
    }

    .nav-order {
        width: 100%;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .aktuality,
    .kdo,
    .pojistovny,
    .kontakt-flex,
    .kontakt-info-bar {
        flex-direction: column;
        text-align: center;
    }

    .aktuality-img,
    .kdo-img,
    .pojistovny-img {
        width: 70%;
        max-width: 300px;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #eef2f5;
}
