/* =============================================== */
/* 1. BİZ KİMİZ? (Resim ve Yazı Alanı)
/* Bu bölüm, videonun yerine eklenen resim ve metin alanı içindir.
/* =============================================== */
#who-we-are-image {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: left;
    overflow: hidden; /* Animasyonların taşmasını önler */
}

.image-content-wrapper {
    display: flex;
    flex-direction: column; /* Mobil için varsayılan: alt alta */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.airobos-logo-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-content-wrapper .text-content {
    flex: 1.5; /* Metin resimden daha fazla yer kaplasın */
}

/* Tablet ve üzeri ekranlar için düzenleme */
@media (min-width: 768px) {
    .image-content-wrapper {
        flex-direction: row; /* Yan yana getir */
        text-align: left;    /* Metni sola hizala */
    }
    .image-container {
        margin-bottom: 0;
        margin-right: 40px; /* Resimle metin arasına boşluk koy */
    }
}


/* =============================================== */
/* 2. AIROBOS YAŞAM SERÜVENİ (Yatay Zaman Çizelgesi)
/* =============================================== */
.timeline-wrapper {
    position: relative;
    width: 100%;
}

/* --- Navigasyon Butonları --- */
.timeline-navigation {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-bottom: 1rem;
}

.timeline-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(16, 32, 48, .12);
    background-color: #fff;
    color: #102030;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(16, 32, 48, .06);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.timeline-btn:hover:not(:disabled) {
    background-color: var(--primary-blue, #3883eb);
    border-color: var(--primary-blue, #3883eb);
    color: #fff;
}

.timeline-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Kaydırılabilir alan: kenarlarda yumuşak geçiş, kartlar eşit yükseklikte --- */
.timeline-items {
    --tl-gap: 24px;
    display: flex;
    align-items: stretch;
    gap: var(--tl-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 48px 1.5rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.timeline-items::-webkit-scrollbar {
    display: none;
}

/* --- Tek bir yıl --- */
.timeline-item {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    padding-top: 72px; /* yıl + nokta */
    position: relative;
    scroll-snap-align: center;
}

/* Yatay çizgi (aradaki boşluğu da kapatır) */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: calc(100% + var(--tl-gap));
    height: 3px;
    background-color: #e3e8ef;
}

/* Nokta */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 43px;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid var(--primary-blue, #3883eb);
    z-index: 1;
    transition: background-color .3s ease, transform .3s ease;
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #102030;
    margin: 0;
    transition: color .3s ease;
}

/* İçerik kartı (sitenin feature-box diliyle aynı) */
.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid rgba(16, 32, 48, .08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.timeline-content h5 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #102030;
    padding-bottom: .5rem;
    margin-bottom: .75rem;
    border-bottom: 2px solid var(--primary-blue, #3883eb);
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5c6773;
    margin-bottom: 0;
}

/* --- Etkileşim --- */
.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(16, 32, 48, .12);
}

.timeline-item.is-active .timeline-year { color: var(--primary-blue, #3883eb); }
.timeline-item.is-active::after { background-color: var(--primary-blue, #3883eb); transform: scale(1.15); }
.timeline-item.is-active .timeline-content { border-color: rgba(56, 131, 235, .55); }

@media (max-width: 575.98px) {
    .timeline-items { padding: 0 24px 1.25rem; --tl-gap: 16px;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
                mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%); }
    .timeline-item { flex-basis: 82%; }
}


/* =============================================== */
/* 3. SERTİFİKALAR
/* =============================================== */
.certificate-img {
    max-height: 200px;
    width: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.05);
}
/* =============================================== */
/* 0. YENİ KURUMSAL GİRİŞ (HERO) BÖLÜMÜ
/* =============================================== */

.corporate-hero-section {
    position: relative;
    height: 70vh; /* Ekran yüksekliğinin %70'i kadar */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Taşmaları engelle */
    color: white;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/bg10.jpg'); /* ARKA PLAN RESMİNİN YOLU */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none; /* blur kaldırıldı */
    transform: none; /* ölçek kaldırıldı */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* YENİ RENK GEÇİŞİ: Üstte canlı mavi, altta koyu lacivert */
    background: linear-gradient(180deg, rgba(41, 105, 185, 0.85), rgba(7, 21, 38, 0.9));
}

.hero-content {
    position: relative; /* Diğer katmanların üzerinde kalması için */
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Başlığa derinlik katan gölge */
}

/* Bootstrap'in beyaz-75 rengini daha belirgin yapalım */
.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-content .btn-primary {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px; /* Yuvarlak buton */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.hero-content .btn-primary:hover {
    transform: translateY(-3px); /* Butona hover'da kalkma efekti */
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}
/* =============================================== */
/* 5. PARTNERLER (YENİ TASARIM)
/* =============================================== */
.partners-section {
    background-color: #f8f9fa; /* Hafif gri arka plan */
}

.partners-section .logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

/* Kenar geçişi artık mask-image ile yapılıyor (about.html); eski örtüler kapalı */
.partners-section .logo-slider::before,
.partners-section .logo-slider::after {
    content: none;
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-section .logo-slider::before {
    left: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0), #f8f9fa);
}

.partners-section .logo-slider::after {
    right: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0), #f8f9fa);
}

.document-card-link {
    text-decoration: none; /* Link alt çizgisini kaldır */
    color: inherit;        /* Yazı rengini normal metin gibi yap */
    display: block;        /* Linkin tüm alanı kaplamasını sağla */
    height: 100%;
}
.document-card-link:hover {
    text-decoration: none; /* Üzerine gelince de çizgi olmasın */
    color: inherit;
}

/* Kartın kendisinin stilleri */
.document-card {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

/* Hover efekti artık linkin üzerine gelince kartı etkiliyor */
.document-card-link:hover .document-card {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.1); /* Mavi gölge */
    border-color: #0d6efd;
}

.document-card .icon {
    font-size: 2.5rem;
    color: var(--primary-blue, #3883eb);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

/* Hover'da ikon rengi maviye dönecek */
.document-card-link:hover .document-card .icon {
    color: #0d6efd;
}

.document-card h5 {
    font-weight: bold;
    color: #212529; /* Normalde siyah */
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

/* Hover'da başlık rengi de maviye dönecek */
.document-card-link:hover .document-card h5 {
    color: #0d6efd;
}

.document-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.document-card .doc-download {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(56, 131, 235, .08);
    color: var(--primary-blue, #3883eb);
    font-size: .8rem;
    font-weight: 600;
}
.document-card-link:hover .doc-download { background: var(--primary-blue, #3883eb); color: #fff; }
