html,
body {
    margin: 0;
    padding: 0;
    font-family: Saira, sans-serif;
}

body {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden !important;
    transition: all .5s ease;

    /* 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: 100px;
    --main-color: #FB5607;
}

* {
    box-sizing: border-box;
    outline: unset;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    max-height: 100%;
}

header {
    position: fixed;
    z-index: 5;
    transition: all .3s ease;
    color: black;
    background-color: white;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
    max-height: var(--header-height);

    .logo {
        display: flex;
        align-items: center;
        padding: 10px;
        height: var(--header-height);

        img {
            transition: all .3s ease;
        }
    }

    .nav-toggle {
        width: 64px;
        display: none;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
    }

    .nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;

        li {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            line-height: var(--header-height);
            height: var(--header-height);
            transition: all .3s ease;
            min-width: 64px;
            font-size: 16px;
            font-weight: 400;
            letter-spacing: -0.011em;
            text-align: center;
            transition: all .25s;

            &:hover {
                color: var(--main-color);
            }

            a {
                cursor: pointer;
                display: flex;
                align-items: center;
                padding: 0 15px;
                transition: all .3s ease;
                white-space: nowrap;

                &.active {
                    color: var(--main-color);
                }
            }

            ul {
                min-width: 200px;
                transition: all .3s ease;
                box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
                z-index: 1;
                pointer-events: none;
                opacity: 0;
                position: absolute;
                bottom: .02px;
                left: 0;
                background-color: white;
                width: max-content;
                transform: translateY(95%);

                li {
                    line-height: 50px;
                    height: 50px;
                    padding: 0 15px;
                    border-bottom: 1px solid #eee;

                    &:hover {
                        border-bottom: 1px solid black;
                    }

                    a {
                        display: block;
                        width: 100%;
                        padding: 0;

                        &:after {
                            content: unset
                        }
                    }

                    &:before {
                        content: unset;
                    }
                }
            }

            &.edge {
                ul {
                    left: unset;
                    right: 0;
                }
            }
        }

        iconify-icon {
            font-size: 20px;
        }
    }

    .button-primary {
        margin-left: 30px;
        padding: 10px 20px;
    }
}

main {
    header {
        background-color: transparent;
        width: 100%;
        color: white;
        top: 0;
        box-shadow: unset;

        .logo {
            img {
                background-color: white;
                border-radius: 50%;
                padding: 10px;
                overflow: visible;
            }
        }
    }
}

.main {
    width: 100%;
    height: 100vh;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    background-image: url(../img/main.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    transition: all .3s ease;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main-content {
        max-width: 50%;
        color: white;

        h1 {
            font-size: 48px;
            font-weight: 500;
            line-height: 64.8px;
            letter-spacing: -0.05em;
            text-align: left;
            text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);

            .kayan {
                display: inline-block;
                color: var(--main-color);
            }
        }

        p {
            font-size: 20px;
            font-weight: 400;
            line-height: 24px;
            letter-spacing: -0.03em;
            text-align: left;
            text-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, 0.5);
        }
    }
}

html.active {
    .main {
        transform: scale(0.95);
    }

    header {
        background-color: white;
        color: black;
        --header-height: 70px;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
    }

    main {
        header {
            .logo {
                img {
                    background-color: transparent;
                    padding: 0;
                }
            }
        }
    }
}

.fiyatlandirma {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;

    .fiyat {
        border: 1px solid white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        gap: 10px;
        position: relative;
        background-color: var(--main-color);
        color: white;
        padding: 20px;
        flex: 1 1;
        text-align: center;
        transition: all .3s ease;

        &:hover,
        &.active {
            transform: scale(1.25);
            z-index: 1;
            box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.5);
        }

        &:hover {
            z-index: 2;
        }

        iconify-icon {
            font-size: 60px;
        }

        h5 {
            margin: 0;
            font-size: 15px;
        }

        h6 {
            margin: 0;
            font-size: 20px;
        }
    }
}

.sss {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 15px;

    .soru {
        background-color: var(--main-color);
        color: white;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
        border-radius: 20px 5px 20px 0px;

        h3 {
            padding: 10px;
            margin: 0;
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;

            iconify-icon {
                transition: all .3s ease;
            }
        }

        p {
            display: none;
            padding: 10px;
            margin: 0;
            padding-top: 0;
            font-size: 14px;
        }

        &:hover {
            h3 {
                iconify-icon {
                    margin-left: 10px;
                }
            }
        }
    }
}

section {
    margin: 100px 0;

    &.bg {
        background-color: var(--main-color);
    }

    .section-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 50px;

        h2 {
            font-size: 50px;
            font-weight: 800;
            margin: 0;
            background: url(../img/text.jpg);
            background-size: 67px 100px;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        p {
            margin: 0;
            max-width: 400px;
        }
    }
}

.hizmetlerimiz {
    img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

    .hizmet-icerik {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding: 100px;
        color: white;
        background-color: var(--main-color);

        h3 {
            font-size: 40px;
        }

        p {
            margin-bottom: 0;
        }
    }
}

.galeri {
    .item {
        height: 400px;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.custom-shape-divider-top-1735128659 {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1735128659 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 99px;
}

.custom-shape-divider-top-1735128659 .shape-fill {
    fill: #FFFFFF;
}

.custom-shape-divider-bottom-1735128601 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1735128601 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1735128601 .shape-fill {
    fill: #FFFFFF;
}

.video {
    position: relative;
    padding: 100px 0;
    color: white;

    video {
        width: 100%;
        border-radius: 20px;
    }

    h3 {
        font-size: 15px;
        background-color: white;
        width: fit-content;
        padding: 5px 10px;
        border-radius: 50px;

        span {
            background-color: var(--main-color);
            background-clip: text;
            color: transparent;
        }
    }

    .section-top {
        margin-bottom: 30px;

        h2 {
            text-align: left;
        }
    }

    ul {
        li {
            margin: 15px 0;
            display: flex;
            align-items: center;
            gap: 10px;

            iconify-icon {
                font-size: 25px;
                transition: all 1s ease;
            }

            &:last-child {
                margin-bottom: 0;
            }

            &:hover {
                iconify-icon {
                    color: #2af598;
                    transform: rotateX(360deg);
                }
            }
        }
    }
}

.bize-ulasin {
    display: flex;
    align-items: stretch;
    gap: 5px;

    .ulasin {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--main-color);
        color: white;
        padding: 50px;
        transition: all .3s ease;
        position: relative;
        overflow: hidden;

        .ulasin-content {
            display: flex;
            z-index: 1;
            gap: 15px;
            align-items: center;
            justify-content: center;

            iconify-icon {
                font-size: 50px;
            }

            h3 {
                margin: 0;
                font-size: 30px;
                line-height: 1;
            }

            h4 {
                margin: 0;
                font-size: 15px;
            }
        }

        &:after {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            content: "";
            position: absolute;
            right: 0;
            transition: all .3s ease;
            bottom: 0;
            transform: translateX(50%) translateY(50%);
            background-color: rgba(0, 0, 0, 0.15);
        }

        &:hover {
            &:after {
                transform: translateX(25%) translateY(25%) scale(1.5);
            }
        }
    }
}

.map {
    margin-top: 10px;
    display: flex;

    iframe {
        width: 100%;
        height: 400px;
    }
}

#bize_ulasin {
    padding-bottom: 0;
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

footer {
    color: black;
    position: relative;

    .footer-top {
        background-color: var(--main-color);
        padding: 40px 0;
        color: white;

        h2 {
            font-size: 48px;
            font-weight: 500;
            line-height: 56px;
            letter-spacing: -0.01em;
            text-align: left;
            max-width: 433px;
            margin: 0;
        }

        p {
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            letter-spacing: -0.011em;
            text-align: center;
            max-width: 360px;
            opacity: 72%;
        }

        .button-primary {
            border: 1px solid white;

            &:hover {
                gap: 8px;
            }
        }
    }

    .footer-main {
        padding: 50px 0;

        .logo {
            display: flex;
            align-items: center;

            img {
                height: 100px;
            }
        }

        h2 {
            font-size: 16px;
            font-weight: 500;
        }

        .sosyal {
            display: flex;
            align-items: center;
            gap: 5px;
            justify-content: center;

            a {
                transition: all .3s ease;
                font-size: 30px;
                display: flex;
                color: #666;

                &:hover {
                    color: black
                }
            }
        }
    }

    .footer-bottom {
        background-color: #eee;
        padding: 18px 0;

        h5 {
            font-size: 16px;
            font-weight: 400;
            letter-spacing: -0.011em;
            color: #70707B;
            margin: 0;
        }
    }
}

.button-primary {
    padding: 16px 20px 16px 20px;
    gap: 8px;
    border-radius: 9999px;
    opacity: 0px;
    background-color: var(--main-color);
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
    height: fit-content;
    line-height: 24px;
    letter-spacing: -0.011em;
    text-align: center;
    border: 1px solid transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;

    &:hover {
        gap: 20px;
    }

    &.transparent {
        border-color: white;
        background-color: transparent;
    }

    &.white {
        background-color: white;
        color: black;
    }
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        display: block;
        max-height: 256px;
        max-width: 90%;
    }
}

[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%);
}

.yukari {
    display: none;
    position: fixed;
    z-index: 5;
    right: 0;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);

    .rotated {
        pointer-events: all;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-size: 12px;
        transform: translateX(25%) rotate(-90deg);

        .progress {
            position: relative;
            width: 60px;
            height: 1px;
            transition: all .3s ease;
            background-color: #ccc;
            border-radius: 50px;

            i {
                position: absolute;
                width: 0;
                transition: all .3s ease;
                height: 100%;
                border-radius: 50px;
                background-color: var(--main-color);
            }
        }

        span {
            color: #ccc;
            transition: all .3s ease;
        }

        &:hover {
            .progress {
                background-color: var(--main-color);
            }

            span {
                color: var(--main-color);
            }
        }
    }

    &.in-bg {
        .rotated {
            .progress {
                background-color: white;
            }

            span {
                color: white;
            }

            &:hover {
                .progress {
                    background-color: black;
                }

                span {
                    color: black;
                }
            }
        }
    }
}

@media (max-width: 763px) {
    header {
        .nav {
            opacity: 0;
            pointer-events: none;
            flex-direction: column;
            position: fixed;
            transition: all .3s ease;
            display: flex;
            left: 0;
            top: var(--header-height);
            color: black !important;
            background: white;
            height: calc(100% - var(--header-height));
            width: 100%;
            justify-content: center;

            &.active {
                opacity: 1;
                pointer-events: all;
            }
        }

        &:has(.nav.active) {
            background-color: white;
            color: black;
        }

        .nav-toggle {
            display: flex;
        }
    }

    .main {
        .main-content {
            max-width: 100%;

            h1 {
                font-size: 40px;
                line-height: 48px;
            }

            .d-flex {
                flex-direction: column;
                align-items: flex-start !important;
            }
        }
    }

    section {
        .section-header {
            h2 {
                font-size: 40px;
            }
        }
    }

    .fiyatlandirma {
        .fiyat {
            &.active {
                transform: unset;
                box-shadow: unset;
            }
        }
    }

    .bize-ulasin {
        flex-direction: column;

        .ulasin {
            .ulasin-content {
                h3 {
                    font-size: 20px;
                }
            }
        }
    }

    footer {
        .footer-top {
            h2 {
                text-align: center;
            }

            .flex-column {
                width: 100% !important;

                p {
                    margin: 30px 0;
                }

                .d-flex {
                    flex-direction: column;
                }
            }
        }

        .footer-main {
            .logo {
                justify-content: center
            }

            p {
                margin: 30px 0 !important;
            }

            .sosyal {
                justify-content: center !important;
            }
        }
    }
}