* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --grey: #333;
    --light-grey: #cccccc;
    --lighter-grey: #f1f1f1;
    --light-red: #d40000;
    --red: #b30000;
    --font-size-h1: clamp(2.5rem, 3vw + 1rem, 3.5rem);
    --font-size-h2: clamp(1.75rem, 1.5vw + 1rem, 2rem);;
    --font-size-h3: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    --font-size-p: clamp(1rem, 0.9vw + 0.5rem, 1.125rem);
}

/******

logo-container

******/

.logo-container {
    /* background-color: #f1f1f1; */
    background: url(https://www.ksiltovky.cz/img/header-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-container img {
    height: 160px;
}

.logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-decoration: none;
    padding: 15px;
    color: #333;
}

.logo-container p {
    font-family: 'Garamond', serif;
    font-size: 95px;
}

.white-logo {
    display: none;
}

/******

header-container

******/

.header-container {
    position: relative;
    z-index: 1000;
}

.menu-nav {
    display: flex;
    align-items: center;
    background-color: #d40000;
    height: 45px;
    justify-content: space-between;
    width: 100%;
}

nav li {
    display: inline-block;
    list-style-type: none;
    margin-right: 20px;
}

nav li a {
    text-decoration: none;
    color: #f1f1f1;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    font-size: 19px;
    position: relative;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #cccccccc;
    transition: width 0.4s ease, left 0.4s ease;
}

nav ul li a:hover::after {
    width: 80%;
    left: 10%;
}

nav li a:hover {
    color: #cccccccc;
}

.menu-icon {
    display: none;
}

/******

lang-selector

******/

.lang-selector {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}

.lang-selector a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.lang-selector a img {
    height: 30px;
    transition: transform 0.3s ease;
}

.lang-selector a img:hover {
    transform: scale(1.05);
}

/******

sociální sítě

******/

.social-media {
    display: flex;
    margin-right: 15px;
    gap: 10px;
}

.social-media a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.05);
}

.social-media a img {
    height: 30px;
}

.active {
    color: #cccccc;
}

.lang-hide {
    pointer-events: none;
    opacity: 0;
    user-select: none;
    filter: grayscale(100%);
}@media (max-width: 1600px) {
    .social-media {
        display: none;
    }
}

@media (max-width: 1450px) {


    .header-container {
        justify-content: center;
        position: relative;
        background-color: #d40000;
        height: 45px;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        color: white;
        margin-right: 20px;
        font-size: 28px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
    }

    .menu-nav {
        display: none;
        position: absolute;
        top: 44px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background-color: #d40000;
        height: auto;
        padding: 10px 0;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    nav {
        margin-top: 10px;
        order: -1;
    }

    nav li {
       display: block; 
       margin-bottom: 10px;
       margin-right: 0;
    }

    .lang-selector {
        gap: 0;
        margin: 0;
    }

    .lang-selector img {
        transform: scale(0.8);
    }

    .social-media {
        margin: 0;
        gap: 5px;
    }

    .logo-container p {
        font-size: 75px;
    }

    .logo-container img {
        height: 120px;
    }

}

@media (max-width: 1150px) {
    .logo-container {
        display: none;
    }

    .header-container {
        height: 80px !important;
    }

    .white-logo {
        display: block;
        height: 65px;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-nav {
        top: 80px;
    }
}

@media (min-width: 1450px) {
    .menu-nav {
        display: flex !important;
    }

    .lang-selector {
        display: flex !important;
    }

    .social-media {
        display: flex !important;
    }

    nav {
        display: flex !important;
    }

    .menu-icon {
        display: none !important;
    }


}footer {
    background-color: #333;
    padding: 15px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #fff;
    letter-spacing: 0.5px;
    gap: 35px;
    text-align: center;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 26px;
}

.footer-container a {
    text-decoration: none;
    color: #d30000;
}

.footer-container a:hover {
    text-decoration: underline;
}

.terms {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer img {
    width: 50%;
    display: block;
    margin: 20px auto 0 auto;
}

main {
    min-height: calc(100vh - 200px);
}

.comgate {
    color: #83918B;
}

#cookie-lista {
    position:fixed;
    bottom:0;
    width:100%;
    background:#1a1a1a;
    color:#fff;
    padding:15px;
    text-align:center;
    z-index:10000;
    display:none;
    font-family: sans-serif;
    border-top: 4px solid #d30000;
}

.cookie-buttons {
    margin-top:10px;
}

.cookie-button-true {
    background:#d30000;
    color:white;
    border:none;
    padding:8px 16px;
    cursor:pointer;
    margin-left:15px;
    font-weight:bold;
    border-radius:4px;
}

.cookie-button-false {
    background:#444;
    color:#fff;
    border:none;
    padding:8px 16px;
    cursor:pointer;
    margin-left:10px;
    border-radius:4px;
}

@media (max-width: 336px) {
    .cookie-button-true {
        margin-bottom: 10px;
    }
}@media (max-width: 900px) {
    footer img {
        width: 90%;
    }
}