/* Reset základních stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Times New Roman", serif;
}

html {
    scroll-behavior: smooth;
}

/* Barvy */
:root {
    --primary-color: #D6C5B4;
    --primary-light-color: #D6C5B4;
    --hover-color: #a89a8d;
    --light-color: #ffffff;
    --white-color: #ffffff;
    --dark-color: #0b0a08;
    --shadow-color: rgba(0, 0, 0, 0.2);

}


/* základní */

body {
    font-family: "Times New Roman", serif;
    font-weight: 400;
    /* background-color: var(--light-color);*/
    /*
    background-image: url("graphic/webp/Background_PP.webp");
    background-repeat: repeat;
    background-size: cover;
    background-size: auto;
*/
}

section {
    padding: 1rem 0rem 3rem 0rem;
    text-align: left;

    scroll-margin-top: 90px;

}

.container {
    width: clamp(18rem, 80vw, 75rem);
    margin: 0 auto;
}

h1,
h2,
.cta_text,
.house_inf p {
    text-align: left;
}


h1 {
    padding: 0.7em 0 0.2em 0;
    font-size: 3em;
    font-weight: bolder;
    color: var(--dark-color);
    text-align: left;
}

h2 {
    padding: 0 0 0.6em 0;
    font-size: 2.4em;
    font-weight: bolder;
    color: var(--primary-color);
    text-align: left;
}

.h2_header {
    font-size: 1.5em;
    padding: 0em 0 1em 0;
    font-weight: 400;

}

h3 {
    padding: 0;
    margin-bottom: -0.4em;
    font-size: 1.1em;
    font-weight: 300;
    color: var(--primary-color);
    text-align: left;
}

p,
ul {
    text-align: justify;
    font-size: 1.2em;
    padding-bottom: 0.5em;
}

ul {
    list-style-type: none;
    text-align: left;
}


a {
    text-decoration: none;
}

section a {
    color: var(--dark-color);
}

/*CTA*/

.cta_btn_container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.cta_btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.6em 1.2em;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
    display: inline-block;
    border-radius: 3px;
}

.cta_btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    /* Jemný efekt nadzvednutí */
}

.cta_text {
    color: var(--light-color);
    font-size: 1.5em;
}

.cta_r {
    justify-content: right;
}

.cta_r div {
    justify-content: right;
    margin-right: 5%;
}

/**/



.checkboxes li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    font-size: 1.4em;
}



/*vedle sebe*/

.vedle_sebe {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 auto;
    gap: 4%;
}

.no_gap {
    gap: 0;
}

.left {
    flex: 1 1 48%;
}

.div_fotka {
    flex: 1 1 48%;
}

.fotka {
    width: 100%;
    height: auto;
    display: block;
    border: 0px solid var(--primary-light-color);
    box-shadow: 5px 5px 30px var(--shadow-color);
    border-radius: 5px;
}

.div_fotka_header {
    flex: 1 1 52%;
}

.fotka_header {
    border: none;
    box-shadow: none;
}



/*footer*/

footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4em 0 2em 0;
    text-align: center;
    font-size: 1em;
    margin-top: 4em;
}

.top_footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    text-align: center;
}

footer a {
    color: var(--light-color);
}

footer a:hover {
    color: var(--primary-color) !important;
}



.footer_text {
    flex: 1;
    /* Prvky se roztáhnou rovnoměrně */
    min-width: 200px;
}

.footer_text p {
    margin: 0.2em 0;
    /* Mezera mezi řádky */
}

.bottom_footer {
    margin: 2em 0 0 0;
}

.bottom_footer p {
    text-align: center;
}

.remax_logo {
    max-width: 250px;
}


/*Responzivita*/
@media (max-width: 768px) {

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.3em;
    }

    .h2_header {
        font-size: 1.2em;
    }


    h3 {
        font-size: 0.8em;
    }

    p,
    ul {
        text-align: left;
        font-size: 1em;
    }

    .container {
        width: 92%;
    }

    .vedle_sebe {
        flex-direction: column;
        align-items: center;
    }

    .div_fotka {
        padding: 0 0 1em 0;
    }

    .ord1 {
        order: 1;
    }

    .ord2 {
        order: 2;
    }

    .ord3 {
        order: 3;
    }



    /**/
    .cta_btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cta_text {
        margin: 0;
    }

    .cta_r div {
        justify-content: center;
        margin: 0;
    }
}