/*
 Theme Name: Medicate Child
 Theme URI: https://www.aytenkayicangir.com
 Description: Medicate Child Theme (Parent: Medicate)
 Author: çşya creative
 Template: medicate
 Version: 1.0.0
*/

/* =========================================================
   GENEL NOTLAR
   - Bu dosya child theme içindir
   - Parent theme CSS’lerini ezmek için
     gerektiği yerde specificity artırılmıştır
   - Sadece zorunlu yerlerde !important kullanılmıştır
========================================================= */


/* =========================================================
   BREADCRUMB ALANI
========================================================= */

/* Breadcrumb üst-alt boşluk */
body .pt-breadcrumb {
    padding: 50px 0;
}

/* Breadcrumb başlık */
body .pt-breadcrumb .pt-breadcrumb-title h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* =========================================================
   HEADER & MENU
========================================================= */

/* Submenu linkleri – okunabilirlik */
header#pt-header .pt-bottom-header 
.navbar .navbar-nav li .sub-menu li a {
    line-height: 2;
    text-transform: capitalize;
    padding: 10px 15px;
    width: 100%;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Mobil menü toggle hizalama (Medicate style-5) */
header#pt-header.pt-header-style-5 
.pt-bottom-header .navbar-toggler {
    margin: 0 0 5px 290px;
}

/* ⚠️ Medicate menü alt çizgi / hover efektini kapatma */
header#pt-header .navbar-nav > li > a::before,
header#pt-header .navbar-nav > li > a::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   WIDGET LINKLERİ
========================================================= */

/* Sidebar / footer widget linkleri */
body .widget ul li a {
    color: var(--dark-color);
    position: relative;
    word-wrap: break-word;
    padding-left: 15px;
    text-transform: inherit;
}


/* =========================================================
   GTRANSLATE FLOAT SWITCHER
   Yumuşak Cam Efekti – STABIL SON HAL
   Seçili dil sağa kaçma SORUNU ÇÖZÜLDÜ
========================================================= */

/* Google Font – Poppins Medium */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

/* Ana switcher */
body .gt_float_switcher {
    font-family: 'Poppins', Verdana, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 0.15px;

    /* ⚠️ FLEX KALDIRILDI */
    display: inline-block;
    white-space: nowrap;

    line-height: 1.3;
    border-radius: 16px !important;
    color: #2a2a2a;

    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        rgba(0, 0, 0, 0.08) 0 8px 22px,
        inset rgba(255, 255, 255, 0.22) 0 1px 0;

    overflow: hidden;
    transition: all .3s ease;
}

/* Hover – çok hafif derinlik */
body .gt_float_switcher:hover {
    background: rgba(255, 255, 255, 0.42);
    box-shadow:
        rgba(0, 0, 0, 0.12) 0 12px 28px,
        inset rgba(255, 255, 255, 0.32) 0 1px 0;
    transform: translateY(-1px);
}

/* Dil linkleri – TEK SATIR KİLİT */
body .gt_float_switcher a {
    padding: 7px 12px;
    color: #2a2a2a !important;
    text-decoration: none;
    font-weight: 500;

    /* ⚠️ SÜTUN KAYMASINI ENGELLER */
    float: none !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Bayraklar */
body .gt_float_switcher img {
    width: 16px;
    height: auto;
    margin-right: 6px;
}

/* İç hover */
body .gt_float_switcher a:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Mobil */
@media (max-width: 768px) {
    body .gt_float_switcher {
        font-size: 13px !important;
        border-radius: 12px !important;
    }

    body .gt_float_switcher img {
        width: 14px;
    }
}

/* ========================
   GTRANSLATE CSS SONU
   Bu blok stabil ve güvenlidir
========================= */



/* =========================================================
   DEARFLIP BOOK
========================================================= */

/* Kitap thumbnail boyutu */
body ._df_thumb {
    width: 250px;
    height: 375px;
}

/* ===============================
   GOOGLE PLUS → X (Twitter) ICON
   Medicate Child Safe Override
================================ */

/* Google Plus ikonunu gizle */
.pt-top-header i.fa-google-plus-g:before {
    content: "";
    display: none;
}

/* Yerine X SVG ekle */
.pt-top-header i.fa-google-plus-g {
    width: 14px;
    height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2H21.552L14.347 10.235L22.847 22H16.172L10.937 14.808L4.665 22H1.352L9.058 13.135L1 2H7.847L12.58 8.616L18.244 2ZM17.092 20.13H18.922L6.83 3.738H4.867L17.092 20.13Z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2H21.552L14.347 10.235L22.847 22H16.172L10.937 14.808L4.665 22H1.352L9.058 13.135L1 2H7.847L12.58 8.616L18.244 2ZM17.092 20.13H18.922L6.83 3.738H4.867L17.092 20.13Z'/%3E%3C/svg%3E") no-repeat center;
}


/* X ikonunu optik olarak hizala */
.pt-top-header i.fa-google-plus-g {
    position: relative;
    top: 2px; /* ← kritik ayar */
}


