/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/*GTranslate ana container Özelleştirme Başlangıç*/
/* GTranslate Widget - Tema Uyumlu Tasarım */
/* Ana GTranslate Container - Gölge ve arka plan kaldırıldı */
.gt_float_switcher {
    font-family: Arial !important;
    font-size: 20px !important;
    border-radius: 2px !important;
    color: #555 !important;
    display: inline-block !important;
    line-height: 20px !important;
    box-shadow: none !important;
    /* Gölge kaldırıldı */
    background: transparent !important;
    /* Arka plan kaldırıldı */
    overflow: hidden !important;
    transition: all .5s cubic-bezier(0.4, 0, 1, 1) !important;
}

/* Ana container - header yüksekliğine sığacak şekilde */
.gtranslate_wrapper {
    position: relative !important;
    height: auto !important;
    max-height: 10px !important;
    z-index: 9999 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    vertical-align: top !important;
}

/* Ana buton - tema stiline uygun */
.gt_float_switcher .gt-selected {
    background: transparent !important;
    border: 1px solid white !important;
    border-radius: 4px !important;
    color: white !important;
    /* Masaüstünde beyaz */
    padding: 6px 10px !important;
    font-size: 11px !important;
    height: 32px !important;
    min-width: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Aktif dil gösterimi - Masaüstünde beyaz */
.gt_float_switcher .gt-current-lang {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: white !important;
    /* Masaüstünde beyaz */
    font-size: 11px !important;
    font-weight: 500 !important;
}

.gt_float_switcher .gt-current-lang img {
    width: 16px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
}

.gt_float_switcher .gt-current-lang .gt-lang-code {
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Dropdown ok - sadece ::after kullan, diğerlerini gizle */
.gt_float_switcher-arrow {
    display: none !important;
    /* Çift ok problemini çöz */
}

.gt_float_switcher .gt-selected::after {
    content: '' !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 3px solid transparent !important;
    border-right: 3px solid transparent !important;
    border-top: 4px solid white !important;
    display: inline-block !important;
    margin-left: 5px !important;
}

/* Hover efekti */
.gt_float_switcher .gt-selected:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px) !important;
}

/* Buton focus, active, clicked durumlarında border koru - MASAÜSTÜ */
.gt_float_switcher .gt-selected:focus,
.gt_float_switcher .gt-selected:active,
.gt_float_switcher .gt-selected:visited {
    border: 1px solid white !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Dropdown menü - aşağı doğru açılım */
.gt_float_switcher .gt_options {
    position: absolute !important;
    top: calc(100% + 2px) !important;
    left: 0 !important;
    right: auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    /* Gölge kaldırıldı */
    z-index: 99999 !important;
    min-width: 160px !important;
    max-width: 200px !important;
    padding: 8px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: all 0.2s ease !important;
    max-height: 250px !important;
    overflow-y: auto !important;
}

/* Dropdown gizli hali */
.gt_float_switcher .gt_options[style*="display:none"] {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
}

/* Dropdown öğeleri */
.gt_float_switcher .gt_options a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    color: #333 !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    gap: 8px !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.gt_float_switcher .gt_options a:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1a1a1a !important;
}

.gt_float_switcher .gt_options a img {
    width: 18px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
    border-radius: 2px !important;
}

/* Aktif dil vurgulama */
.gt_float_switcher .gt_options a.gt-current {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #1e40af !important;
    font-weight: 500 !important;
}

/* Header içindeki konumlama */
header .gtranslate_wrapper,
.header .gtranslate_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    height: 100% !important;
    max-height: 50px !important;
}

/* Modern scrollbar */
.gt_float_switcher .gt_options::-webkit-scrollbar {
    width: 4px !important;
}

.gt_float_switcher .gt_options::-webkit-scrollbar-track {
    background: transparent !important;
}

.gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {

    /* Mobilde buton rengi siyah */
    .gt_float_switcher .gt-selected {
        height: 28px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
        min-width: 60px !important;
        color: black !important;
        /* Mobilde siyah */
        border: 1px solid black !important;
        /* Mobilde border siyah */
    }

    /* Mobilde dil yazısı siyah */
    .gt_float_switcher .gt-current-lang {
        color: black !important;
        /* Mobilde siyah */
    }

    /* Mobilde ok siyah */
    .gt_float_switcher .gt-selected::after {
        border-top-color: black !important;
        /* Mobilde ok siyah */
    }

    .gt_float_switcher .gt-current-lang img {
        width: 14px !important;
        height: 10px !important;
    }

    /* Dropdown mobilde üst üste binme sorunu çözümü */
    .gt_float_switcher .gt_options {
        min-width: 140px !important;
        right: 0 !important;
        left: auto !important;
        top: calc(100% + 8px) !important;
        /* Daha fazla boşluk */
        margin-top: 5px !important;
        /* Daha fazla ekstra boşluk */
    }

    .gt_float_switcher .gt_options a {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    /* Mobilde buton focus, active durumlarında border koru - GÜÇLÜ KURAL */
    .gt_float_switcher .gt-selected:focus,
    .gt_float_switcher .gt-selected:active,
    .gt_float_switcher .gt-selected:visited,
    .gt_float_switcher .gt-selected:hover {
        border: 1px solid black !important;
        outline: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.05) !important;
        /* Hafif arka plan */
    }

    /* Mobilde buton her durumda border koruması */
    .gt_float_switcher .gt-selected[style],
    .gt_float_switcher .gt-selected.gt-selected {
        border: 1px solid black !important;
    }
}

/*GTranslate ana container Özelleştirme Bitiş*/

/* ===============================
   GTRANSLATE STYLE OVERRIDE
   (Structure untouched)
================================ */

/* Ana buton – border kaldır + pill */
.gt_float_switcher .gt-selected {
    border: none !important;
    border-radius: 999px !important;
    background: #F26522 !important;

    padding: 4px 10px !important;
    min-width: unset !important;
    width: auto !important;

    height: 32px !important;
}

/* İçerik genişliği zorlamasın */
.gt_float_switcher,
.gt_float_switcher .gt-current-lang {
    width: auto !important;
    white-space: nowrap !important;
}

/* Yazı */
.gt_float_switcher .gt-current-lang {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #fff !important;
}

/* Ok */
.gt_float_switcher .gt-selected::after {
    border-top-color: #fff !important;
    margin-left: 6px !important;
}

/* Hover – mavi */
.gt_float_switcher .gt-selected:hover,
.gt_float_switcher .gt-selected:focus,
.gt_float_switcher .gt-selected:active {
    background: #267fff !important;
    transform: none !important;
}

/* Mobil */
@media (max-width: 768px) {

    .gt_float_switcher .gt-selected {
        background: #F26522 !important;
        border: none !important;
        height: 30px !important;
        padding: 4px 9px !important;
    }

    .gt_float_switcher .gt-current-lang {
        color: #fff !important;
        font-size: 12px !important;
    }

    .gt_float_switcher .gt-selected::after {
        border-top-color: #fff !important;
    }
}

