/* root */
:root
{
    --primary-color: #000;
    --secondary-color: #F29A00;
    --third-color: #FFF0D5;
    --text-color:  #707070;
    --text-color-second: #fff;
}

/* body */
body
{
    font-family: 'Galano_Grotesque', sans-serif !important;
    color: var(--text-color);
    background-color: var(--third-color);
}

span
{
    display: block;
}

.mid-section
{
    min-width: 1200px;
    max-width: 80%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.full-section
{   
    width: 100%;
}

.btn-secondary
{
    display: inline-block;
    margin-right: auto;
    border: 2px solid var(--secondary-color);
    background-color: var(--secondary-color);
    color: var(--text-color-second);
    padding: 0.3em 2.2em;
    font-size: 16px;
    font-weight: bold;
    border-radius: 1.8em;
    transition: .5s;
    text-align: center;
}

.btn-secondary:hover
{
    color: var(--secondary-color);
    background-color: transparent;
}

/* popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    cursor: pointer;
}
.popup 
{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    min-width: 550px;
}

.popup-inquiry 
{
    display: none;
}

.popup-inquiry h2, .popup-success h2 
{
    color: var(--secondary-color);
    font-size: 33px;
    font-weight: bold;
}

.popup input[type="text"],
.popup input[type="email"],
.popup textarea {
    /* Vaše styly zde */
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 0.6em;
    padding: 0.8em;
    width: 100%;
    box-sizing: border-box; /* Zahrnuje padding do šířky */
    margin-bottom: 1.5em;
}

.popup textarea
{
    resize: none;
}

.popup-success img
{
    width: 180px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.popup-success p
{
    font-size: 16px;
    color: var(--text-color);
}

/* header */
.header-top-bar
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2em;
}

.header-logo
{
    flex: 0 0 auto;
    margin-right: 20px;
}

.header-logo img
{
    height: 80px;
}

.header-right-box
{
    margin-left: auto;
    display: flex;
}

/*  */
.header-box-item {
    display: flex;
    align-items: center;
    margin-left: 3em;
}

.box-item-ico {
    flex: 0 0 auto; /* Neflexibilní velikost pro logo */
    margin-right: 10px; /* Volitelná mezera mezi logem a textem */
}

.box-item-ico img {
    height: auto; /* Přizpůsobení výšky loga */
}

.box-item-content {
    flex: 1; /* Flexibilní velikost pro obsah */
}

.box-item-content span {
    font-size: 16px;
    display: block;
}

.box-item-content a
{
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

/* header nav */
.header-bottom-bar
{
    padding: 0em 1em;
    font-size: 16px;
    color: var(--text-color);
}

.header-bottom-bar a
{
    color: var(--text-color);
    text-transform: uppercase;
    text-decoration: none;
}

.header-bottom-bar nav ul
{
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
}

.header-bottom-bar nav ul li
{
    margin-right: 2em;
    padding: 1em;
    padding-top: 0;
}

/* HOME */
.article-banner {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 636px;
    background-image: url('../imgs/data/article_banner.png');
    background-size:initial;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.half-width-div
{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 4em;
}

.half-width-div h1
{
    font-size: 64px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.half-width-div span
{
    margin-bottom: 1em;
    font-size: 18px;
    color: var(--text-color);
}

/* home container */
.home-page h1
{
    color: var(--secondary-color);
    font-size: 47px;
    font-weight: bold;
}

.home-container
{
    margin-top: 50px;
}

.home-item {
    width: 100%;
    display: flex;
    font-size: 16px;
}

.home-item span
{
    margin-bottom: 2em;
}

.image-column {
    width: 50%;
}

.image-column img {
    width: 100%;
    height: auto; /* zajistí zachování poměru stran obrázku */
}

.content-column {
    width: 50%;
}

.column
{
    padding: 30px;
}

/* Contacts */
.div-container
{
    display: flex;
    width: 100%;
    border-radius: 0.2em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); 
    max-width: 1200px;
    margin: 60px auto;
}

.div-left-item
{
    padding: 3em;
    flex-grow: 1;
}

.div-right-item
{
    padding: 3em;
    width: 50%;
}

.div-container h2
{
    font-size: 29px;
}

.div-container h3
{
    margin-top: 20px;
    font-size: 24px;
}

.div-container h2, h3
{
    font-weight: bold;
    color: var(--secondary-color);
}

.div-container b
{
    font-weight: bold;
}

.div-container b, span
{
    font-size: 17px;
}

/* Why to chose us */
.border-container
{
    background-color: var(--third-color);
    max-width: 1200px; /* Například, přizpůsobte podle potřeby */
    margin: 0 auto; /* Zarovnání na střed */
    padding: 20px; /* Vnitřní odsazení */
    border-radius: 2em;
}

.border-container .columns
{
    display: flex;
}

.border-container .column 
{
    flex: 1; /* Flexibilní rozdělení prostoru */
    padding: 0 10px; /* Vnitřní odsazení mezi sloupci */
}

.border-container .c-row
{
    margin-bottom: 15px;
}

.border-container .column span
{
    font-size: 22px;
}

.border-container .column img 
{
    margin-right: 15px;
    width: 30px;
    height: 30px;
}

.c-row
{
    display: flex;  
}

/* footer */
footer
{
    margin-top: 50px;
    background-color: #E5E5E5;
}

footer .footer-container
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    padding-bottom: 0.5em;
}

footer .left-footer
{
    flex: 0 0 auto;
    margin-right: 20px;
}

footer .right-footer
{
    margin-left: auto;
    display: flex;
}

.footer-box-item
{
    display: flex;
    align-items: center;
    margin-left: 3em;
}

/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
/* ALL PAGES */
.page
{
    margin-top: 40px;
}

.page h1
{
    font-size: 47px;
    text-align: center;
    font-weight: bold;
    color: var(--secondary-color);
}

/* GRID */
.grid-container {
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
}

.grid-item {
    border-right: 1px solid var(--text-color);
    padding: 20px;
    text-align: center;
}

.grid-item img {
    max-width: 48px;
    max-height: 48px;
    margin-bottom: 30px;
}

.grid-item h3
{
    font-size: 26px;
}

.grid-item span
{
    color: var(--text-color);
    font-size: 14px;
}