/*
Theme Name:       AI SaaS Engine Master
Theme URI:        https://www.bostadurmasin.com
Description:      Tam otomatize yapay zeka, içerik fabrikası, sosyal medya hubı ve yerel SEO/GEO motoru barındıran global kurumsal SaaS teması. (A global enterprise SaaS theme featuring fully automated AI, a content factory, a social media hub, and a native SEO/GEO engine.)
Version:          1.0.0
Author:           SaaS Core Team
Author URI:       https://www.bostadurmasin.com
Text Domain:      ai-saas-engine
Domain Path:      /languages
Tags:             software-as-a-service, ai-automation, translation-ready, custom-menu, custom-background


=============================================================================
*/

/* ⚡ TEMEL CSS SIFIRLAMASI (RESET) & MODERN FONTLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 🎨 SAAS SİTEMİZ İÇİN KÜRESEL DEĞİŞKENLER */
:root {
    --primary-color: #7B61FF;
    --primary-hover: #634fd1;
    --success-color: #10b981;
    --error-color: #ef4444;
    --dark-bg: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

/* Link Standartları */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
}



/* =========================================================================
   1. GENEL TEMA VE NAVİGASYON AYARLARI (MASAÜSTÜ & GLOBAL)
   ========================================================================= */
.menu-toggle {
    padding: 0 20px !important;
    line-height: 50px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    font-size: 15px !important;
    cursor: pointer !important;
}

.main-navigation .main-nav ul li a {
    padding-left: 20px !important;
    padding-right: 20px !important;
    line-height: 20px !important;
}

/* =========================================================================
   2. BOSTADURMASIN ULTRA CLEAN INLINE MENU LANG (SOL PANEL)
   ========================================================================= */
.bd-clean-menu-lang {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin: 4px 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.bd-clean-menu-lang .bd-lang-label {
    margin-right: auto;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.bd-clean-menu-lang .clean-lang-btn {
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.bd-clean-menu-lang .clean-lang-btn.btn-tr.active {
    background: #fee2e2;
    color: #ef4444 !important;
    cursor: default;
}

.bd-clean-menu-lang .clean-lang-btn.btn-en.active {
    background: #dbeafe;
    color: #3b82f6 !important;
    cursor: default;
}

.bd-clean-menu-lang .clean-lang-btn:not(.active) {
    color: #94a3b8;
}

.bd-clean-menu-lang .clean-lang-btn:not(.active):hover {
    color: #1e293b;
    background: #f1f5f9;
}

.bd-clean-menu-lang .clean-lang-divider {
    color: #cbd5e1;
    margin: 0 4px;
    font-weight: normal;
}

/* =========================================================================
   3. GENERATEPRESS ÜST MENÜ (HEADER) İÇİN MİNİMALİST DİL ALANI (MASAÜSTÜ)
   ========================================================================= */
.bd-header-menu-lang {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin-left: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.bd-header-menu-lang .hdr-lang-btn {
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.bd-header-menu-lang .hdr-lang-btn.btn-tr.active {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444 !important;
    cursor: default;
}

.bd-header-menu-lang .hdr-lang-btn.btn-en.active {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6 !important;
    cursor: default;
}

.bd-header-menu-lang .hdr-lang-btn:not(.active) {
    color: #94a3b8;
}

.bd-header-menu-lang .hdr-lang-btn:not(.active):hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.bd-header-menu-lang .hdr-lang-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
    font-weight: normal;
}

/* 🚨 MASAÜSTÜ KORUMASI: Masaüstündeyken mobil kanaldan gelen mükerrer butonu kesinlikle gizle! */
.bd-header-menu-lang.mobile-lang {
    display: none !important;
}

/* =========================================================================
   4. 📱 MOBİL DUYARLILIK ALANI (ZORUNLU SEPARASYON VE GÖRÜNÜRLÜK AYARI)
   ========================================================================= */
@media (max-width: 768px) {
    /* Mobilde masaüstü kanalından gelen kaba butonu tamamen imha et */
    .bd-header-menu-lang.desktop-lang {
        display: none !important;
    }

    /* 🚨 Mobil kanalı zorunlu görünür yap ve hamburger menünün yanına sabitle */
    .bd-header-menu-lang.mobile-lang {
        display: inline-flex !important;
        position: absolute !important;
        top: 14px;      /* Üst barın tam dikey ortası */
        right: 65px;    /* Hamburger menünün hemen solu */
        z-index: 999999 !important;
        margin-left: 0;
    }

    .bd-header-menu-lang.mobile-lang .hdr-lang-btn {
        font-size: 11px !important;
        padding: 2px 5px !important;
        font-weight: 800 !important;
    }
    
    .bd-header-menu-lang.mobile-lang .hdr-lang-btn.active {
        background: rgba(239, 68, 68, 0.25) !important;
    }
    
    .bd-header-menu-lang.mobile-lang .hdr-lang-btn.btn-en.active {
        background: rgba(59, 130, 246, 0.25) !important;
    }
}