/* ==========================================================================
   TARİHÇEMİZ - KOKPİT ARAYÜZÜ (WIDGET UI) VE VERİ IZGARASI EFEKTİ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800;900&display=swap');

body { background-color: #f8fafc; }

.barcode-timeline-main {
    padding-top: 50px !important;
    padding-bottom: 80px;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BAŞLIK ALANI --- */
.bt-header {
    margin-bottom: 0px;
    position: relative;
    z-index: 20;
}

.bt-header-inner {
    max-width: 1000px;
    text-align: left; 
}

.bt-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.bt-mega-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #0f172a;
    display: inline-block;
    position: relative;
    margin-bottom: 0px;
    letter-spacing: -0.02em;
}

.bt-mega-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; 
    width: 80px;
    height: 6px;
    background-color: #0b3d7a;
}

.bt-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #475569;
    max-width: 800px;
    line-height: 1.6;
}

/* --- SVG VE İNTERAKTİF KUTULAR ZONU --- */
.bt-interactive-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -700px;
    z-index: 1;
}

.bt-svg-zone {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-timeline-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.03));
}

/* ==========================================================================
   MİLİMETRİK HİZALAMA KİLİTLERİ
   ========================================================================== */
#desc-1995 { left: 10.27% !important; right: auto !important; }
#desc-2020 { left: 27.24% !important; right: auto !important; }
#desc-2021 { left: 42.40% !important; right: auto !important; }
#desc-2022 { left: 56.35% !important; right: auto !important; }
#desc-2023 { left: 76.80% !important; right: auto !important; }
#desc-2027 { left: 92.57% !important; right: auto !important; }


/* ==========================================================================
   YENİ NESİL KOKPİT WIDGET KARTLARI (İkonlu, Filigranlı ve Teknolojik)
   ========================================================================== */
.bt-desc-box {
    position: absolute;
    top: 45% !important; 
    width: 380px; 
    background-color: rgba(255, 255, 255, 0.75); 
    /* Veri Izgarası (Dotted Grid) Deseni */
    background-image: radial-gradient(rgba(11, 61, 122, 0.08) 1px, transparent 1px);
    background-size: 16px 16px;
    backdrop-filter: blur(24px) saturate(180%); 
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 20px; 
    padding: 30px;
    box-shadow: 
        0 30px 60px -15px rgba(11, 61, 122, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8); 
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transform: translate(-50%, 30px) scale(0.95) !important; 
    transform-origin: bottom center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1); 
    z-index: 20;
    text-align: left;
    overflow: hidden;
}

/* DEVASA GİZLİ FİLİGRAN (Arka Plandaki Yıl) */
.card-watermark {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 110px;
    font-weight: 900;
    color: rgba(11, 61, 122, 0.03); /* Sadece hissettiren hafiflikte */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    letter-spacing: -4px;
}

/* Üst Başlık ve İkon Satırı */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* Yıl Rozeti */
.card-year-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #ffffff;
    color: #0b3d7a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    border-radius: 8px;
    border: 1px solid rgba(11, 61, 122, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    letter-spacing: 0.5px;
}

/* Neon İkon Kutusu */
.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b3d7a, #0ea5e9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

/* Metin İçeriği */
.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Yükleme / İlerleme Çubuğu (Alttan Dolan Çizgi) */
.card-progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0; /* Aktif olunca dolacak */
    background: #0ea5e9;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

/* Kart Aktif Konumu */
.bt-desc-box.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1) !important;
}

/* Kart aktif olduğunda ilerleme çubuğunu doldur */
.bt-desc-box.active .card-progress-line {
    width: 100%;
}


/* --- 2027 ALTIN GELECEK KARTI (Karanlık Cam / Dark Glassmorphism) --- */
.bt-desc-box.box-gold {
    background-color: rgba(15, 23, 42, 0.85);
    background-image: radial-gradient(rgba(245, 158, 11, 0.1) 1px, transparent 1px);
    box-shadow: 
        0 30px 60px -15px rgba(245, 158, 11, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.box-gold .card-watermark { color: rgba(245, 158, 11, 0.05); }

.box-gold .card-year-badge {
    background: #1e293b;
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.2);
}

.box-gold .card-icon {
    background: linear-gradient(135deg, #d97706, #fcd34d);
    color: #451a03;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.box-gold .card-content h3 { color: #ffffff; }
.box-gold .card-content p { color: #cbd5e1; }
.box-gold .card-progress-line { background: #f59e0b; }


/* ==========================================================================
   SVG İÇİ DİNAMİK BARKOD ÇİZGİLERİ VE YILLARIN ŞAHLANIŞI
   ========================================================================== */
.ae-timeline-line {
    fill: #0f172a; 
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center; 
    transform-box: fill-box;
}

.ae-timeline-line.active { fill: #0b3d7a; transform: scaleY(1.15); }
.ae-timeline-line[data-year="2027"].active { fill: #f59e0b; }

.ae-svg-year {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 900;
    fill: #0f172a;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ae-svg-year.active { 
    fill: #0b3d7a; 
    font-size: 42px; 
    transform: translateY(-20px); 
}

/* === YENİ: UZUN VE ALT ALTA (MULTI-LINE) YILLAR İÇİN ÖZEL KURALLAR === */
.ae-svg-year.multi-line {
    font-size: 22px; /* Çift satır olduğu için standart fonttan biraz daha ufak */
}

/* Alt alta olan metinler aktif olduğunda taşmaması için özel zıplama sınırı */
.ae-svg-year.multi-line.active {
    font-size: 28px;
    transform: translateY(-15px); 
}

/* 2027'nin altındaki "GELECEK" yazısı için özel teknolojik font ayarı */
.future-text {
    font-size: 0.65em; /* Üstteki 2027'ye göre %65 boyutunda kalarak hiyerarşi kurar */
    letter-spacing: 3px;
    font-weight: 800;
}

.gold-text.active { fill: #f59e0b; }


/* ==========================================================================
   MOBİL VE TABLET UYUMU
   ========================================================================== */
@media (max-width: 1024px) {
    .bt-interactive-section {
        overflow-x: auto;
        padding-bottom: 40px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
    
    .bt-interactive-section::-webkit-scrollbar { height: 6px; }
    .bt-interactive-section::-webkit-scrollbar-track { background: transparent; }
    .bt-interactive-section::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 10px;
    }

    .bt-svg-zone { min-width: 1000px; }
}

@media (max-width: 768px) {
    .bt-mega-title { font-size: 2.2rem; }
    .bt-desc-box { top: 40% !important; }
}