/* =========================================
   CORPORATE PAGE (RESPONSIVE MASTER)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    --bg-body: #ffffff;
    --primary: #4f46e5;
    --primary-glow: #818cf8;
    --secondary: #0f172a;
    --accent: #f43f5e;
    --text-main: #334155;
    --text-muted: #64748b;
    --card-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    --card-border: 1px solid #f1f5f9;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

/* --- ANIMASYONLAR --- */
.reveal-up { opacity: 0; transform: translateY(60px); transition: all 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s ease-out; }
.active { opacity: 1; transform: translate(0); }

/* =========================================
   1. HERO SECTION
   ========================================= */
.corp-hero {
    padding: 180px 0 140px;
    background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #ffffff 70%);
    text-align: center; position: relative; overflow: hidden;
}
.hero-shapes div { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; z-index: 0; }
.shape-1 { width: 500px; height: 500px; background: var(--primary-glow); top: -20%; left: -10%; animation: float 10s infinite alternate; }
.shape-2 { width: 400px; height: 400px; background: var(--accent); bottom: 10%; right: -10%; animation: float 12s infinite alternate-reverse; }
@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-50px); } }

.hero-content { position: relative; z-index: 2; padding: 0 15px; }

.hero-badge {
    display: inline-block; padding: 10px 25px; border-radius: 50px; background: #eef2ff;
    color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.85rem;
    margin-bottom: 30px; letter-spacing: 1px;
}
.hero-title {
    font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 25px;
    color: var(--secondary); letter-spacing: -2px;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.3rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.6;
}

/* =========================================
   2. VALUES SECTION
   ========================================= */
.values-section { padding: 140px 0; background: #f8fafc; }
.values-header { text-align: center; margin-bottom: 80px; padding: 0 15px; }
.values-header h2 { font-size: 3rem; font-weight: 900; color: var(--secondary); margin-bottom: 20px; }
.values-header p { font-size: 1.25rem; color: var(--text-muted); }

.values-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    padding: 0 15px; /* Kenar boşluğu */
}
.value-card {
    background: white; padding: 50px 30px; border-radius: 32px;
    box-shadow: var(--card-shadow); transition: 0.4s; border: var(--card-border); text-align: center;
}
.value-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.value-icon {
    font-size: 3.5rem; color: var(--primary); margin-bottom: 30px;
    display: inline-block; padding: 25px; background: #eef2ff; border-radius: 24px;
}
.value-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; color: var(--secondary); }
.value-card p { font-size: 1.1rem; line-height: 1.7; color: var(--text-muted); }

/* =========================================
   3. TIMELINE SECTION (RESPONSIVE FRIENDLY)
   ========================================= */
.timeline-section { padding: 140px 0; background: #ffffff; position: relative; overflow: hidden; }
.timeline-header { text-align: center; margin-bottom: 120px; padding: 0 15px; }
.timeline-header h2 { font-size: 3rem; font-weight: 900; color: var(--secondary); margin-bottom: 20px; }
.timeline-header p { font-size: 1.3rem; color: var(--text-muted); }

.timeline-container { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Lazer Çizgi (Masaüstü: Ortada) */
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 6px;
    background: rgba(79, 70, 229, 0.1); transform: translateX(-50%);
    border-radius: 10px; overflow: hidden;
}
.timeline-progress {
    position: absolute; top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    box-shadow: 0 0 25px var(--primary-glow); transition: height 0.1s linear;
}

.timeline-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 150px; position: relative; width: 100%;
}
.timeline-row:last-child { margin-bottom: 0; }

.timeline-content {
    width: 45%; background: white; padding: 40px; border-radius: 24px;
    box-shadow: var(--card-shadow); border: 1px solid #f1f5f9;
    position: relative; z-index: 5; transition: 0.4s;
    opacity: 0.5; filter: blur(1px); transform: scale(0.98);
}
.timeline-row.active .timeline-content { opacity: 1; filter: blur(0); transform: scale(1); border-color: var(--primary-glow); }

.timeline-dot {
    width: 20px; height: 20px; background: white; border: 4px solid #e2e8f0;
    border-radius: 50%; position: absolute; left: 50%; transform: translateX(-50%);
    z-index: 6; transition: 0.4s;
}
.timeline-row.active .timeline-dot { background: var(--primary); border-color: white; transform: translateX(-50%) scale(1.4); }

/* Yıl (Masaüstü: Ortada/Yanda) */
.timeline-year {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 6rem; font-weight: 900; color: #f1f5f9; z-index: 1;
    transition: 0.4s; line-height: 1;
}
.timeline-row.active .timeline-year { color: #e2e8f0; }

/* Masaüstü Yönlendirme (Zikzak) */
.timeline-row:nth-child(odd) { flex-direction: row-reverse; }
.timeline-row:nth-child(odd) .timeline-content { text-align: left; }
.timeline-row:nth-child(odd) .timeline-year { left: 0; }

.timeline-row:nth-child(even) { flex-direction: row; }
.timeline-row:nth-child(even) .timeline-content { text-align: right; }
.timeline-row:nth-child(even) .timeline-year { right: 0; }

/* =========================================
   4. MAP SECTION 
   ========================================= */
.map-section { padding: 140px 0; background: var(--secondary); color: white; position: relative; }
.map-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; padding: 0 20px; }
.map-content h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 25px; }
.map-content p { font-size: 1.3rem; opacity: 0.8; margin-bottom: 80px; }
.map-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.map-stat-item h3 { font-size: 3.5rem; font-weight: 800; color: var(--primary-glow); margin: 0; }
.map-stat-item p { color: #cbd5e1; font-size: 1.2rem; font-weight: 600; margin-top: 10px; }

/* =========================================
   5. MISSION & VISION (ROTAMIZ)
   ========================================= */
.mv-section { padding: 140px 0; background: #fff; }
.mv-container { display: flex; gap: 80px; align-items: center; }
.mv-text { flex: 1; padding: 0 15px; }
.mv-text h2 { font-size: 3.5rem; font-weight: 900; color: var(--secondary); margin-bottom: 40px; }
.mv-item { margin-bottom: 50px; }
.mv-item h4 { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--secondary); }
.mv-item p { color: var(--text-muted); line-height: 1.8; font-size: 1.15rem; }
.mv-img { flex: 1; border-radius: 40px; overflow: hidden; box-shadow: var(--card-shadow); height: 600px; margin: 0 15px; }
.mv-img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   6. CERTIFICATES 
   ========================================= */
.cert-section { padding: 100px 0; background: #fff; text-align: center; border-top: 1px solid #f1f5f9; }
.cert-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.6; padding: 0 20px; }
.cert-item { font-size: 1.5rem; font-weight: 700; color: #94a3b8; display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FIXES (KRİTİK BÖLÜM)
   ========================================================================== */
@media (max-width: 992px) {
    /* Genel Boşlukları Azalt */
    .corp-hero, .values-section, .timeline-section, .map-section, .mv-section {
        padding: 80px 0; /* 140px'den 80px'e düşürdük */
    }
    
    /* Font Boyutlarını Küçült */
    .hero-title, .values-header h2, .timeline-header h2, .map-content h2, .mv-text h2 {
        font-size: 2.5rem; /* 4-5rem'den küçültüldü */
    }
    .hero-desc, .timeline-header p { font-size: 1.1rem; }

    /* --- GRID SİSTEMLERİNİ TEK SÜTUNA DÜŞÜR --- */
    .values-grid { 
        grid-template-columns: 1fr; /* Yan yana değil alt alta */
        gap: 30px; 
    }
    
    .map-stats { 
        gap: 40px; 
        flex-direction: column; /* Alt alta */
    }
    
    .cert-grid { gap: 20px; }
    .cert-item { font-size: 1.2rem; }

    /* --- ROTAMIZ (MISYON/VIZYON) FIX --- */
    .mv-container { 
        flex-direction: column; /* Resim ve yazıyı alt alta al */
        gap: 40px; 
    }
    .mv-text { text-align: center; } /* Yazıları ortala */
    .mv-item h4 { justify-content: center; } /* İkonları ortala */
    .mv-img { 
        width: 100%; 
        height: 300px; /* Mobilde resmi kısalt */
        margin: 0;
    }

    /* --- TIMELINE MOBİL SIFIRLAMA (KESİN ÇÖZÜM) --- */
    /* 1. Çizgiyi sola al */
    .timeline-line { 
        left: 20px; 
        transform: none; 
    }
    
    /* 2. Tüm satırları sola yasla ve alt alta diz */
    .timeline-row, 
    .timeline-row:nth-child(even), 
    .timeline-row:nth-child(odd) {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-left: 50px; /* Çizgiden kaç */
        margin-bottom: 50px;
        width: auto;
    }
    
    /* 3. İçerik kutusunu tam genişlik yap */
    .timeline-content,
    .timeline-row:nth-child(even) .timeline-content,
    .timeline-row:nth-child(odd) .timeline-content {
        width: 100%;
        text-align: left !important;
        padding: 25px;
    }
    
    /* 4. Noktayı çizginin üzerine al */
    .timeline-dot { 
        left: 20px; 
        transform: none;
    }
    .timeline-row.active .timeline-dot { transform: scale(1.2); }
    
    /* 5. Yılı kartın içine, başlığın üstüne al (Görünür yap) */
    .timeline-year,
    .timeline-row:nth-child(even) .timeline-year, 
    .timeline-row:nth-child(odd) .timeline-year {
        position: relative !important;
        top: auto !important; left: auto !important; right: auto !important;
        transform: none !important;
        
        display: block !important;
        font-size: 2.2rem !important;
        font-weight: 800;
        color: var(--primary) !important; /* Silik değil, canlı renk */
        opacity: 1 !important;
        z-index: 1;
        margin-bottom: 10px;
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    /* Çok küçük ekranlar için ekstra küçültme */
    .hero-title { font-size: 2rem; }
    .timeline-row { margin-left: 40px; }
    .timeline-line { left: 15px; }
    .timeline-dot { left: 15px; }
    .value-card { padding: 30px 20px; }
}