/* RESET & ZAKLADNI STYLY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

/* RESPONZIVNI KONTEJNER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HLAVICKA S BANNEREM */
.banner {
    background-color: #1a1a2e;
    text-align: center;
    padding: 20px 0;
}

.banner img {
    max-width: 100%;
    height: auto;
}

/* NAVIGACE - responzivni hamburger menu */
.navbar {
    background-color: #2c3e50;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
}

.nav-links li a {
    display: block;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-links li a:hover {
    background-color: #e41c29;
    border-radius: 5px;
}

/* hamburger menu - pouze na mobil */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 10px;
    text-align: right;
}

/* HLAVNI OBSAH - flexbox layout */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content {
    flex: 3;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* AKTUALITY BOXY */
.aktuality-box h3 {
    background-color: #e41c29;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.aktuality-list {
    list-style: none;
}

.aktuality-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.aktuality-list li a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.aktuality-list li a:hover {
    color: #e41c29;
    text-decoration: underline;
}

/* FOTO V SIDEBARU */
.sidebar-foto {
    text-align: center;
    margin-top: 20px;
}

.sidebar-foto img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.sidebar-foto .popisek {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* NADPISY */
h2.text3, h2.text2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e41c29;
    display: inline-block;
}

/* TECHNICKA STRANA - obrazky */
.technika-img {
    margin: 20px 0;
    text-align: center;
}

.technika-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.popisek {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    margin-top: 5px;
}

/* PATICKA */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

/* MOBILNI ZOBRAZENI */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li a {
        padding: 10px;
        text-align: center;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar, .content {
        margin: 0;
    }
}

/* FORMULARE */
input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

button, .button {
    background-color: #e41c29;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #b81520;
}
