@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    75% {
        opacity: 0.6;
    }

    100% {
        opacity: 2;
        visibility: visible;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 2;
        visibility: visible;
    }

    75% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

body {
    margin: 0;
    padding: 0;
}

.great {
    width: 60px; /*  height: 24px;    transform: rotate(-36deg);*/
    margin-bottom: 15px;
    margin-left: 8px;
    display: none;
    visibility: hidden;
}

.mainNav {
    height: 140px;
    width: 100%;
    background-color: white;
    position: fixed; /* Sabit pozisyon */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0; /* İlk pozisyon */
    transition: top 0.5s ease-in-out; /* Geçiş animasyonu */
}


.checkboxDiv {
    position: relative;
}

    .checkboxDiv p {
        position: absolute;
        top: 15px;
        right: 17px;
        font-size: 17px;
        color: black;
        z-index: 2;
    }

.hamburger-lines {
    position: absolute;
    top: -25px;
    right: 13px;
    display: block;
    height: 32px;
    width: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: black;
    }

.checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: -25px;
    right: 13px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.links li {
    list-style: none;
    text-align: start;
    margin-top: -15px;
    padding: 8px;
    border-bottom: 1px solid black;
}

li a {
    text-decoration: none;
    font-size: 15px;
    color: black;
}

.links {
    gap: 2rem;
    margin-right: 81px;
    width: 1000px;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    transition: all 1s;
    align-content: center;
    justify-content: flex-end;
}

/*&:has(.checkbox:checked) .links li {
}*/

.navAnimationFadeIn {
    -webkit-animation: fadeIn 0.6s linear;
    animation: fadeIn 0.6s linear;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.navAnimationFadeOut {
    -webkit-animation: fadeOut 0.6s linear;
    animation: fadeOut 0.6s linear;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.navAnim1 {
    -webkit-animation-delay: 0.26s;
    animation-delay: 0.26s;
}

.navAnim2 {
    -webkit-animation-delay: 0.52s;
    animation-delay: 0.52s;
}

.navAnim3 {
    -webkit-animation-delay: 0.78s;
    animation-delay: 0.78s;
}

.navAnim4 {
    -webkit-animation-delay: 1.04s;
    animation-delay: 1.04s;
}

.navAnim5 {
    -webkit-animation-delay: 1.3s;
    animation-delay: 1.3s;
}

.navAnim6 {
    -webkit-animation-delay: 1.56s;
    animation-delay: 1.56s;
}

.dropdown {
    position: relative;
}

    .dropdown > a {
        cursor: pointer;
    }

.dropdown-menu {
    position: absolute;
    border-radius: 0 !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    height: 130px !important;
    background-color: #e0e0e0 !important; /* Customize the dropdown menu background */
    padding: 0 !important; /* Remove padding to eliminate the space */
    margin: 0 !important; /* Remove margin to eliminate the space */
    display: none; /* Keep the menu open when hovering over it */
}

    .dropdown-menu li {
        margin-top: 5px;
        border-bottom: 0 !important;
    }

.dropdown-menu-2 {
    position: absolute;
    border-radius: 0;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #e0e0e0; /* Customize the dropdown menu background */
    padding: 0; /* Remove padding to eliminate the space */
    margin: 0; /* Remove margin to eliminate the space */
    display: none; /* Keep the menu open when hovering over it */
}

    .dropdown-menu-2 li {
        margin-top: 5px;
        border-bottom: 0 !important;
    }

.dropdown-main-border {
    width: 100%;
    height: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
}

.inner-border {
    height: 1px;
    width: 88%;
    border-bottom: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: flex; /* Keep the menu open when hovering over it */
    justify-content: start;
    align-items: start;
    flex-direction: column;
    text-align: start;
}

.dropdown:hover .dropdown-menu-2,
.dropdown-menu-2:hover {
    display: flex; /* Keep the menu open when hovering over it */
    justify-content: start;
    align-items: start;
    flex-direction: column;
    text-align: start;
}

.dropdown-menu li {
    list-style: none;
    background-color: rgba(0, 0, 0, 0);
}

.dropdown-menu a {
    text-decoration: none;
    font-size: 13px !important; /* Adjust the font size as needed */
    color: #000000;
    margin-left: 2%;
    width: 100%;
    display: block;
    border-bottom: 0px;
    background-color: rgba(0, 0, 0, 0);
}

.dropdown-menu-2 a {
    text-decoration: none;
    font-size: 13px !important; /* Adjust the font size as needed */
    color: #000000;
    background-color: rgba(0, 0, 0, 0);
    margin-left: 2%;
    width: 100%;
    display: block;
    border-bottom: 0px;
}

.dropdown-menu-2 li {
    background-color: rgba(0, 0, 0, 0);
}

.currentLink {
    background-color: black;
}

    .currentLink a {
        color: white !important;
    }

.sub {
    font-size: 15px !important;
}
/* If you want to style the submenu items differently, you can add more CSS here */

@media screen and (max-width: 1024px) {
    .mainNav {
        display: none
    }
}

/* For Tablet View */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .links li {
        padding: 15px 4px;
    }

        .links li a {
            font-size: 14px;
        }
}

button {
    border: none;
}

/* Scroll Top Button */
#scrollTopBtn {
    position: fixed;
    right: 10px;
    bottom: 103px;
    width: 45px;
    height: 45px;
    opacity: 0;
    z-index: 1000;
    font-size: 20px;
    border-radius: 50%;
    color: #ffffff;
    background-color: #282828;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    #scrollTopBtn i {
        background-color: transparent;
        color: #fff;
    }

    #scrollTopBtn:hover {
        background-color: #e6ae48;
    }

    #scrollTopBtn.actived {
        right: 80px;
        opacity: 1;
        
    }

@media (max-width: 991px) {
    #scrollTopBtn.actived {
        right: 30px;
    }
}

.logo,
.content {
    color: #000000;
}

main {
    display: block
}

#mobilmenu {
    display: none
}


/*MOBİL MENU*/

@media screen and (max-width:1024px) {
    .nav {
        display: none
    }

    #mobilmenu {
        display: block
    }

    .nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 3;
        padding: 30px 0;
    }

        .nav p {
            position: absolute;
            right: 33px;
            top: 100px;
            color: #000000;
            font-size: 20px;
        }

    .logo img {
        margin-left: 5px;
    }

    .logo,
    #hamburger {
        margin: 10px;
    }

    #hamburger {
        border-radius: 5px;
        cursor: pointer;
        transition: opacity 0.25s linear;
        width: 30px;
        height: 2px;
        display: flex;
        align-items: center;
        position: absolute;
        right: 20px;
    }

        #hamburger:hover {
            opacity: 1;
        }

        #hamburger div,
        #hamburger div:after,
        #hamburger div:before {
            background-color: #000000;
            border-radius: 5px;
            width: 30px;
            height: clamp(0.3rem, 0.3vw + 0.1rem, 0.8rem);
            transition: all 0.15s linear;
        }

            #hamburger div:before,
            #hamburger div:after {
                content: "";
                position: absolute;
            }

            #hamburger div:before {
                transform: translateY(-200%);
            }

            #hamburger div:after {
                transform: translateY(200%);
            }

        #hamburger.open div {
            background: transparent;
        }

            #hamburger.open div:before {
                transform: rotate(45deg);
            }

            #hamburger.open div:after {
                transform: rotate(-45deg);
            }

    #overlay {
        position: absolute;
        width: 100%;
        min-height: 100vh;
        background-color: #ffffff;
        z-index: 1;
        transform: translateX(-100%);
        transition: all 0.5s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }

        #overlay.menu {
            transform: translateX(0%);
        }

        #overlay ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

            #overlay ul li {
                margin-bottom: 10px;
            }

        #overlay li a {
            text-decoration: none;
            font-family: "Helvetica Neue";
            font-size: 25px;
        }

        #overlay .dropdown-menu {
            display: flex;
            justify-content: start;
            align-items: start;
            flex-direction: column;
        }

            #overlay .dropdown-menu a {
                text-decoration: none;
                font-family: "Helvetica Neue";
                font-size: 18px; /* Adjust the font size as needed */
                color: #000000;
                margin-left: 4%;
                width: 100%;
                display: block;
                border-bottom: 0px;
            }

        #overlay .dropdown-menu {
            display: block !important;
        }

        #overlay.dropdown {
            display: block;
        }

        #overlay .dropdown-menu a {
            font-size: 18px; /* Adjust the font size for smaller screens */
        }

    .hamburger-lines {
        right: 0px;
    }

    .dropdown-menu {
        position: absolute;
        border-radius: 0 !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        background-color: #ffff !important; /* Customize the dropdown menu background */
        padding: 5px !important; /* Remove padding to eliminate the space */
        margin: 0 !important; /* Remove margin to eliminate the space */
        display: block; /* Keep the menu open when hovering over it */
        border: 0;
    }

    #overlay
    .dropdown:first-child {
        margin-bottom: 4rem;
        display: block;
    }

    #overlay
    .dropdown {
        margin-bottom: 6rem;
        display: block;
    }

    #overlay a:hover {
        opacity: 1;
    }
}
