.cat-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 13rem;
    background-color: var(--dark-brown);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 185px;
}
.cat-list h3 {
    font-size: 45px;
    color: var(--white);
    /* margin-bottom: 1rem; */
    font-weight: 400;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.cat-list p {
    font-size: 0.9rem;
    color: gray;
    line-height: 1.5;
    text-align: left;
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 0;
}

.cat-cards{
    display: flex;
    width: 1050px;
    padding: 0;
    margin-top: 60px;
    justify-content: flex-start;
    gap: 45px;
    flex-wrap: wrap;
}

.cat-card {
    background-color: var(--light-yellow);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    transition: transform 0.3s ease;
    padding-bottom: 10px;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cat-card img {
    object-fit: cover;
    height: fit-content;
    height: 195px;
    width: 336px;
}
.cat-card h4 {
    font-size: 1.5rem;
    color: var(--gray);
    text-decoration: none;
    text-align: left;
    margin-left: 25px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 5px;
}

.cat-card h5 {
    font-size: 14px;
    color: var(--gray);
    text-decoration: none;
    text-align: left;
    margin-left: 25px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 0;
}

.cat-card a {
    text-decoration: none; /* Zruší podtržení odkazu */
    color: inherit; /* Zajistí, že text odkazu bude mít stejnou barvu jako jeho okolí */
    display: block; /* Zajistí, že celý obsah odkazu bude klikací */
}

.cat-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.cat-button {
    background-color: var(--light-yellow);
    color: var(--black);
    border: none;
    padding: 5px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: solid var(--yellow);
    transition: 300ms;
}

.cat-button2 {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 5px 100px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: solid var(--yellow);
    transition: 300ms;
}

.cat-button2:hover {
    background-color: var(--yellow-hover);
    border: solid var(--yellow-hover);
}

span {
    font-size: 14px;
}

.next-page {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 10px 80px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-top: 80px;
    font-weight: 500;
    transition: 300ms;
}

next-page:hover {
    background-color: var(--yellow-hover);
    border: solid var(--yellow-hover);
    border: none;
    padding: 10px 80px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-top: 80px;
    font-weight: 500;

}


/* Mobilni responzivita */
@media (max-width: 768px) {

    .cat-cards{
        width: 100vw;
        justify-content: center;
    }

    /* Intro Section */
    .intro-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .intro-text {
        max-width: 100%;
    }

    .intro-text h1 {
        font-size: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
    }

    .intro-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    /* News Section */
    .news-section {
        padding: 2rem 1rem;
        grid-template-columns: 1fr; /* Single column layout */
    }

    .news-box {
        padding: 1.5rem;
    }

    /* Cat List Section */
    .cat-list {
        padding: 3rem 1rem;
    }

    .cat-card{
        width: 95%;
        max-width: 380px;
    }
    .cat-card img{
        width: 100%;
    }

    .cat-cards {
        grid-template-columns: 1fr; /* Single column layout */
    }

    /* Footer Section */
    footer {
        padding: 2rem 1rem;
        font-size: 0.8rem;
    }
}

