* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f5f7fb;
    color: #333;
}


header {
    background: #1c3d6e;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
}

.logo p {
    margin: 5px 0 0;
    font-size: 14px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    padding: 10px;
}

/* NAVIGACE - FIXNÍ VELIKOST */
nav {
    background: #2f5da8;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

.menu li {
    position: relative;
}

/* HLAVNÍ POLOŽKY MENU - VÝRAZNÉ PÍSMO */
.menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

/* PODSTRÁNKY (SUBMENU) - TAKÉ VÝRAZNÉ */
.submenu li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    background: #2f5da8;
    transition: all 0.3s ease;
}

/* HOVER EFEKTY */
.menu > li > a:hover {
    background: #1c3d6e;
    color: orange;
}

.submenu li a:hover {
    background: #1c3d6e;
    color: orange;
    padding-left: 25px;
}

/* SUBMENU */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2f5da8;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu li:hover .submenu {
    display: block;
}

/* HLAVNÍ OBSAH */
main {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* HERO sekce */
.hero {
    background: #e3ecff;
    padding: 40px;
    text-align: center;
}

/* LAYOUT */
.layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.sidebar .box {
    background: #e3ecff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 7px;
}



/* CARDS */
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* GALERIE */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 6px;
}

/* LEKTOŘI */
.lektori {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.lektor {
    text-align: center;
    width: 220px;
}

.lektor img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* GALERIE ITEM */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.galerie-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.galerie-item:hover {
    transform: scale(1.03);
}

.galerie-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.galerie-item p {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #2c5f8a;
}

/* TABULKA */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th {
    background: #2f5da8;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

tr:nth-child(even) {
    background: #f2f2f2;
}

/* FORMULÁŘ */
form {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 14px;
}

/* KONTAKT */
.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.kontakt-info {
    flex: 1;
    min-width: 250px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.kontakt-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kontakt-form .consent {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.kontakt-form .consent label {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    white-space: nowrap;
}

.kontakt-form .consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;

}

.kontakt-info h3, .kontakt-form h3 {
    color: #2c5f8a;
    border-bottom: 2px solid #2c5f8a;
    padding-bottom: 10px;
    font-size: 20px;
}

.kontakt-info p {
    margin: 15px 0;
    font-size: 15px;
}

.kontakt-info i {
    font-style: normal;
    font-weight: bold;
    color: #2c5f8a;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c5f8a;
    box-shadow: 0 0 5px rgba(44, 95, 138, 0.3);
}

button {
    background: #2c5f8a;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

button:hover {
    background: #1e405e;
}

.mapa-mini {
    margin-top: 20px;
    text-align: center;
}

.mapa-mini iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

/* TLAČÍTKO */
.btn {
    display: inline-block;
    background: orange;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #e69500;
}

/* PATIČKA */
footer {
    background: #1c3d6e;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    font-size: 14px;
}

/* RESPONZIVITA */
@media (max-width: 768px) {
    
    #mainNav .submenu {
    display: block;
    position: static;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    }

    .hamburger {
        display: block;
    }
    
    nav {
        display: none;
        position: static;
        width: 100%;
    }
    
    nav.show {
        display: block;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu > li {
        width: 100%;
        border-top: 1px solid #2c5f8a;
    }
    
    .menu > li > a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .submenu {
        position: static;
        width: 100%;
        display: none;
    }
    
    .submenu.show {
        display: block;
    }
    
    .submenu li a {
        padding-left: 40px;
        font-size: 15px;
    }
    
    .layout {
        grid-template-columns: 1fr;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
    
    .kontakt-container {
        flex-direction: column;
    }
    
    .logo h1 {
        font-size: 24px;
    }
}

/* TÁBOR SEkCE */
.tabor-sekce {
    scroll-margin-top: 20px;
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.tabor-sekce h2 {
    color: #2c5f8a;
    border-left: 5px solid #2c5f8a;
    padding-left: 15px;
}

.obsah-sekce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.popis {
    flex: 1;
    min-width: 250px;
}

.ceny-tabulka {
    flex: 1;
    min-width: 300px;
}

/* GALERIE V TÁBOR SEkCI */
.tabor-sekce .galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.tabor-sekce .galerie img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.tabor-sekce .galerie img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mapa {
    margin: 30px 0;
    text-align: center;
}

.mapa iframe {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

.navod {
    background: #e8f4f8;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

#mainNav.show{
    display:block;
}

.submenu{
    display:none;
}

.menu li:hover .submenu{
    display:block;
}

.menu{
    display:flex;
    justify-content:center;
    list-style:none;
    background:#2f5da8;
}

.menu li a{
    display:block;
    padding:15px;
    color:white;
    text-decoration:none;
}

#mainNav{
    display:none;
}

#mainNav.show{
    display:block;
}

@media(min-width:769px){
    #mainNav{
        display:block;
    }
}