/*
 * Index sayfasina ozel stiller. Daha once sayfa icinde inline <style> blogu ve
 * style="" attribute'lari olarak duruyordu; CSP'de style-src 'unsafe-inline'
 * ihtiyacini kaldirmak icin tasindi. Kurallar birebir korunmustur.
 * Yalnizca bu sayfada yuklenir (@section Styles) -> cascade kapsami ayni kalir.
 */
   
    .hero-header {
        position: relative;        
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
        padding: 150px 0 170px 0;
        overflow: hidden;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: auto; 
    }

    #particles-js {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0.6; 
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    .typed-cursor {
        color: var(--pusula-turuncu);
    }

    
    .hero-title {
        font-size: 3.5rem; 
        font-weight: 800;
        line-height: 1.2;
        color: #fff !important;
        text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    
    .custom-block {
        border-radius: 20px;
        padding: 30px;
        background: #fff;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
        transition: all 0.3s ease;
        height: 100%;
        position: relative;
        overflow: hidden;
        border-bottom: 5px solid transparent;
        border-top: 5px solid #00c853; 
    }

        .custom-block:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            border-bottom: 5px solid var(--pusula-turuncu);
        }

    .custom-block-icon {
        width: 70px;
        height: 70px; 
        background: rgba(0, 181, 173, 0.1);
        border-radius: 50%; 
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-size: 28px;
        color: var(--pusula-turkuaz);
        transition: 0.3s;
    }

    .custom-block:hover .custom-block-icon {
        background: var(--pusula-turuncu);
        color: #fff;
        transform: rotateY(180deg); 
    }

    .custom-btn {
        background: transparent;
        color: var(--pusula-mavi);
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        margin-top: 15px;
    }

        .custom-btn:hover {
            color: var(--pusula-turuncu);
        }

    
    @media (max-width: 768px) {
        .hero-header {
            /* style.css mobilde margin-top:-100px uyguluyor; ust bosluk once
               onu telafi eder, sonra fixed header yuksekligi + nefes payi. */
            padding: calc(100px + var(--pv-header-h) + 28px) 0 110px 0;
        }

        .hero-title {
            font-size: 2.2rem;

            /* CLS: yazi animasyonundaki ifadeler dar ekranda 1-3 satir arasinda
               degisiyor ve hero buyuyup altindaki bolumu asagi itiyordu (olculen
               kayma 0.077-0.217). En uzun durum (3 satir x 1.2 satir yuksekligi)
               bastan ayrilir; 768px ustunde ifadeler tek satira sigdigi icin
               rezervasyona gerek yoktur. */
            min-height: 3.6em;
        }
    }
    
    .partner-box {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer; 
    }
    
    .partner-img {
        max-height: 50px;
        max-width: 100%;
        filter: none;
        opacity: 1;
        transition: all 0.4s ease;
    }

    
    .partner-box:hover {
        border-color: var(--pusula-mavi);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transform: translateY(-5px);
        z-index: 2;
    }

        .partner-box:hover .partner-img {
            transform: scale(1.1); 
        }
    
    .btn-instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        border: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

        .btn-instagram:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(220, 39, 67, 0.4) !important;
            color: #fff !important;
        }

    
    .shine-effect {
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% {
            left: -100%;
        }

        20% {
            left: 200%;
        }

        100% {
            left: 200%;
        }
    }

/* --- Index sayfasinin eski inline style="" degerleri (sinifa tasindi) --- */
.hero-lead { font-size: 1.25rem; font-weight: 300; }
.hero-cta { min-width: 200px; }
.solutions-section { margin-top: -50px; position: relative; z-index: 5; }
.stats-section { background: var(--pusula-mavi); }
.stat-box { border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; }
.section-offwhite { background-color: #fcfcfc; border-top: 1px solid #eee; }
.section-gray { background-color: var(--zemin-gri); }
.news-intro { max-width: 600px; margin: 0 auto; }
.process-step-number { width: 50px; height: 50px; font-size: 20px; }
.cta-title { color: var(--pusula-turuncu) !important; }
.news-card-img { height: 200px; object-fit: cover; }
.duyuru-modal-header { background: linear-gradient(135deg, var(--pusula-mavi) 0%, #2a5298 100%); }
.duyuru-modal-icon { opacity: 0.1; font-size: 120px; right: -20px; top: -30px; transform: rotate(15deg); }
.duyuru-modal-bell { width: 32px; height: 32px; }
.duyuru-modal-bell-icon { font-size: 14px; }
.duyuru-thumb { height: 90px; }
.duyuru-badge { font-size: 10px; }
.duyuru-meta { font-size: 11px; }

/* --- Typed.js imlec stili. Kutuphane bunu varsayilan olarak calisma zamaninda
   <style> elemani olarak ekliyordu (autoInsertCss). CSP style-src 'self' altinda
   engellenecegi icin autoInsertCss:false yapildi; asagidaki kurallar Typed.js
   2.0.12'nin ekledigi CSS ile birebir aynidir (showCursor acik, fadeOut kapali). --- */
.typed-cursor {
    opacity: 1;
}
.typed-cursor.typed-cursor--blink {
    animation: typedjsBlink 0.7s infinite;
    -webkit-animation: typedjsBlink 0.7s infinite;
    animation: typedjsBlink 0.7s infinite;
}
@keyframes typedjsBlink {
    50% { opacity: 0.0; }
}
@-webkit-keyframes typedjsBlink {
    0% { opacity: 1; }
    50% { opacity: 0.0; }
    100% { opacity: 1; }
}
