
.intro-section {
    padding: 4rem 2rem;
    background-color: var(--dark-brown);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

}

input{
    outline: none;
}

input:focus {
    border: 1px solid var(--dark-brown) !important;
}

.demand-body{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.intro-text h2 {
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 48px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: normal;

}

.headings {
    display: flex;
    justify-content: space-between;
    width: 1000px;
}


.contact {
    width: 100%;
    background-color: var(--light-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    padding-bottom: 25px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    gap: 30px;
}

.contact-form, .contact-map {
    flex: 1;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: var(--light-yellow);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    width: 490px;
    color: black;
}

.contact-map {
    padding: 0;
}

.contact-form h2 {
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 0;
}

.contact-form h3 {
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    }

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-form span {
   color: #E23D20;
}

.contact-form input, 
.contact-form textarea {
        padding: 10px;
        margin-bottom: 15px;
        background-color: #EED5AD;
        border: 1px solid #EED5AD;
        border-radius: 10px;
        font-size: 14px;
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    }

.contact-form .button {
    background: #e9ad2b;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    color: #000;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-form .button:hover {
    background: #d99a25;
}

.contact-form .button:hover {
    background: #d99a25;
}


.cat-card {
    width: 320px;
    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: 15px;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.cat-card img {
    width: 100%;
    height: 230px!important;
    object-fit: cover;
    height: fit-content;
}

.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;
}

.cat-card p {
    font-size: 0.9rem;
    color: gray;
    line-height: 1.5;
    text-align: left;
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 0;
}

.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-card a:hover h4 {
    color: var(--black); /* Změní barvu textu při najetí myší */
}

.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 40px;
    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);
}

@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
        gap: 1.5rem; /* Adjust spacing for smaller screens */
    }
}

/* Mobilni responzivita */
@media (max-width: 768px) {

    .contact-form{
        width: 80vw;
    }


    .demand-body{
        flex-direction: column;
    }


    /* Intro Section */
    .intro-section {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .intro-text {
        max-width: 100%;
    }

    .intro-text h2 {
        font-size: 30px!important;
        margin-top: 50px;
    }

    .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-cards {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .cat-card {
        padding: 1rem;
    }

    iframe {
        max-width: 300px;
    }

    .contact-form label{
        text-align: left;
    }
}

