body,
html {
    width: 100vw;
    margin: 0;
    padding: 0;
    color: black;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    background-color: white;
}

:root {
    --primary-color: #448bed;
    --primary-color-rgb: 68, 139, 237;
    --secondary-color: #62c7d3;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        display: block;
        width: auto;
        height: 128px;
        max-height: 256px;
        max-width: 90%;
        animation: loading 1s linear infinite;
    }
}

[data-animation] {
    opacity: 0;

    &.animated {
        opacity: unset;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.slider-wrapper {
    width: 100%;
    height: 100vh;
}

.slider {
    width: 100%;
    height: 100%;
}

.slider .slick-list,
.slider .slick-track,
.slider .slick-slide {
    width: 100%;
    height: 100%;
}

.main-section {
    padding: 0;
    position: relative;
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: white;

    .main-row {
        height: 100%;
    }

    .main-img {
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: background-image 0.5s ease-in-out;
    }

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;

        background:
            /* Sol büyük siyah alan */
            radial-gradient(ellipse 120% 140% at -30% 50%,
                rgba(0, 0, 0, .98) 0%,
                rgba(0, 0, 0, .92) 25%,
                rgba(0, 0, 0, .75) 45%,
                rgba(0, 0, 0, .45) 60%,
                rgba(0, 0, 0, .15) 75%,
                transparent 100%),

            /* Alt tarafı karart */
            linear-gradient(to top,
                rgba(0, 0, 0, .75) 0%,
                rgba(0, 0, 0, .35) 18%,
                transparent 45%),

            /* Üst hafif gölge */
            linear-gradient(to bottom,
                rgba(0, 0, 0, .25),
                transparent 30%);
    }

    .container {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        z-index: 3;
        padding-top: 50px;
        padding-bottom: 20px;

        .main-row {
            height: 100%;
            align-items: flex-end;
        }

        h3 {
            margin: 0;
            font-size: 20px;
            color: var(--primary-color);
        }

        h2 {
            font-size: 100px;
            margin: 20px 0;
            line-height: 1;
            font-weight: 600;
            text-transform: uppercase;


            b {
                color: var(--primary-color);
                font-weight: 600;
            }
        }

        p {
            max-width: 350px;
            font-size: 17px;
            margin-bottom: 30px;
        }
    }

    #typed {
        display: flex;
        align-items: center;
        gap: 5px;
        position: relative;
        height: 80px;
    }

    .typed-cursor {
        display: none;
    }

    #typed::after {
        content: "";
        display: inline-block;
        width: 3px;
        /* İstediğin incelik */
        height: 0.7em;
        margin-left: 4px;
        margin-top: 7px;
        background: white;
        animation: blink .8s infinite;
        vertical-align: middle;
    }

    .istatistikler {
        width: fit-content;
        margin-left: auto;
        background-color: rgba(0, 0, 0, 0.25);

        .istatistik {
            width: 100%;

            &::after {
                margin: 0 20px;
            }
        }
    }
}

.istatistikler {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: black;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 10px;

    .istatistik {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 10px;
        color: white;

        &::after {
            content: "";
            margin: 0 auto;
            width: 0.5px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.2);
        }

        &:last-child {
            width: fit-content;

            &::after {
                content: none;
                display: none;
            }
        }

        iconify-icon {
            font-size: 64px;
            color: var(--primary-color);
        }

        h3 {
            font-size: 30px;
            color: white;
            margin: 0;
        }

        p {
            white-space: nowrap;
            margin: 0;
            font-size: 14px;
        }
    }
}

.breadcrumb {
    padding: 0;
    position: relative;
    height: 500px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    color: white;
    isolation: isolate;

    .container {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        z-index: 3;
        padding-top: 120px;
        padding-bottom: 20px;
    }

    .main-row {
        height: 100%;
    }

    .main-img {
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: background-image 0.5s ease-in-out;
    }

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;

        background:
            /* Sol büyük siyah alan */
            radial-gradient(ellipse 120% 140% at -30% 50%,
                rgba(0, 0, 0, .98) 0%,
                rgba(0, 0, 0, .92) 25%,
                rgba(0, 0, 0, .75) 45%,
                rgba(0, 0, 0, .45) 60%,
                rgba(0, 0, 0, .15) 75%,
                transparent 100%),

            /* Alt tarafı karart */
            linear-gradient(to top,
                rgba(0, 0, 0, .75) 0%,
                rgba(0, 0, 0, .35) 18%,
                transparent 45%),

            /* Üst hafif gölge */
            linear-gradient(to bottom,
                rgba(0, 0, 0, .25),
                transparent 30%);
    }

    .container {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        z-index: 3;
        padding-bottom: 20px;

        h3 {
            margin: 0;
            font-size: 20px;
            color: var(--primary-color);
        }

        h1 {
            font-size: 80px;
            margin-bottom: 20px;
            line-height: 1;
            font-weight: 600;


            b {
                color: var(--primary-color);
                font-weight: 600;
            }
        }

        p {
            max-width: 350px;
            font-size: 17px;
            margin-bottom: 30px;
        }

        .navigation {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;

            a {
                color: white;
                font-size: 17px;
                text-decoration: none !important;

                &[href] {
                    color: var(--primary-color)
                }

                &:after {
                    content: ">";
                    margin-left: 10px;
                    pointer-events: none;
                }

                &:last-child {
                    &:after {
                        display: none;
                    }
                }
            }
        }
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

header {
    position: fixed;
    padding: 20px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;

    .container {
        display: flex;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .hamburger-toggle {
        background-color: var(--primary-color);
        border-radius: 50%;
        color: white;
        width: 36px;
        height: 36px;
        font-size: 24px;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .wp {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
    }

    .logo {
        transition: all 0.3s ease-in-out;
        width: auto;
        height: 70px;
        object-fit: contain;
    }

    .language {
        display: flex;
        align-items: center;
        gap: 5px;
        position: relative;

        img {
            min-width: 36px;
            min-height: 36px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            object-position: center;
        }

        ul {
            opacity: 0;
            transform: translateY(-100%);
            transition: all .3s ease-in-out;
            bottom: 0;
            display: flex;
            flex-direction: column;
            pointer-events: none;
            gap: 2.5px;
            list-style: none;
            position: absolute;
            top: 100%;
            left: 0;
            padding: 0;
            padding-top: 2.5px;

            li {
                display: flex;
                align-items: center;
                gap: 10px;
            }
        }

        &:hover {
            ul {
                opacity: 1;
                pointer-events: all;
                transform: translateY(0);
            }
        }
    }

    nav {
        margin-left: auto;

        ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;

            li {
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                font-weight: 500;
                font-size: 16px;
                letter-spacing: 1px;

                a {
                    white-space: nowrap;
                    padding: 5px 5px;
                    margin: 0 5px;
                    transition: all 0.3s ease-in-out;
                    color: white;
                    border-bottom: 2px solid transparent;

                    &:hover,
                    &.active {
                        color: white;
                        border-bottom: 2px solid white;
                    }
                }
            }
        }
    }



    &.active {
        background-color: white;
        color: black;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        .logo {
            height: 50px;
        }

        nav {
            ul {
                li {
                    color: black;

                    a {
                        color: black !important;

                        &.active,
                        &:hover {
                            border-color: black !important;
                        }
                    }
                }
            }
        }
    }
}

.header-active header {
    ul {
        li {
            color: white;

            a {

                &.active,
                &:hover {
                    border-color: white !important;
                }
            }
        }
    }
}

.logo {
    width: 150px;
    height: auto;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.button-1 {
    text-align: center;
    width: fit-content;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: center;

    &:hover {
        color: black;
        background-color: white;
    }

    &:disabled {
        opacity: 0.5;
        cursor: default;
        pointer-events: none;
    }

    &.bg {
        color: white;
        background-color: var(--primary-color);
        border: none;

        &:hover {
            background-color: var(--primary-color);
            color: white;
            box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 1);
        }
    }

    &.bg-w {
        background-color: white;
        color: black;

        &:hover {
            background-color: white;
            color: black;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
        }
    }
}

.countries-navigation {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: sticky;
    top: 100px;

    .country {
        display: flex;
        cursor: pointer;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
        transition: all .3s ease-in-out;
        border-right: 3px solid transparent;
        border-radius: 10px;

        iconify-icon,
        img {
            width: 36px;
            height: 36px;
            object-fit: cover;
            border-radius: 50%;
            font-size: 24px;
            color: var(--primary-color);
        }

        h3 {
            margin: 0;
            font-weight: 500;
            font-size: 17px;
        }

        &.active,
        &:hover {
            background-color: rgba(var(--primary-color-rgb), 0.1);
            border-right: 3px solid var(--primary-color);
        }
    }
}

.button-2 {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-weight: 600;
    color: rgba(var(--primary-color-rgb), 0.7) !important;
    transition: all 0.3s ease-in-out;

    iconify-icon {
        transition: all 0.3s ease-in-out;
    }

    &:hover {
        color: var(--primary-color) !important;

        iconify-icon {
            margin-left: 10px;
        }
    }
}

footer {
    background-color: black;
    padding: 20px;
    padding-top: 50px;
    color: white;

    a {
        width: fit-content;
        text-decoration: none;
        transition: all .3s ease-in-out;
        color: #bbb;

        &:hover {
            color: white;
        }
    }

    h5 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .logo {
        width: auto;
        height: 100px;
        margin-bottom: 30px;
    }

    .footer-iletisim {
        margin-left: auto;
        display: flex;
        width: fit-content;
        flex-direction: column;
        gap: 10px;

        a {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 15px;
        }

        .social-icon {
            color: var(--primary-color);
            width: 24px;
            height: 24px;
            font-size: 24px;
        }
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        text-align: center;
        padding-top: 20px;
        margin-top: 20px;

        p {
            color: var(--text-color);
            font-size: 14px;
            margin: 0;
        }
    }
}

section {
    scroll-margin-top: 70px;
    padding: 100px 0;
}

#map {
    iframe {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
        border-radius: 20px;
        width: 100%;
        height: 300px;
    }
}

.bg-primary-50 {
    background-color: #e4f1ff;
}

.text-primary-600 {
    color: #487fff !important;
}

.why-section {
    background-image: url('../images/section-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;

    &:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: -1;
    }

    p {
        font-size: 17px;
        margin-bottom: 0;
        color: #bbb;
        max-width: 300px;
    }
}

.mv-section {
    background-image: url('../images/hakkimizda-2.jpg');
    background-size: cover;
    background-position: center;
    background-color: black;
    color: white;
    isolation: isolate;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right,
                black 0%,
                black 20%,
                rgba(0, 0, 0, 0.2) 50%,
                black 80%,
                black 100%);
        z-index: -1;
    }

    h2 {
        font-size: 50px;
        margin-bottom: 30px;
    }

    p {
        max-width: 400px;
        color: #ccc;
        font-size: 17px;
    }
}

.hizli-teklif {
    background-image: url('../images/teklif.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 50px 0;
    position: relative;
    isolation: isolate;

    &::before {
        top: 0;
        left: 0;
        content: "";
        position: absolute;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .teklif-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 96px;
        height: 96px;
        font-size: 56px;
        background-color: var(--primary-color);
        padding: 10px;
        border-radius: 10px;
    }

    h3 {
        font-weight: 600;
        font-size: 32px;
        margin-bottom: 10px;
    }

    p {
        margin: 0;
        color: #ddd;
        font-size: 18px;
        max-width: 300px;
        line-height: 1.2;
    }
}

.section-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    margin-top: 50px;

    li {
        font-size: 20px;
        display: flex;
        align-items: center;
        gap: 10px;

        iconify-icon {
            color: var(--primary-color);
        }
    }
}

.hizmetler {
    margin-top: 50px;

    .hizmet {
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 5px;
        height: 100%;
        display: flex;
        flex-direction: column;

        iconify-icon {
            width: fit-content;
            font-size: 64px;
            color: var(--primary-color);
        }

        h3 {
            margin: 20px 0;
            font-weight: 600;
            font-size: 20px;
        }

        p {
            font-size: 14px;
        }

        a {
            margin-top: auto;
            width: fit-content;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
            font-size: 15px;
            color: var(--primary-color);

            iconify-icon {
                transition: all .3s ease-in-out;
                font-size: 15px;
            }

            &:hover {
                iconify-icon {
                    margin-left: 5px;
                }
            }
        }
    }
}

.contact-box {
    color: white;
    background-color: black;
    border: 1px solid black;
    border-radius: 20px;
    margin-left: 50px;

    h5 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 20px 0;

        &:first-child {
            margin-top: 0;
        }

        iconify-icon {
            color: var(--primary-color);
        }
    }

    p {
        max-width: 400px;
    }

    a {
        margin-left: auto;
        color: var(--primary-color);
    }

    .istatistikler {
        border: none;
        padding: 0;

        .istatistik {
            h3 {
                font-size: 15px;
                font-weight: normal;
                color: #ccc;
            }

            p {
                font-size: 17px;
            }

            &:last-child {}
        }
    }
}

.hakkimizda-img {
    position: relative;
    flex: 1;
    min-height: 0;
    height: 400px;

    .box {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 20px;

        iconify-icon {
            width: 64px;
            height: 64px;
            background-color: var(--primary-color);
            border-radius: 10px;
            color: white;
            font-size: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        h4 {
            font-size: 30px;
            font-weight: bold;
            margin: 0;
        }

        h5 {
            font-size: 16px;
            color: #666;
            margin: 0;
        }
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }
}

.section-header {
    width: 100%;

    h4 {
        color: var(--primary-color);
        font-size: 20px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 5px;

        &:before {
            content: '';
            display: block;
            width: 10px;
            height: 2px;
            background-color: var(--primary-color);
        }
    }

    h2 {
        line-height: 1;
        font-weight: 500;
        font-size: 60px;
        margin-bottom: 0;
    }

    &:has(p) {
        display: flex;
        align-items: center;
    }

    p {
        font-size: 20px;
        max-width: 400px;
        margin: 0;
        margin-left: auto;
        color: #666;
    }
}

@media (max-width: 763px) {
    header {
        .logo {
            height: 50px !important;
        }

        &:has(nav.active) {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .hamburger-toggle {
            display: flex;
        }

        .language {
            margin-left: auto;
        }

        nav {
            opacity: 0;
            pointer-events: none;
            position: fixed;
            left: 0;
            top: 89px;
            flex-direction: column;
            width: 100%;
            height: 100vh;
            background-color: white;
            z-index: 1000;
            transform: translateY(-100%);
            transition: all .3s ease-in-out;
            padding-top: 120px;
            padding: 30px;

            &.active {
                opacity: 1;
                pointer-events: all;
                transform: translateX(0);
            }

            ul {
                flex-direction: column;

                li {
                    margin: 20px 0;

                    a {
                        color: black;
                        font-size: 20px;
                    }
                }
            }
        }
    }

    .mv-section {
        &::before {
            background: linear-gradient(rgba(0, 0, 0, 0.8) 0%,
                    rgba(0, 0, 0, 0.5) 30%,
                    rgba(0, 0, 0, 0.2) 50%,
                    rgba(0, 0, 0, 0.5) 70%,
                    rgba(0, 0, 0, 0.8) 100%);
        }
    }

    .contact-box {
        margin-left: 0;

        .p-5 {
            padding: 20px !important;
        }

        .istatistikler {
            margin-left: 0;

            .istatistik {
                iconify-icon {
                    font-size: 36px;
                }
            }
        }
    }

    .breadcrumb {
        .container {
            h1 {
                font-size: 60px;
            }
        }
    }

    .header-active header {
        ul {
            li {
                color: black;

                a {
                    &.active {
                        color: var(--primary-color) !important;
                        border-color: var(--primary-color) !important;
                    }
                }
            }
        }
    }

    .section-header {
        flex-direction: column;

        p {
            margin-top: 20px;
        }
    }

    .main-section {
        .container {
            h3 {
                font-size: 20px;
            }

            h2 {
                font-size: 70px;
            }

            p {
                max-width: 300px;
                font-size: 15px;
            }

            .button-1 {
                font-size: 15px;
            }
        }

        .main-img {
            height: 75%;
        }

        &::before {
            background:
                linear-gradient(to top,
                    rgba(0, 0, 0, .95) 0%,
                    rgba(0, 0, 0, .85) 25%,
                    rgba(0, 0, 0, .60) 45%,
                    rgba(0, 0, 0, .30) 65%,
                    transparent 100%),
                linear-gradient(to bottom,
                    rgba(0, 0, 0, .15),
                    transparent 25%);
        }

        .istatistikler {
            flex-wrap: wrap;

            .istatistik {
                width: calc(50% - 10px);

                &::after {
                    display: none;
                }
            }

            .istatistik:last-child {
                width: calc(50% - 10px);
            }
        }
    }

    .about-statistics {
        flex-direction: column;

        .istatistik {
            width: 100% !important;

            &::after {
                display: none;
            }
        }
    }

    .hizli-teklif {
        .d-flex {
            flex-direction: column;
            text-align: center;

            .button-1 {
                margin-left: unset;
                margin-top: 20px;
                margin: 0 auto;
            }
        }
    }
}

footer {
    .ps-5 {
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .footer-iletisim {
        margin-left: unset;
    }
}