/* Styl pro footer */
footer {
    background-color: #161A16;
    color: white;
    padding: 40px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Intern, sans-serif;
}

/* Levá část - kontaktní údaje */
.footer-kontakt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10%;
}

.footer-kontakt h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.footer-kontakt p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer-kontakt a {
    color: white;
    text-decoration: none;
}

.footer-kontakt a:hover {
    text-decoration: underline;
}

/* Prostřední část - odkazy v okolí */
.footer-odkazy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-odkazy h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.footer-odkazy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.footer-odkazy a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-family: Intern;
}

.footer-odkazy a:hover {
    text-decoration: underline;
}

/* Pravá část - logo Český ráj */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10%;
}

.footer-logo img {
    max-width: 250px;  /* Zvětšeno z původních 180px */
    height: auto;
    border-radius: 50%;
    padding: 15px;  /* Zvětšeno odsazení uvnitř kruhu */
}


/* Responzivní design */
/* Styl pro footer */
footer {
    background-color: #161A16;
    color: white;
    padding: 40px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Intern, sans-serif;
}

/* Levá část - kontaktní údaje */
.footer-kontakt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20%;
    width: 30%;
}

.footer-kontakt h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.footer-kontakt p {
    margin: 5px 0;
    font-size: 1rem;
}

.footer-kontakt a {
    color: white;
    text-decoration: none;
}

.footer-kontakt a:hover {
    text-decoration: underline;
}

/* Prostřední část - odkazy v okolí */
.footer-odkazy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 30%;
}

.footer-odkazy h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.footer-odkazy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.footer-odkazy a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-family: Intern;
}

.footer-odkazy a:hover {
    text-decoration: underline;
}

/* Pravá část - logo Český ráj */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10%;
    width: 30%;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    padding: 15px;
}

/* Responzivní design - větší tablety */
@media (max-width: 1200px) {
    .footer-kontakt, .footer-odkazy {
        width: 35%;
    }
    
    .footer-logo {
        width: 25%;
    }
    
    .footer-logo img {
        max-width: 220px;
    }
}

/* Responzivní design - menší tablety */
@media (max-width: 992px) {
    .footer-kontakt {
        margin-left: 5%;
    }
    
    .footer-logo {
        margin-right: 5%;
    }
    
    .footer-logo img {
        max-width: 180px;
    }
}

/* Responzivní design - větší mobily a menší tablety */
@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .footer-kontakt, .footer-odkazy, .footer-logo {
        width: 90%;
        margin: 0 auto 30px;
        align-items: center;
    }
    
    .footer-kontakt {
        margin-left: auto;
        margin-bottom: 40px;
    }
    
    .footer-odkazy {
        margin-bottom: 40px;
    }
    
    .footer-logo {
        margin-right: auto;
        margin-bottom: 20px;
    }
    
    .footer-odkazy-grid {
        width: 80%;
        max-width: 300px;
        grid-template-columns: 1fr 1fr;
    }
}

/* Responzivní design - malé mobily */
@media (max-width: 576px) {
    .footer-kontakt h3, .footer-odkazy h3 {
        font-size: 1.1rem;
    }
    
    .footer-kontakt p, .footer-odkazy a {
        font-size: 0.9rem;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .footer-odkazy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }
}

/* Velmi malé displeje */
@media (max-width: 350px) {
    footer {
        padding: 25px 15px;
    }
    
    .footer-kontakt h3, .footer-odkazy h3 {
        font-size: 1rem;
    }
    
    .footer-kontakt p, .footer-odkazy a {
        font-size: 0.85rem;
    }
    
    .footer-logo img {
        max-width: 130px;
        padding: 10px;
    }
}
