@font-face {
    font-family: Adorn;
    src: url(../fonts/adorn-garland.otf);
}

@font-face {
    font-family: HelveticaNeue;
    src: url(../fonts/HelveticaNeueLTProCn.otf);
}

@font-face {
    font-family: HelveticaNeue;
    src: url(../fonts/HelveticaNeueLTProLtCn.otf);
    font-weight: 300;
}

@font-face {
    font-family: HelveticaNeue;
    src: url(../fonts/HelveticaNeueLTProBdCn.otf);
    font-weight: bold;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: HelveticaNeue;
}

body {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    transition: all .5s ease;
    position: relative;

    /* width */
    &::-webkit-scrollbar {
        width: 5px;
    }

    /* Track */
    &::-webkit-scrollbar-track {
        background: #eee;
    }

    /* Handle */
    &::-webkit-scrollbar-thumb {
        background: var(--main-color);
    }

    /* Handle on hover */
    &::-webkit-scrollbar-thumb:hover {
        background: var(--main-color);
    }
}

:root {
    --header-height: 280px;
    --main-color: #0171bb;
    --secondary-color: #00adef;
}

* {
    box-sizing: border-box;
    outline: unset;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    max-height: 100%;
}

header {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, black 25%, transparent);
    height: var(--header-height);
    z-index: 10;

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;

        img {
            max-width: 80%;
        }
    }
}

.main-menu {

    .main-body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;

        .main-top {
            position: relative;
            height: 150vh;
            text-align: center;
            background-image: url(../img/main.jpg);
            background-size: cover;
            background-position: center;

            .main-img {
                width: 100%;
                object-fit: contain;
                margin: 0 auto;
                backdrop-filter: blur(10px);
            }

            .logo {
                position: absolute;
                bottom: 50px;
                left: 50%;
                transform: translateX(-50%);
                height: 100px;

                img {
                    height: 100%;
                }
            }
        }

    }
}

.kategoriler {

    .col-6 {
        .kategori {
            position: relative;
            display: flex;
            align-items: center;
            background-color: #0171bb;
            padding: 30px;
            gap: 30px;
            color: white;

            .kategori-img {
                width: 48px;
                height: 48px;
            }

            h2 {
                font-size: 25px;
            }

            &:hover {}
        }

        &:nth-child(2n+2) {
            .kategori {
                background-color: #00adef;
            }
        }
    }
}

.kategori-sayfa {

    background-image: url(../img/category.jpg);
    background-size: auto 100%;

    min-height: 100vh;
    display: flex;
    flex-direction: column;

    .top {
        display: flex;
        align-items: center;
        width: 100%;
        margin-top: 100px;
        margin-bottom: 20px;

        img {
            height: 100px;
        }
    }

    .alt-kategoriler {
        display: flex;
        flex-direction: column;

        .alt {
            margin-top: 15px;

            h2 {
                cursor: pointer;
                border: 1px solid var(--main-color);
                color: var(--main-color);
                padding: 10px;
                min-width: 50%;
                width: fit-content;
                font-style: italic;
                display: flex;
                align-items: center;
                position: relative;
                font-size: 18pt;

                .d-flex {
                    flex-wrap: wrap;
                    gap: 5px;
                }

                b {
                    font-style: normal;
                }

                i {
                    font-weight: 300;
                    font-style: normal;
                }

                iconify-icon {
                    margin-left: auto;
                    font-size: 30px;
                    line-height: 10px;
                    height: 0;
                    display: flex;
                    align-items: center;
                    transition: all .3s ease;
                }

                &.active {
                    iconify-icon {
                        transform: rotate(180deg);
                    }
                }
            }

            .urunler {
                padding: 10px;
                display: none;
                flex-direction: column;

                .urun {
                    margin-bottom: 10px;

                    .isim {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                        font-size: 12pt;

                        .d-flex {
                            max-width: 364px;
                            gap: 10px;
                            align-items: center;

                            b {
                                font-weight: 500;
                                line-height: 1;
                            }
                        }

                        i {
                            color: var(--main-color);
                            font-weight: 300;
                        }

                        span {
                            font-size: 14pt;
                            display: flex;
                            align-items: flex-end;
                            line-height: 2;
                            text-align: center;
                        }

                        .fiyat {
                            margin-left: auto;
                            white-space: nowrap;
                            min-width: 70px;
                            text-align: right;
                            font-size: 16pt;
                        }
                    }

                    h4 {
                        font-weight: 300;
                        font-size: 11pt;
                        max-width: 364px;
                        padding-right: 70px;

                        i {
                            color: var(--main-color);
                        }

                        &:last-child {
                            margin-bottom: 30px;
                        }
                    }
                }
            }
        }
    }

    footer {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 100px;

        p {
            max-width: 60%;
            color: var(--main-color);
            font-size: 14pt;
            font-weight: 300;
            font-style: italic;
            margin-bottom: 0;
        }

        .go-back {
            margin-left: auto;
            display: flex;
            border-radius: 50%;

            img {
                height: 60px;
                min-width: 60px;
            }
        }
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.button-primary {
    border: 2px solid var(--main-color);
    padding: 10px;
    font-size: 10pt;
    display: flex;
    align-items: center;
    line-height: 1;
    justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--main-color));
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        display: block;
        height: 150px;
        max-width: 70%;
    }
}

[data-animation] {
    opacity: 0;

    &.animated {
        opacity: unset;
    }
}

*[data-title],
*[data-title-bottom] {
    position: relative;
}

*[data-title]:hover::after,
*[data-title-bottom]:hover::after {
    pointer-events: none;
    background-color: black;
    color: white;
    padding: 10px;
    margin: 0 !important;
    line-height: 1;
    font-size: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: normal;
    content: attr(data-title);
    position: absolute;
    left: 50%;
    white-space: nowrap;
    top: -10px;
    transform: translateX(-50%) translateY(-100%);
}

*[data-title-bottom]:hover::after {
    content: attr(data-title-bottom);
    top: unset;
    bottom: -10px;
    transform: translateX(-50%) translateY(100%);
}

@media (max-width: 763px) {

    .container {
        padding: 0 40px !important;
    }

    header {
        .logo {
            height: 60px;
        }
    }

    .main-menu {
        position: absolute;
        height: 100%;

        .main-body {
            height: 100%;
            width: 100%;

            .main-top {
                height: 100%;
                flex: 1;

                .main-img {
                    height: 100%;
                    object-fit: cover;
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                }
            }

            .kategoriler {
                .kategori {
                    padding: 10px;
                    gap: 10px;

                    h2 {
                        font-size: 15px;
                        white-space: nowrap;
                    }
                }
            }
        }

        footer {
            padding: 20px 0;

            .footer {

                .phone {
                    iconify-icon {
                        font-size: 15pt;
                    }

                    h3 {
                        font-size: 15pt;
                    }
                }

                .web {
                    font-size: 13pt;
                }
            }
        }
    }

    .kategori-sayfa {
        height: 100vh;

        main {
            min-height: 0;

            .container {
                display: flex;
                height: 100%;
                min-height: 0;
                flex-direction: column;
            }
        }

        .top {
            gap: 10px;
            padding: 0 10px;

            img {
                height: 70px;
            }
        }

        .alt-kategoriler {
            overflow-y: auto;
            margin-bottom: 20px;
            height: 100%;
            min-height: 0;
            display: flex;
            flex-direction: column;

            .alt {
                width: 100%;
                min-width: 100%;

                h2 {
                    width: 100%;
                    font-size: 13pt;
                    min-height: 30px;
                }
            }
        }

        footer {
            p {
                width: 100%;
                max-width: 100%;
                font-size: 13px;
            }

            .go-back {
                img {
                    height: 36px;
                    min-width: unset;
                    width: auto;
                }
            }
        }

        .urunler {
            .urun {
                .isim {
                    .d-flex {
                        flex-wrap: wrap;

                        &:has(i) {
                            align-items: flex-start !important;
                        }
                    }

                    span {
                        align-items: center !important;
                        line-height: 1 !important;
                    }
                }
            }
        }
    }
}