﻿@charset "UTF-8";
/* CSS Document */

/* =========================================================
   DOSYA: assets/css/components.css
   KOVA: COMPONENTS (global bileşenler)
   AMAÇ: Tekrar kullanılan UI bileşenlerine ait override ve düzeltmeleri içerir.
   KAPSAM:
   - Navbar / dropdown düzeltmeleri
   - Global button / link davranışları
   - Bileşen bazlı küçük fixler (section'a özel olmayanlar)

   KURAL:
   - Bu dosya, utilities.css'ten sonra; sections/* dosyalarından önce yüklenmelidir.

   Versiyon: 1.0.0 (refactor)
   Son Güncelleme: 2025-12-20
   ========================================================= */

/* =========================================================
   1. GLOBAL & NAVBAR
   ========================================================= */
.navbar .nav-link,
/* Navbar’daki ana linkler (menü öğeleri) */
.navbar .nav-link-text,
/* Navbar içindeki span / metin taşıyıcısı */
.navbar .dropdown-item {
    /* Açılır menü (dropdown) içindeki linkler */
    text-transform: none !important;
    /* Harfleri otomatik büyütme/küçültmeyi kapatır (orijinal yazım korunur) */
    white-space: nowrap !important;
    /* Metnin satır kırmadan tek satırda kalmasını zorlar */
}

.dropdown-menu {
    min-width: max-content !important;
    /* Menü genişliğini, içeriğin sığacağı minimum genişlikte tutar; gereksiz boşluğu engeller */
}

.dropdown-menu .dropdown-item {
    width: max-content !important;
    /* Her bir dropdown öğesinin genişliğini içerik kadar yapar (taşma/kırılmayı azaltır) */
}

#about-us [data-typed-text] {
    text-transform: none !important;
    /* About-us bölümündeki “typed text” yazısının orijinal büyük-küçük harf yapısını korur */
}

.btn-outline-light {
    text-transform: none !important;
    /* Açık renk çerçeveli butonların (btn-outline-light) metnini otomatik büyük harfe çevirmez */
}


/* =========================================================
   2. SWIPER NAV & PAGINATION (global)
   Kaynak: silinecek-olan-yeni-user.css içinden taşındı (bileşen).
   ========================================================= */

.mirai-prev {
    left: -30px;
}

.mirai-next {
    right: -30px;
}

.mirai-nav:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* PAGINATION */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45) !important;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
}

/* ================================
   MIRAI CLIENT LOGO BAND PREMIUM — FINAL MERGED DESIGN
   ================================ */
/* TESTIMONIAL ALT GEÇİŞ — Soft Fade */
.mirai-testimonial {
    position: relative;
}

.mirai-testimonial::after {
    content: "";
    position: absolute;
    bottom: -80px;
    /* fade yüksekliği */
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,
            /* testimonial’ın devamı gibi */
            rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.55) 100%
            /* logo bandına yumuşak akış */
        );
    pointer-events: none;
    z-index: 4;
}

#mirai-ai-launcher {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 999999;
    /* her şeyin üstünde */
    background: #000;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: .25s ease;
}

#mirai-ai-launcher:hover {
    transform: scale(1.08);
    background: #111;
}

#miraiChatBox {
    position: fixed;
    right: -360px;
    /* Başlangıçta gizli */
    bottom: 20px;
    width: 350px;
    height: 480px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
    border-radius: 16px;
    overflow: hidden;
    z-index: 9999999;
    transition: right .35s cubic-bezier(.25, .46, .45, .94);
    display: flex;
    flex-direction: column;
    opacity: 0;
}

#miraiChatBox.open {
    right: 20px;
    opacity: 1;
}

.mirai-chat-header {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mirai-close-btn {
    cursor: pointer;
    font-size: 18px;
    opacity: .75;
    transition: .25s;
}

.mirai-close-btn:hover {
    opacity: 1;
    transform: scale(1.15);
}

.mirai-chat-body {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

.mirai-chat-input {
    padding: 10px;
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
}

.mirai-chat-input input {
    flex: 1;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.mirai-chat-input button {
    padding: 8px 12px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

#miraiChatBox.open+#mirai-ai-launcher {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}

.mirai-chat-input input {
    height: 42px;
}

.mirai-chat-input button {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#mirai-ai-launcher {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
}

#miraiChatBox.open {
    right: 20px !important;
}

#mirai-ai-launcher {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 68px;
    height: 68px;
    background: #000;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.20), 0 0 0 rgba(255, 0, 80, 0.0);
    transition:
        transform .28s cubic-bezier(.25, .46, .45, .94), box-shadow .35s ease, background .25s ease;
    z-index: 999999;
}

#mirai-ai-launcher:hover {
    transform: translateY(-6px) scale(1.06);
    background: #111;
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 0, 80, 0.55);
}

#mirai-ai-launcher i {
    pointer-events: none;
}

#mirai-ai-launcher {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 68px;
    height: 68px;
    background: #000;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.20), 0 0 0 rgba(255, 0, 80, 0.0);
    transition:
        transform .28s cubic-bezier(.25, .46, .45, .94), box-shadow .35s ease, background .25s ease;
    z-index: 999999;
}

#mirai-ai-launcher:hover {
    transform: translateY(-6px) scale(1.06);
    background: #111;
    box-shadow:
        0 10px 32px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 0, 80, 0.55);
}

#mirai-ai-launcher i {
    pointer-events: none;
}

#miraiChatBox {
    position: fixed;
    right: -360px;
    bottom: 20px;
    width: 350px;
    height: 480px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.18), 0 12px 38px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999999;
    opacity: 0;
    transition:
        right .35s cubic-bezier(.25, .46, .45, .94), opacity .25s ease-in-out;
}

#miraiChatBox.open {
    right: 20px;
    opacity: 1;
}

.mirai-chat-header {
    background: rgba(0, 0, 0, 0.82);
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mirai-close-btn {
    cursor: pointer;
    font-size: 20px;
    transition: .25s;
    opacity: .75;
}

.mirai-close-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

.mirai-chat-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
}

.mirai-chat-input {
    padding: 10px;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.mirai-chat-input input {
    flex: 1;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.mirai-chat-input button {
    padding: 9px 14px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.mirai-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.65;
    margin-bottom: 3px;
}

.mirai-meta .sender {
    font-weight: 600;
    letter-spacing: .3px;
}

.mirai-meta .time {
    font-style: italic;
}

.mirai-msg {
    opacity: 0;
    transform: translateY(6px);
    animation: bubbleFade .35s ease forwards;
}

@keyframes bubbleFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mirai-meta {
    display: flex;
    gap: 6px;
    font-size: 12px;
    opacity: .55;
    margin-bottom: 4px;
    line-height: 1;
}

.mirai-meta .sender {
    font-weight: 600;
}

.mirai-meta .time::before {
    content: "• ";
    margin-right: 2px;
}

.mirai-msg {
    margin-bottom: 10px;
}

.mirai-meta {
    display: flex;
    gap: 6px;
    font-size: 12px;
    opacity: .55;
    margin-bottom: 4px;
    line-height: 1;
}

.mirai-meta .sender {
    font-weight: 600;
}

.mirai-meta .time::before {
    content: "• ";
    margin-right: 2px;
}

#mirai-ai-launcher {
    background: #b3003c !important;
    color: #fff !important;
    /* ikon beyaz kalsın istersen, aşağıda değiştireceğiz */
}

#mirai-ai-launcher:hover {
    background: #8e0030 !important;
    /* daha koyu kırmızı */
}

#mirai-ai-launcher i {
    color: #fff;
    /* ikon beyaz kalsın */
    /* Eğer ikon da kırmızı olsun dersen → color: #b3003c; */
}















































/* LOGO BAND — semi-glass + blur */
.clients {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 70px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -60px;
    /* testimonial ile kusursuz birleşme */
    position: relative;
    z-index: 3;
}

/* LOGOLAR — soft + glow + hover */
.clients img {
    opacity: 0.55;
    transition: all 0.35s ease;
    filter: grayscale(100%) brightness(1.15);
}

.clients img:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.15);
}

/* LOGO SLIDER OKLARI */
.clients .swiper-button-prev,
.clients .swiper-button-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    transition: 0.25s;
}

.clients .swiper-button-prev:hover,
.clients .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.20);
}

/* ================================




/* NAV BUTTONS */
.mirai-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .25s;
    z-index: 12;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}





.mirai-prev {
    left: -30px;
}

.mirai-next {
    right: -30px;
}

.mirai-nav:hover {
    background: rgba(255, 255, 255, 0.14);
}



.fancybox__container {
    z-index: 999999 !important;
}







/* Sitede Ara Butonu Sabitlemesi */
#mirai-search-menu {
    position: fixed !important;  /* Mutlaka sabit durmalı */
    z-index: 999;                /* Diğer öğelerin üzerinde kalsın */
    bottom: 26px;                /* Diğer butonlarınızla aynı yükseklik (Genelde 26px veya 30px'tir) */
    
    /* ÖNEMLİ: Bu değeri diğer butonların soluna gelecek şekilde ayarlamalısınız. */
    /* Örneğin; Dil menüsü right: 90px ise, buna 150px verin. */
    /* Deneme yanılma ile butonların yanına geldiği değeri bulun. */
    right: 210px;                
    
    display: block;              /* Başlangıçta gizli kalmasını engeller */
    opacity: 1;                  /* Görünür olduğundan emin oluruz */
    
    /* Zıplama yerine yumuşak geçiş isterseniz bunu açın, yoksa kapalı kalsın: */
    /* transition: right 0.3s ease; */
}




