
/* Global Reset & Design Tokens from header.php */

        /* PREMIUM RENK PALETİ VE DESIGN TOKENS */
        :root {
            --accent-color: #fccd06;
            --accent-glow: rgba(252, 205, 6, 0.12);
            --accent-gradient: linear-gradient(135deg, #fccd06 0%, #ff8800 100%);
            --hover-color: #e6ac00;
            --heading-color: #ffffff;
            --body-text-color: #a3a3a3;
            --border-color: rgba(255, 255, 255, 0.08);
            --card-bg-color: rgba(20, 20, 20, 0.6);
            --alt-bg-color: #101010;
            --main-bg-color: #080808;
            --font-headings: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Global sayfa reset & tema temel ayarları (index.html ile eşitleme) */
        html, body, #page, .site, .ast-container, #content, .ast-site-header, .ast-site-footer, 
        .site-content, .site-content .ast-container, .ast-plain-container, .ast-page-builder-template, 
        .entry-content, article, .post-inner, .ast-article-single, .entry-content-single, 
        .site-main, #main, .post-thumbnail, .entry-content-single .ast-container,
        .wp-block-html, .wp-block-custom-html, .entry-content .wp-block-custom-html,
        .elementor-widget-html, .elementor-widget-container {
            background-color: var(--main-bg-color) !important;
            color: var(--body-text-color) !important;
            font-family: var(--font-body) !important;
            max-width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
            box-shadow: none !important;
            border: none !important;
            overflow: visible !important; /* Kapsayıcıların logoyu kesmesini önler */
            transform: none !important;
            filter: none !important;
            perspective: none !important;
            will-change: auto !important;
        }

        html, body {
            overflow-x: hidden !important;
            width: 100% !important;
        }
        /* WordPress Varsayılan Başlıkları ve Boşlukları Gizleme */
        .site-header,
        .ast-header,
        .ast-site-header,
        .main-header-bar,
        .main-header-bar-wrap,
        .site-navigation,
        .ast-builder-grid-row-container {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            overflow: hidden !important;
        }

        /* DİNAMİK SCROLL MENÜ ALTYAPISI (KAPSÜL NAVBAR) */
        .ai-header-wrapper {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            z-index: 9999 !important;
            padding: 0 !important; /* Başlangıçta yukarı yapışık, boşluk yok */
            transition: var(--transition-smooth) !important;
        }

        /* WP Admin Bar Üst Boşluk Dengelemesi (Giriş yapıldığında navbarın kaymasını önler) */
        .admin-bar .ai-header-wrapper {
            top: 32px !important;
        }
        @media screen and (max-width: 782px) {
            .admin-bar .ai-header-wrapper {
                top: 46px !important;
            }
        }
        
        /* Genel Mobil Konum Sabitleme */
        @media (max-width: 768px) {
            .ai-header-wrapper {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                z-index: 99999 !important;
            }
            .admin-bar .ai-header-wrapper {
                top: 46px !important;
            }
        }

        .ai-header {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 0 8% !important;
            width: 100% !important; /* Başlangıçta tam genişlik */
            max-width: 100% !important;
            height: 75px !important;   
            background-color: rgba(8, 8, 8, 0.92) !important; /* Başlangıçta daha koyu ve belirgin */
            backdrop-filter: blur(16px) !important;
            -webkit-backdrop-filter: blur(16px) !important;
            border: none !important;
            border-bottom: 2px solid var(--accent-color) !important; /* Sadece alt çizgi */
            border-radius: 0px !important; /* Başlangıçta düz köşeler */
            transition: var(--transition-smooth) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
        }

        /* SCROLL YAPILDIĞINDA AKTİFLEŞECEK ORTALANMIŞ TRANSPARAN KAPSÜL MODU (SADECE MASAÜSTÜ) */
        @media (min-width: 769px) {
            .ai-header-wrapper.scrolled {
                padding: 15px 0 !important; /* Havada asılı hissi için üstten boşluk */
                background-color: transparent !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .ai-header-wrapper.scrolled .ai-header {
                width: 65% !important; 
                max-width: 900px !important;
                height: 58px !important;
                background-color: rgba(16, 16, 16, 0.6) !important; 
                backdrop-filter: blur(16px) !important;
                -webkit-backdrop-filter: blur(16px) !important;
                border: 1px solid rgba(255, 255, 255, 0.08) !important; 
                border-bottom: 2px solid var(--accent-color) !important;
                border-radius: 30px !important; /* Yuvarlak kapsül köşe */
                padding: 0 30px !important;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
            }
        }

        /* LOGO ALANI */
        .ai-logo-img-wrap {
            display: flex !important;
            align-items: center !important;
            height: 100% !important;
            text-decoration: none !important;
            transition: var(--transition-smooth) !important;
        }

        .ai-custom-logo {
            height: 52px !important; 
            width: auto !important;  
            object-fit: contain !important;
            display: block !important;
            margin-top: 0px !important; 
            transform: scale(1.1) !important; 
            transform-origin: left center;
            transition: var(--transition-smooth) !important;
        }

        /* Kapsül modunda logoyu hafif kibarlaştırma */
        .ai-header-wrapper.scrolled .ai-custom-logo {
            height: 42px !important;
            transform: scale(1) !important;
            margin-top: 0px !important;
        }

        /* MENÜ LİNKLERİ VE HİZALAMA */
        .ai-nav {
            display: flex !important;
            align-items: center !important;
            gap: 30px; 
            height: 100% !important;
        }

        /* Menu ve Buton Linklerinin Alt Çizgilerini Zorla Kaldırma */
        .ast-underline-content .ai-nav a,
        .ast-underline-content #nav-links a,
        .ai-header-wrapper .ai-nav a,
        .ai-header-wrapper #nav-links a,
        .ai-nav a {
            text-decoration: none !important;
            text-decoration-line: none !important;
            border-bottom: none !important;
            border-bottom-style: none !important;
            box-shadow: none !important;
            background-image: none !important;
        }

        .ai-logo-img-wrap,
        .cta,
        .ai-btn,
        .main-header-menu a,
        .ast-menu-toggle,
        .menu-link,
        .site-header a,
        .ast-site-header a {
            text-decoration: none !important;
            text-decoration-line: none !important;
            border-bottom: none !important;
            box-shadow: none !important;
        }

        .ai-nav a {
            color: var(--heading-color);
            text-decoration: none !important;
            border-bottom: none !important;
            font-family: var(--font-headings);
            font-size: 14px; 
            font-weight: 600;
            letter-spacing: 0.2px;
            text-transform: none; 
            position: relative;
            transition: var(--transition-smooth);
            opacity: 0.7;
            height: 100% !important;
            display: flex !important;
            align-items: center !important;
        }

        .ai-nav a::after {
            content: '';
            position: absolute;
            bottom: 12px;
            left: 0;
            width: 0%;
            height: 2px;
            background: var(--accent-gradient);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .ai-header-wrapper.scrolled .ai-nav a {
            font-size: 12px;
        }

        .ai-header-wrapper.scrolled .ai-nav a::after {
            bottom: 8px;
        }

        .ai-nav a:hover,
        .ai-nav a.active-nav {
            color: var(--accent-color);
            opacity: 1;
        }

        .ai-nav a:hover::after,
        .ai-nav a.active-nav::after {
            width: 100%;
        }

        /* MOBİL HAMBURGER İKONU */
        .ai-menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 10000;
            background: none;
            border: none;
            padding: 0;
        }

        .ai-menu-toggle span {
            width: 24px;
            height: 2px;
            background-color: var(--heading-color);
            transition: 0.3s ease;
            border-radius: 2px;
        }

        /* MOBİL & TABLET RESPONSIVE UYUMLULUK */
        @media (max-width: 991px) {
            .ai-header-wrapper.scrolled .ai-header {
                width: 90% !important; /* Tabletlerde kapsül biraz daha geniş kalır */
            }
        }

        @media (max-width: 768px) {
            .ai-header-wrapper {
                padding: 0 !important;
            }
            /* MOBİLDE BACKDROP-FILTER KAPATILDI — bu olmadan position:fixed nav z-index tuzağa düşüyor */
            .ai-header { 
                padding: 0 5% !important; 
                height: 65px !important; 
                width: 100% !important;
                border-radius: 0px !important;
                border-left: none !important;
                border-right: none !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                background-color: rgba(8, 8, 8, 0.97) !important;
            }
            
            .ai-header-wrapper.scrolled .ai-header {
                width: 100% !important;
                height: 65px !important;
                border-radius: 0px !important;
                background-color: rgba(8, 8, 8, 0.97) !important;
                padding: 0 5% !important;
                border-left: none !important;
                border-right: none !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .ai-custom-logo {
                height: 62px !important;
                transform: scale(1) !important;
            }
            .ai-header-wrapper.scrolled .ai-custom-logo {
                height: 62px !important;
                transform: scale(1) !important;
            }

            .ai-menu-toggle {
                display: flex;
            }

            /* Mobil Açılır Menü Panel Düzeni */
            .ai-nav {
                display: flex;
                flex-direction: column;
                position: fixed;
                top: 65px;
                right: -100%;
                width: 75%;
                height: calc(100vh - 65px);
                background-color: rgb(8, 8, 8) !important;
                background: rgb(8, 8, 8) !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
                padding: 40px 10%;
                gap: 20px;
                transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
                border-left: 2px solid rgba(252, 205, 6, 0.2);
                z-index: 99999 !important;
                align-items: flex-start !important;
                box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
            }

            .ai-nav.active {
                right: 0;
            }

            .ai-nav a {
                margin-left: 0;
                font-size: 16px !important;
                line-height: normal !important;
                width: 100%;
                height: auto !important;
                padding: 12px 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            }

            .ai-nav a::after {
                display: none; /* Mobilde alt çizgiyi kaldırıyoruz */
            }

            .ai-header-wrapper.scrolled .ai-nav a {
                line-height: normal !important;
                font-size: 16px;
            }

            /* Hamburger İkonu Aktif Durum Dönüşümü */
            .ai-menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            .ai-menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }
            .ai-menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }
        }
    

/* Footer CSS from footer.php */

    /* PREMIUM UNIFIED FOOTER STYLES */
    .ai-main-footer {
        background-color: #0c0c0c;
        border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
        padding: 80px 0 0 0;
        position: relative;
        z-index: 99;
        font-family: var(--font-body, 'Inter', sans-serif);
    }

    .ai-footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        padding-bottom: 60px;
    }

    .ai-footer-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .ai-footer-logo-link {
        display: inline-block;
        text-decoration: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .ai-footer-logo {
        height: 52px;
        width: auto;
        object-fit: contain;
        display: block;
        margin-bottom: 5px;
        filter: drop-shadow(0 0 10px rgba(252, 205, 6, 0.15));
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    }

    .ai-footer-logo:hover {
        transform: scale(1.03);
        filter: drop-shadow(0 0 15px rgba(252, 205, 6, 0.3));
    }

    .ai-footer-text {
        font-size: 14.5px;
        line-height: 1.7;
        color: var(--body-text-color, #a3a3a3);
        margin: 0;
    }

    .ai-footer-title {
        font-family: var(--font-headings, 'Plus Jakarta Sans', sans-serif);
        font-size: 18px;
        font-weight: 700;
        color: var(--heading-color, #ffffff);
        margin: 0 0 5px 0;
        letter-spacing: -0.2px;
    }

    /* Newsletter Form Group styling */
    .ai-footer-subscribe-form {
        width: 100%;
        margin-top: 5px;
    }

    .ai-footer-input-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .ai-footer-input {
        width: 100%;
        padding: 15px 20px;
        background-color: rgba(26, 26, 26, 0.4);
        border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
        border-radius: 8px;
        color: var(--heading-color, #ffffff);
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    }

    .ai-footer-input:focus {
        border-color: var(--accent-color, #fccd06);
        box-shadow: 0 0 15px rgba(252, 205, 6, 0.15);
        background-color: rgba(255, 255, 255, 0.02);
    }

    .ai-footer-submit-btn {
        width: 100%;
        padding: 15px;
        background-color: #fccd06;
        color: #080808;
        border: none;
        border-radius: 8px;
        font-family: var(--font-headings, 'Plus Jakarta Sans', sans-serif);
        font-weight: 700;
        font-size: 14.5px;
        cursor: pointer;
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
        box-shadow: 0 4px 15px rgba(252, 205, 6, 0.18);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .ai-footer-submit-btn:hover {
        background-color: #e6ac00;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(252, 205, 6, 0.3);
    }

    .ai-footer-submit-btn:active {
        transform: translateY(0);
    }

    .ai-footer-alert-success {
        margin-top: 15px;
        padding: 12px 18px;
        border-radius: 8px;
        background-color: rgba(16, 185, 129, 0.08);
        border: 1px solid rgba(16, 185, 129, 0.2);
        color: #34d399;
        font-size: 13.5px;
        text-align: center;
        animation: aiFooterFadeIn 0.3s ease;
    }

    @keyframes aiFooterFadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Social List styling */
    .ai-footer-social-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .ai-footer-social-link {
        display: flex;
        align-items: center;
        gap: 16px;
        text-decoration: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        background-image: none !important;
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    }

    .ai-footer-social-icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: rgba(20, 20, 20, 0.6);
        border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--heading-color, #ffffff);
        font-size: 16px;
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
        flex-shrink: 0;
    }

    .ai-footer-social-link:hover .ai-footer-social-icon {
        background: var(--accent-gradient, linear-gradient(135deg, #fccd06 0%, #ff8800 100%));
        color: #080808;
        border-color: var(--accent-color, #fccd06);
        transform: scale(1.08) rotate(5deg);
        box-shadow: 0 5px 15px rgba(252, 205, 6, 0.28);
    }

    .ai-footer-social-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .ai-footer-social-name {
        font-family: var(--font-headings, 'Plus Jakarta Sans', sans-serif);
        font-size: 15px;
        font-weight: 700;
        color: var(--heading-color, #ffffff);
        transition: var(--transition-smooth, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
    }

    .ai-footer-social-link:hover .ai-footer-social-name {
        color: var(--accent-color, #fccd06);
    }

    .ai-footer-social-desc {
        font-size: 12.5px;
        color: var(--body-text-color, #a3a3a3);
        line-height: 1.45;
        font-weight: 400;
    }

    /* Corporate Registry Band */
    .ai-footer-bottom {
        border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
        background-color: #060606;
        padding: 30px 0;
        text-align: center;
        margin-top: 20px;
    }

    .ai-footer-bottom-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 5%;
    }

    .ai-footer-copyright {
        font-size: 13px;
        color: #555555;
        margin: 0;
        letter-spacing: 0.4px;
        font-weight: 500;
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
        .ai-footer-container {
            grid-template-columns: 1fr;
            gap: 40px;
            padding-bottom: 50px;
        }

        .ai-footer-column {
            gap: 15px;
        }

        .ai-main-footer {
            padding: 60px 0 0 0;
        }
    }

