/* ZÁKLAD */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background-color: #080B10;
    color: #F8FAFC;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

p {
    color: #AAB4C0;
}


/* TLAČÍTKA */

.tlacitko {
    display: inline-block;
    background-color: #078BFF;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #078BFF;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;

    &:hover {
        background-color: #006FD1;
        border-color: #006FD1;
    }
}

.druhe {
    background-color: transparent;

    &:hover {
        background-color: #078BFF;
    }
}


/* HLAVIČKA */

header {
    background-color: #080B10;
    border-bottom: 1px solid #293442;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navigace {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    nav {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-left: 0;
        flex: 1;

        a {
            font-size: 15px;
            color: #F8FAFC;
            transition: 0.3s;

            &:hover {
                color: #078BFF;
            }

            &:focus,
            &:active {
                color: #F8FAFC;
            }
        }
    }

    .logo {
        font-size: 24px;
        font-weight: bold;
        white-space: nowrap;
    }
}


/* HERO SEKCE */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(90deg,
            rgba(8, 11, 16, 0.95),
            rgba(8, 11, 16, 0.45)),
        url("images/hero.jpg") center/cover no-repeat;

    span {
        color: #19B5FF;
        font-size: 15px;
        font-weight: bold;
        letter-spacing: 2px;
    }

    h1 {
        font-size: 56px;
        line-height: 1.2;
        max-width: 750px;
        margin: 15px 0 20px;
    }

    strong {
        color: #078BFF;
    }

    p {
        max-width: 600px;
        font-size: 18px;
        margin-bottom: 30px;
    }
}

.hero-tlacitka {
    display: flex;
    gap: 15px;
}


/* VÝHODY */

.vyhody {
    background-color: #101720;
    padding: 65px 0;
}

.vyhody-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    article {
        background-color: #151E29;
        border: 1px solid #293442;
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        transition: 0.3s;

        &:hover {
            transform: translateY(-5px);
            border-color: #078BFF;
        }
    }

    h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    p {
        color: #AAB4C0;
    }
}


/* SPOLEČNÉ NADPISY */

section {
    &:not(.hero):not(.vyhody) {
        padding-top: 85px;
        padding-bottom: 85px;
    }
}

.nadpis-sekce {
    text-align: center;
    margin-bottom: 45px;

    h2 {
        font-size: 38px;
        margin-bottom: 10px;
    }

    p {
        max-width: 600px;
        margin: auto;
    }
}


/* KARTY SLUŽEB A CENÍKU */

.karty {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    article {
        background-color: #151E29;
        border: 1px solid #293442;
        border-radius: 12px;
        padding: 25px;
        transition: 0.3s;

        &:hover {
            transform: translateY(-5px);
            border-color: #078BFF;
        }
    }

    img {
        width: calc(100% + 50px);
        height: 210px;
        margin: -25px -25px 20px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }
}


/* TMAVÉ SEKCE */

.tmava-sekce {
    background-color: #101720;
}


/* CENÍK */

.cenik-karta {
    display: flex;
    flex-direction: column;

    h3 {
        text-align: center;
        margin-bottom: 15px;
    }

    h4 {
        font-size: 32px;
        text-align: center;
        margin-bottom: 25px;

        span {
            font-size: 15px;
            color: #AAB4C0;
            font-weight: normal;
        }
    }

    ul {
        list-style: none;
        margin-bottom: 30px;
        flex-grow: 1;
    }

    li {
        margin-bottom: 12px;
        color: #AAB4C0;
    }

    .tlacitko {
        text-align: center;
    }
}

.nejoblibenejsi {
    border: 2px solid #078BFF !important;
    box-shadow: 0 0 20px rgba(7, 139, 255, 0.15);
}

.stit {
    background-color: #078BFF;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}


/* GALERIE */

.galerie {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #293442;
        transition: 0.3s;

        &:hover {
            transform: scale(1.03);
        }
    }
}


/* KONTAKT */

.kontakt {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;

    address {
        display: flex;
        flex-direction: column;
        gap: 25px;
        font-style: normal;
    }

    strong {
        color: #F8FAFC;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    label {
        font-size: 14px;
        font-weight: bold;
    }

    input,
    textarea {
        width: 100%;
        background-color: #151E29;
        border: 1px solid #293442;
        border-radius: 8px;
        padding: 14px;
        color: #FFFFFF;
        font: inherit;

        &:focus {
            outline: none;
            border-color: #078BFF;
        }
    }

    textarea {
        resize: vertical;
    }

    button {
        align-self: flex-start;
    }
}


/* FOOTER */

footer {
    background-color: #080B10;
    border-top: 1px solid #293442;
    padding: 40px 0 25px;
}

.footer-horni,
.footer-dolni {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;

    nav {
        display: flex;
        gap: 25px;
        /* Vzdálenost mezi odkazy */

        a {
            font-size: 15px;
            color: #F8FAFC;
            transition: 0.3s;

            &:hover {
                color: #078BFF;
            }

            &:focus,
            &:active {
                color: #F8FAFC;
            }
        }
    }
}

.footer-horni {
    padding-bottom: 25px;
    border-bottom: 1px solid #293442;
    margin-bottom: 25px;
}

.footer-dolni {
    font-size: 13px;
}


/* TABLET */

@media (max-width: 900px) {

    .navigace {
        flex-wrap: wrap;
        padding-top: 15px;
        padding-bottom: 15px;

        nav {
            order: 3;
            width: 100%;
            justify-content: center;
            margin: 0;
        }
    }

    .karty {
        grid-template-columns: repeat(2, 1fr);
    }

    .galerie {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        h1 {
            font-size: 46px;
        }
    }
}


/* MOBIL */

@media (max-width: 600px) {

    .navigace {
        justify-content: center;
        gap: 15px;

        nav {
            gap: 15px;
            flex-wrap: wrap;

            a {
                font-size: 13px;
            }
        }

        .tlacitko {
            padding: 8px 14px;
            font-size: 13px;
        }
    }

    .hero {
        min-height: 500px;
        text-align: center;
        padding: 60px 0;

        h1 {
            font-size: 36px;
        }

        p {
            font-size: 16px;
        }
    }

    .hero-tlacitka {
        flex-direction: column;
    }

    .vyhody-grid,
    .karty,
    .galerie,
    .kontakt {
        grid-template-columns: 1fr;
    }

    .vyhody-grid article {
        text-align: center;
    }

    .nadpis-sekce {
        h2 {
            font-size: 30px;
        }
    }

    .footer-horni,
    .footer-dolni {
        flex-direction: column;
        text-align: center;
    }
}