/* ==========================================================
   ZÁKLAD STRÁNKY
   ========================================================== */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    padding: 70px 0 50px 0;
    width: 100%;
    min-height: 100vh;
    background-image: url("../img/pozadi.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}


/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #222;
    z-index: 1000;
}

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


/* ==========================================================
   LOGO
   ========================================================== */
.logo {
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}

.logo:hover {
    color: #bdbdbd;
}

.logo:hover img {
    filter: brightness(0.8);
}


/* ==========================================================
   HLAVNÍ MENU
   ========================================================== */
.menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 20px 24px;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-decoration: none;
}

.menu a:hover {
    background-color: #444;
}


/* ==========================================================
   ROLETKA
   ========================================================== */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin: 0;
    padding: 0;
    background-color: #333;
    list-style: none;
}

.dropdown-menu a {
    padding: 14px 20px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


/* ==========================================================
   HAMBURGER
   ========================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* ==========================================================
   HLAVNÍ NADPIS
   ========================================================== */
body > h1 {
    margin: 20px 0 25px;
    text-align: center;
    color: darkorange;
    font-family: "Caacupe One", sans-serif;
    font-size: 52px;
    font-weight: 400;
    font-style: normal;
}


/* ==========================================================
   KONTAKT + MAPA
   ========================================================== */
.kontaktBlok {
    display: flex;
    align-items: stretch;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px;
    gap: 45px;
    background-color: rgba(255, 255, 255, 0.72);
    border: 2px solid black;
    border-radius: 18px;
}


/* ==========================================================
   KONTAKTNÍ ÚDAJE
   ========================================================== */
.kontaktInfo {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
}

.kontaktInfo h1 {
    margin: 0 0 30px;
    text-align: left;
    color: darkorange;
    font-family: "Caacupe One", sans-serif;
    font-size: 38px;
    font-weight: 400;
}

.kontaktUdaje h2 {
    margin: 0 0 8px;
    font-size: 23px;
}

.kontaktUdaje p {
    margin: 0 0 25px;
    font-size: 17px;
    line-height: 1.5;
}


/* ==========================================================
   TLAČÍTKO – CESTA AUTEM
   ========================================================== */
.trasaBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: auto;
    padding: 14px 22px;
    background-color: #222;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.trasaBtn:hover {
    background-color: #444;
    transform: translateY(-2px);
}


/* ==========================================================
   MAPA
   ========================================================== */
.mapa {
    flex: 1.25;
    min-width: 0;
    padding: 0;
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 15px;
}


/* ==========================================================
   IDOS – HLAVNÍ BLOK
   ========================================================== */
.idosBox {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto 0;
    padding: 30px 35px;
    background-color: rgba(255, 255, 255, 0.72);
    border: 2px solid black;
    border-radius: 18px;
}


/* ==========================================================
   IDOS – NADPIS
   ========================================================== */
.idosNadpis {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.idosIkona {
    font-size: 36px;
}

.idosNadpis h2 {
    margin: 0;
    color: darkorange;
    font-family: "Caacupe One", sans-serif;
    font-size: 30px;
    font-weight: 400;
}

.idosNadpis p {
    margin: 3px 0 0;
    font-size: 15px;
}


/* ==========================================================
   IDOS – FORMULÁŘ
   ========================================================== */
.idosForm {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.idosPole {
    flex: 1;
    min-width: 0;
}

.idosPole span {
    display: block;
    margin: 0 0 6px 4px;
    font-size: 14px;
    font-weight: bold;
}

.idosPole input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    background-color: white;
    border: 1px solid #bbb;
    border-radius: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    outline: none;
}

.idosPole input:focus {
    border: 2px solid darkorange;
}

.idosPole input[readonly] {
    background-color: #f1f1f1;
}


/* ==========================================================
   IDOS – ŠIPKA
   ========================================================== */
.idosSipka {
    padding-bottom: 9px;
    color: darkorange;
    font-size: 28px;
    font-weight: bold;
}


/* ==========================================================
   IDOS – TLAČÍTKO
   ========================================================== */
.idosForm button {
    height: 48px;
    padding: 0 25px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
    'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s;
}

.idosForm button:hover {
    background-color: #444;
    transform: translateY(-2px);
}


/* ==========================================================
   NAVBAR – MOBIL
   ========================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .logo {
        max-width: calc(100% - 60px);
        font-size: 16px;
    }
    .logo img {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    .menu-toggle {
        display: block;
    }
    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 15px;
    }
    .menu.active {
        display: flex;
    }
    .menu li {
        width: 100%;
    }
    .menu a {
        padding: 15px 10px;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        background-color: #333;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* ==========================================================
   KONTAKT + IDOS – MOBIL
   ========================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }
    body > h1 {
        margin-top: 20px;
        font-size: 38px;
    }

/* ==========================================================
   KONTAKT
   ========================================================== */
    .kontaktBlok {
        width: 92%;
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }
    .kontaktInfo {
        padding: 0;
    }
    .kontaktInfo h1 {
        margin-bottom: 25px;
        font-size: 32px;
    }
    .trasaBtn {
        width: 100%;
        margin-top: 5px;
    }

/* ==========================================================
   MAPA
   ========================================================== */
    .mapa {
        width: 100%;
    }
    .mapa iframe {
        height: 350px;
    }

/* ==========================================================
   IDOS
   ========================================================== */
    .idosBox {
        width: 92%;
        margin-top: 25px;
        padding: 25px;
    }
    .idosNadpis {
        align-items: flex-start;
    }
    .idosNadpis h2 {
        font-size: 26px;
    }
    .idosForm {
        flex-direction: column;
        align-items: stretch;
    }
    .idosPole {
        width: 100%;
    }
    .idosSipka {
        padding: 0;
        text-align: center;
        transform: rotate(90deg);
    }
    .idosForm button {
        width: 100%;
        margin-top: 5px;
    }
}
