@font-face {
    font-family: 'Nadpis';
    src: url('../fonty/vinque/vinque.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ===== RESET ===== */
body {
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'Nadpis';
}

/* ===== LOGIN BUTTON ===== */
.login-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    z-index: 9999;
    transition: 0.3s;
    font-size: 10px;
}

.login-btn:hover {
    background-color: #e6b800;
}

/* ===== HEADER ===== */
#hlavicka {
    background-image: url(../img/ne.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 300px;
    position: relative;
    z-index: 1000;
}

#hlavicka2 {
    width: 100%;
    height: 250px;
    text-align: center;
    padding-top: 20px;
}

.logo {
    height: 50%;
    display: block;
    margin: 0 auto;
}

.title {
    font-family: 'Nadpis';
    margin: 0;
    margin-top: 3%;
    font-size: 50px;
    text-align: center;
    color: white;
}

/* ===================================================== */
/* ===================== FOOTER ======================== */
/* ===================================================== */

#paticka {
    background: #111;
    color: white;
    padding: 3rem 1rem 1.5rem;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;   /* Sekce pod sebou */
    gap: 3rem;
}

/* Nadpisy sekcí */
.footer-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 22px;
    letter-spacing: 1px;
    position: relative;
    font-family: 'Nadpis';
}

/* Zlatá linka pod nadpisem */
.footer-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #c9a227;
    margin: 10px auto 0;
}

/* Loga v řádku */
.icon-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Styl log */
.icon-grid img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

/* Hover efekt */
.icon-grid a:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Spodní část footeru */
.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===================================================== */
/* =================== RESPONSIVE ====================== */
/* ===================================================== */

@media (max-width: 900px) {

    .icon-grid {
        gap: 2rem;
    }

    .icon-grid img {
        max-height: 70px;
    }
}

@media (max-width: 600px) {

    #paticka {
        text-align: center;
        padding: 2rem 1rem;
    }
    #hlavicka {
        height: 300px;
    }

    .icon-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .icon-grid img {
        max-height: 60px;
    }

    .title {
        font-size: 50px;
        margin-top: 40px;
    }
}