@charset "utf-8";

/*nav {
    background-color: #001F3F;
    margin-bottom: 10px;
    user-select: none;
}

    nav .nav-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 8px;
        margin: 0 auto;
    }

        nav .nav-content .nav-logo {
            display: flex;
            align-items: center;
        }

            nav .nav-content .nav-logo img {
                height: 40px;
                vertical-align: middle;
            }

            nav .nav-content .nav-logo span {
                position: relative;
                left: -20px;
            }

.nav-content :is(a, button) {
    transition: .3s;
}

.nav-content a {
    color: white;
    text-decoration: none;
}

.nav-content .nav-links :is(a, a.active):hover {
    color: dodgerblue;
}

.nav-content .nav-links a.active {
    padding: 0 5px;
    background-color: white;
    color: #001F3F;
    border-radius: 5px;
}

.nav-content .nav-tools {
    text-wrap: nowrap;
}

    .nav-content .nav-tools button {
        width: 40px;
        height: 40px;
        text-align: center;
        border: none;
        outline: none;
        border-radius: 8px;
        color: white;
        background-color: rgba(255, 255, 255, 0.085);
        cursor: pointer;
    }

        .nav-content .nav-tools button:not(:last-child) {
            margin-right: 5px;
        }

        .nav-content .nav-tools button:hover {
            background-color: white;
            color: black;
        }

@media screen and (min-width: 1536px) {
    body {
        overflow: initial !important;
    }

    .nav-content {
        max-width: 1536px;
    }

    .nav-links a:not(:last-child) {
        margin-right: 8px;
    }

    .nav-tools .menu-button, .mobil-nav-bar-close-button {
        display: none;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1535px) {
    body {
        overflow: initial !important;
    }

    .nav-content {
        max-width: 1280px;
    }

    .nav-links a:not(:last-child) {
        margin-right: 8px;
    }

    .nav-tools .menu-button, .mobil-nav-bar-close-button {
        display: none;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    body {
        overflow: initial !important;
    }

    .nav-content {
        max-width: 1024px;
    }

    .nav-links a:not(:last-child) {
        margin-right: 8px;
    }

    .nav-tools .menu-button, .mobil-nav-bar-close-button {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .nav-content {
        max-width: 768px;
    }

    .nav-links.hide {
        display: none;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgb(32, 30, 33);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .nav-links a {
            display: block;
            padding: 5px;
            border-radius: 5px;
            color: white;
            font-size: 20px;
            font-weight: bold;
        }

        .nav-links .mobil-nav-bar-close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 30px;
            background-color: red;
            color: white;
            border-radius: 4px;
            border: none;
            outline: none;
            cursor: pointer;
        }
}

@media screen and (min-width: 641px) and (max-width: 767px) {
    .nav-content {
        max-width: 641px;
    }

    .nav-links.hide {
        display: none;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgb(32, 30, 33);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .nav-links a {
            display: block;
            padding: 5px;
            border-radius: 5px;
            color: white;
            font-size: 20px;
            font-weight: bold;
        }

        .nav-links .mobil-nav-bar-close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 30px;
            background-color: red;
            color: white;
            border-radius: 4px;
            border: none;
            outline: none;
            cursor: pointer;
        }
}

@media screen and (max-width: 640px) {
    .nav-content {
        max-width: 100%;
    }

    .nav-links.hide {
        display: none;
    }

    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgb(32, 30, 33);
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        overflow: hidden;
        overflow-y: auto;
    }

        .nav-links a {
            display: block;
            padding: 5px;
            border-radius: 5px;
            color: white;
            font-size: 20px;
            font-weight: bold;
        }

        .nav-links .mobil-nav-bar-close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 30px;
            background-color: red;
            color: white;
            border-radius: 4px;
            border: none;
            outline: none;
            cursor: pointer;
        }*/
    /* Yeni navbar css */
    /* İkonların görünmesi için "fi" tanımına uygun bir stil eklendi */
    .navbar .input-group {
        /* Masaüstünde arama çubuğunun genişliğini kısıtlamak için */
        max-width: 300px;
    }
    /* Mobil görünümde (lg'den küçük), menü açıldığında nav öğelerinin düzgün sıralanması için */
    .navbar-collapse.show {
        /* Menü açıldığında üstteki öğelerden aşağı kaydırmak için */
        margin-top: 10px;
    }

    li a:has(svg) {
        display: inline-block;
        height: 100%;
    }

    .social-bar a:has(svg) {
        line-height: 1;
        display: flex;
        align-items: center;
    }

    .social-bar svg {
        width: 18px;
        height: 20px;
        margin: 0;
        padding: 0;
    }

    @@media screen and (max-width:991px) {
        .social-bar .navbar-nav {
            flex-direction: row !important;
            gap: 15px;
        }

        .social-bar {
            border-top: 1px solid rgba(255, 255, 255, 0.647);
            width: fit-content;
        }

            .social-bar a {
                font-size: 20px;
            }

            .social-bar svg {
                height: 26px;
                width: 20px;
            }
    }

    nav .show {
        transition: .3s;
    }

    nav * {
        color: white !important;
    }

    nav input.form-control {
        color: black !important;
    }

        nav input.form-control::placeholder {
            color: rgba(0, 0, 0, 0.4) !important;
        }
    /* Koyu mod */
    /* === TEMA DEĞİŞTİRME BUTONU VE KOYU MOD === */

    /* Butonun kendisine özel stil */
    .theme-toggle-btn {
        background-color: rgba(255, 255, 255, 0.2); /* Hafif şeffaf beyaz arkaplan */
        border-radius: 50%; /* Dairesel yapar */
        width: 36px; /* Genişlik */
        height: 36px; /* Yükseklik */
        display: flex !important; /* İkonu ortalamak için (Bootstrap'i ezebilir) */
        align-items: center;
        justify-content: center;
        padding: 0; /* İç boşluğu sıfırla */
        margin-left: 15px; /* Sağdaki ikondan ayırmak için boşluk */
    }


        .theme-toggle-btn i {
            font-size: 1rem; /* İkon boyutu */
        }


        .theme-toggle-btn:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }


   

    /* Koyu Mod Genel Stilleri */
    body.dark-mode {
        background-color: #343a40 !important;
        color: #f8f9fa;
    }


        body.dark-mode .section-container,
        body.dark-mode #fourthSection .fourthSectionBg,
        body.dark-mode footer {
            background-color: #212529 !important;
        }


        body.dark-mode h1,
        body.dark-mode h2,
        body.dark-mode h3,
        body.dark-mode h4,
        body.dark-mode h5,
        body.dark-mode h6,
        body.dark-mode .slide-title,
        body.dark-mode .slide-subtitle,
        body.dark-mode .slide-text p,
        body.dark-mode footer,
        body.dark-mode .hr-circle-button-bar .label {
            color: #f8f9fa !important;
        }


        /* Koyu modda butonun arkaplanı */
        body.dark-mode .theme-toggle-btn {
            background-color: rgba(0, 0, 0, 0.3);
        }

            body.dark-mode .theme-toggle-btn:hover {
                background-color: rgba(0, 0, 0, 0.5);
            }
}
