* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    color: #424242;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

header h2 {
    font-size: 18px;
    font-weight: 300;
}

nav {
    margin-top: 20px;
}

.navigace {
    list-style: none;
    display: flex;
    justify-content: center;
}

.navigace li {
    margin: 0 10px;
}

.navigace a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 20px;
    background-color: #e94560;
    border-radius: 5px;
}

.navigace a:hover {
    background-color: #1a1a2e;
    color: #e94560;
    border: 1px solid #e94560;
}

main {
    flex: 1;
    padding: 20px;
    text-align: center;
}

footer {
    background-color: #1a1a2e;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

.o-nas {
    padding: 40px 20px;
    background-color: #f0f0f0;
    text-align: center;
}

.o-nas h3 {
    font-size: 40px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.o-nas p {
    font-size: 18px;
    color: #424242;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin: auto;
}

.o-nas-okna {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.o-nas-text {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.o-nas-text h4 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.o-nas-text p {
    font-size: 18px;
    color: #424242;
}

.o-nas-obrazky {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid #eeeeee;
}

.o-nas-obrazky h4 {
    font-size: 30px;
    color: #424242;
    margin-bottom: 20px;
    font-weight: 600;
}

.obrazky {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.obrazek {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.obrazek img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.obrazek p {
    font-size: 16px;
    color: #000000;
}

.obrazek:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.historie {
    margin-top: 30px;
    font-size: 24px;
    color: #000000;
}

.historie p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #424242;
    line-height: 1.6;
}


@media (max-width: 1100px) {
    .o-nas-okna {
        grid-template-columns: 1fr;
    }

    .obrazky {
        grid-template-columns: 1fr;
    }

    .navigace {
        flex-direction: column;
    }
    
    .navigace li {
        margin: 5px 0;
    }
   
    .navigace a {
        display: block;
        width: 100%;
        text-align: center;
    }

    header {
        padding: 10px;
    }
    
    header h1 {
        font-size: 28px;
    }
}
