/* * vizyonx - Executive Corporate Theme
 * Version: FINAL (Full Integrated)
 * İçerik: Tüm düzeltmeler (Hero, Footer, Captcha, Trust Bar, Stats) dahildir.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- KURUMSAL RENK PALETİ --- */
    --bg-body: #ffffff;
    --bg-subtle: #f1f5f9;
    
    /* Ana Renkler */
    --primary-color: #0284c7; 
    --primary-dark: #153b95; 
    
    /* Metin Renkleri */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;   
    
    /* Yapısal */
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px; 
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 90%; max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* =========================================
   1. HEADER & NAV
   ========================================= */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo a { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); text-transform: uppercase; }
.logo span { color: var(--primary-color); }

.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-size: 0.9rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; }
.main-nav a:hover { color: var(--primary-color); }

.nav-btn { background: var(--primary-dark); color: #fff !important; padding: 10px 24px; border-radius: var(--radius); }
.nav-btn:hover { background: var(--primary-color); transform: translateY(-1px); }

.hamburger { display: none; color: var(--primary-dark); font-size: 1.5rem; cursor: pointer; }

/* =========================================
   2. HERO SECTIONS (Transparan & Overlay)
   ========================================= */
.hero-section {
    /* Arka plan görselini kendi dosya adınızla değiştirmeyi unutmayın */
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('hero-bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    padding: 220px 0 160px 0; text-align: center; border-bottom: 5px solid var(--primary-color);
    position: relative; color: #ffffff;
}
.hero-section h1 { font-size: 4rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-section p { font-size: 1.25rem; color: #cbd5e1; max-width: 700px; margin: 0 auto 40px auto; text-shadow: 0 1px 5px rgba(0,0,0,0.2); }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

.subpage-hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('hero-bg.jpg');
    background-size: cover; background-position: center;
    padding: 180px 0 100px 0; text-align: center; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.subpage-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.subpage-hero p { color: #cbd5e1; font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* =========================================
   3. BUTONLAR
   ========================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary-color); color: #fff !important; }
.btn-primary:hover { background: #0369a1; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-secondary { background: transparent; color: var(--primary-dark) !important; border: 1px solid var(--border-light); margin-left: 10px; }
.btn-secondary:hover { background: var(--primary-dark); color: #fff !important; border-color: var(--primary-dark); }
.hero-section .btn-secondary { border-color: rgba(255,255,255,0.3); color: #fff !important; }
.hero-section .btn-secondary:hover { background: #fff; color: var(--primary-dark) !important; }

.full-width { width: 100%; margin-left: 0; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* =========================================
   4. GENEL BÖLÜMLER & KARTLAR
   ========================================= */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto 60px auto; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 50px; height: 4px; background: var(--primary-color); margin: 15px auto 0 auto; }

.features-grid, .solution-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card, .feature-item { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 35px; transition: var(--transition); display: flex; flex-direction: column; }
.card:hover, .feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-color); }

.icon-box, .feature-item i { width: 60px; height: 60px; background: var(--bg-subtle); color: var(--primary-color); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 25px; }
.feature-item i { width: auto; height: auto; background: transparent; font-size: 2.5rem; }
.card:hover .icon-box { background: var(--primary-color); color: #fff; }

.feature-item h3, .card h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 15px; font-weight: 700; }
.feature-item p, .card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.text-link { color: var(--primary-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.9rem; text-transform: uppercase; }
.text-link:hover { gap: 12px; color: var(--primary-color); }

/* =========================================
   5. FİYATLANDIRMA (PRICING)
   ========================================= */
.pricing-table { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.pricing-card { flex: 1; min-width: 300px; max-width: 380px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 40px 30px; text-align: center; display: flex; flex-direction: column; transition: var(--transition); }
.pricing-card:hover { border-color: var(--primary-color); box-shadow: var(--shadow-hover); }

.pricing-card.primary { background: #f8fafc; border: 2px solid var(--primary-dark); transform: scale(1.02); z-index: 2; position: relative; }
.pricing-card.primary::after { content: 'KURUMSAL SEÇİM'; position: absolute; top: 0; left: 0; width: 100%; background: var(--primary-dark); color: #fff; padding: 8px 0; font-size: 0.75rem; font-weight: 700; }

.pricing-card h3 { font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 5px; }
.tagline { color: var(--text-muted); margin-bottom: 25px; border-bottom: 1px solid var(--border-light); padding-bottom: 20px; }
.pricing-card ul { text-align: left; margin: 20px 0 30px 0; flex-grow: 1; }
.pricing-card ul li { padding: 10px 0; border-bottom: 1px solid var(--bg-subtle); display: flex; align-items: center; }
.pricing-card ul li i { margin-right: 12px; color: var(--primary-color); }

/* =========================================
   6. GLOBAL ORTAKLAR (TRUST BAR)
   ========================================= */
.trust-bar { 
    padding: 40px 0; 
    background: #fff; 
    border-bottom: 1px solid var(--border-light); 
    margin-bottom: 60px;
}
.trust-bar p { 
    color: var(--text-muted); font-size: 0.8rem; font-weight: 700; 
    text-transform: uppercase; letter-spacing: 2px; text-align: center; margin-bottom: 25px; 
}
.trust-logos { 
    display: flex; justify-content: center; flex-wrap: wrap; 
    gap: 50px; font-size: 2.5rem; color: #cbd5e1; 
}
.trust-logos i { transition: all 0.3s ease; cursor: pointer; }
.trust-logos i:hover { color: var(--primary-color); transform: scale(1.1); }

/* =========================================
   7. SÜREÇ VE BLOG
   ========================================= */
.process-section { background: #fff; padding: 100px 0; }
.process-steps { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 50px; right: 50px; height: 2px; background: var(--border-light); z-index: 1; }
.step-item { flex: 1; min-width: 220px; text-align: center; position: relative; z-index: 2; }
.step-number { width: 80px; height: 80px; background: #fff; border: 2px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; font-size: 1.5rem; font-weight: 800; color: var(--primary-color); transition: var(--transition); }
.step-item:hover .step-number { border-color: var(--primary-color); background: var(--primary-color); color: #fff; transform: scale(1.1); }
.step-item h3 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 10px; font-weight: 700; }
.step-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; padding: 0 10px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.blog-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary-color); }
.blog-img { width: 100%; height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; font-weight: 600; }
.blog-content h3 a { color: var(--primary-dark); transition: 0.3s; }
.blog-content h3 a:hover { color: var(--primary-color); }
.read-more { font-weight: 700; color: var(--primary-dark); text-transform: uppercase; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }

/* =========================================
   8. İSTATİSTİKLER (STATS SECTION)
   ========================================= */
.stats-section { 
    background: var(--text-main); /* Koyu Arka Plan */
    color: #fff; 
    padding: 80px 0; 
    margin-top: 60px;
}
.stats-section .container { 
    display: flex; justify-content: space-around; flex-wrap: wrap; 
    text-align: center; gap: 40px; 
}
.stat-item .number { 
    font-size: 3.5rem; font-weight: 800; color: var(--primary-color); 
    display: block; line-height: 1.2; margin-bottom: 10px;
    transition: transform 0.3s;
}
.stat-item:hover .number { transform: scale(1.1); color: var(--primary-color); }
.stat-item .label { 
    color: #fff; font-weight: 600; text-transform: uppercase; 
    letter-spacing: 1px; opacity: 0.8; font-size: 0.9rem;
}

/* =========================================
   9. PORTFÖY
   ========================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; position: relative; background: #fff; border: 1px solid var(--border-light); }
.portfolio-item img { width: 100%; height: 260px; object-fit: cover; transition: 0.5s; filter: grayscale(20%); }
.portfolio-item:hover img { transform: scale(1.02); filter: grayscale(0%); }
.p-content { padding: 25px; background: #fff; border-top: 1px solid var(--border-light); position: relative; z-index: 2; }
.p-content .tag { font-size: 0.75rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 5px;}

/* =========================================
   10. FORMLAR & CAPTCHA & CTA
   ========================================= */
.cta-wrapper { padding: 100px 0; background: var(--bg-body); }
.cta-box { display: flex; background: var(--primary-dark); border-radius: var(--radius); overflow: hidden; color: #fff; }
.cta-text { flex: 1; padding: 80px 60px; }
.cta-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: #fff; }
.cta-text p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 30px; }
.cta-list li { margin-bottom: 15px; display: flex; align-items: center; color: #fff; }
.cta-list li i { color: var(--primary-color); margin-right: 15px; }

.vizyonx-form-container { flex: 0.8; padding: 60px; background: #f8fafc; color: var(--text-main); }
.vizyonx-form h3 { color: var(--primary-dark); margin-bottom: 25px; font-size: 1.6rem; }
.vizyonx-form input, .vizyonx-form textarea { width: 100%; padding: 14px; margin-bottom: 15px; border: 1px solid var(--border-light); border-radius: 6px; }
.vizyonx-form input:focus, .vizyonx-form textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1); }

/* Captcha Düzeni */
.captcha-group { display: flex; flex-wrap: nowrap; gap: 10px; margin-bottom: 20px; width: 100%; align-items: stretch; }
.captcha-group input { flex: 1; margin-bottom: 0 !important; width: auto !important; min-width: 0; }
.captcha-display { flex-shrink: 0; padding: 0 15px; background: #e2e8f0; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); text-decoration: line-through; user-select: none; }
.refresh-captcha { flex-shrink: 0; padding: 0 15px; margin-left: 0 !important; width: auto !important; }

/* Contact Page Layout */
.contact-section { background: #fff; }
.contact-row { display: flex; gap: 50px; }
.contact-col { flex: 1; }
.contact-info-box { background: var(--bg-subtle); padding: 50px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.info-list li { padding: 15px 0; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; }
.info-list i { color: var(--primary-color); margin-right: 15px; }

/* =========================================
   11. FOOTER
   ========================================= */
.main-footer { background: #1e293b; color: #cbd5e1; padding: 80px 0 30px 0; font-size: 0.9rem; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-size: 1.6rem; color: #fff; font-weight: 800; margin-bottom: 0px; text-transform: uppercase; }
.footer-logo span { color: #42ab7a; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; color: #94a3b8; }
.social-links { display: flex; gap: 15px; margin-top:20px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; transition: 0.3s; }
.social-links a:hover { background: var(--primary-color); }

/* =========================================
   12. RESPONSIVE (MOBİL)
   ========================================= */
@media (max-width: 900px) {
    .main-header { padding: 5px 0; }
    .hamburger { display: block; }
    .main-nav { position: fixed; top: 60px; left: 0; width: 100%; height: calc(100vh - 60px); background: #fff; flex-direction: column; display: none; border-top: 1px solid var(--border-light); padding-top: 30px; overflow-y: auto; }
    .main-nav.active { display: flex; }
    .main-nav ul { flex-direction: column; gap: 20px; text-align: center; width: 100%; } 
    .nav-btn { width: 80%; text-align: center; margin-top: 20px; }
    
    .hero-section h1 { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-section .btn-secondary { margin-left: 0; margin-top: 15px; }
    
    .cta-box, .pricing-table, .contact-row { flex-direction: column; }
    .vizyonx-form-container, .cta-text { padding: 40px 20px; }
    
    /* Footer Mobilde Alt Alta */
    .footer-grid { display: flex; flex-direction: column; text-align: center; gap: 40px; }
    .footer-col h4, .social-links { justify-content: center; }
    
    .process-steps::before { display: none; }
    .step-item { margin-bottom: 30px; }
    
    .trust-logos { gap: 30px; font-size: 2rem; }
    .stats-section .container { flex-direction: column; gap: 50px; }
    
    /* Captcha Mobilde Tek Satır */
    .captcha-group { flex-wrap: nowrap !important; }
}

/* =========================================
   13. ANIMASYONLAR (Reveal & Active)
   ========================================= */
/* Başlangıç Durumu */
.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s ease-out; 
}

/* Javascript ile 'active' eklenince */
.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* İstatistikler biraz daha geç gelsin */
.stats-section.reveal.active {
    transition-delay: 0.2s;
}

/* --- 4 SÜTUNLU ÇÖZÜMLER DÜZENLEMESİ --- */

/* Geniş ekranlarda 4 sütun yan yana sığsın */
@media (min-width: 1200px) {
    .solution-cards {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Kartların içindeki yazı boyutunu ve paddingi hafif dengeleyelim */
.solution-cards .card {
    padding: 30px 20px; /* Kenar boşluklarını biraz daralttık */
}

/* Tablet ve küçük laptoplarda yine 2 veya 3 sütun olsun (Responsive Bozulmasın) */
@media (max-width: 1199px) {
    .solution-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
}

/* =========================================
   BOŞLUK AZALTMA DÜZENLEMESİ (COMPACT MODE)
   ========================================= */

/* 1. Genel Bölüm Boşlukları (80px'den 50px'e düşürüldü) */
section { 
    padding: 50px 0; 
}

/* 2. Başlıkların Altındaki Boşluk (60px'den 30px'e düşürüldü) */
.section-title { 
    margin-bottom: 30px; 
}

/* 3. Ana Hero (Giriş) Alt Boşluğu (160px'den 80px'e düşürüldü) */
.hero-section {
    padding-bottom: 80px; 
}

/* 4. Alt Sayfa Hero (Contact, About vb.) Alt Boşluğu */
.subpage-hero {
    padding-bottom: 60px;
}

/* 5. Markalar (Trust Bar) Alt Boşluğu */
.trust-bar {
    padding: 25px 0;
    margin-bottom: 30px;
}

/* 6. İstatistikler (Stats) Bölümü */
.stats-section {
    margin-top: 0; /* Üstten gelen ekstra boşluğu sıfırla */
    padding: 50px 0;
}

/* 7. Footer Üst Boşluğu */
.main-footer {
    margin-top: 50px;
    padding-top: 60px;
}

/* --- MOBİL İÇİN DAHA DA SIKIŞTIRMA --- */
@media (max-width: 900px) {
    section { padding: 40px 0; }
    .hero-section { padding-bottom: 60px; }
    .section-title { margin-bottom: 25px; }
    .main-footer { margin-top: 30px; }
}

/* --- BLOG DETAY SAYFASI --- */
.blog-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol geniş, sağ dar */
    gap: 40px;
}

.detail-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
}

.share-area {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}
.share-area a { color: var(--text-muted); font-size: 1.2rem; }
.share-area a:hover { color: var(--primary-color); }

/* Sidebar (Yan Menü) */
.blog-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}
.recent-posts li {
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}
.recent-posts li:last-child { border-bottom: none; }
.recent-posts a { display: block; transition: 0.3s; }
.recent-posts a:hover { color: var(--primary-color); transform: translateX(5px); }
.recent-posts strong { display: block; font-size: 0.95rem; line-height: 1.4; margin-bottom: 5px; }
.recent-posts span { font-size: 0.8rem; color: var(--text-muted); }

/* Mobilde Tek Sütun Olsun */
@media (max-width: 900px) {
    .blog-detail-wrapper { grid-template-columns: 1fr; }
}