/* ==========================================================================
   ANASAYFA ARA GEÇİŞ / EĞİTİM YOLCULUĞU STİLLERİ
   ========================================================================== */

.home-process-section {
    position: relative;
    width: 100%;
    padding: 140px 0 150px 0;
    min-height: 700px;
    background-color: #fcfbf7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
    overflow: visible; /* Görsellerin üst bölüme taşabilmesi için */
}

/* 🖼️ Arka Plan Görsel Katmanı (Masaüstünde Tam Sığdırma) */
.process-bg-layer {
    position: absolute;
    inset: 0;
    background-size: 100% 100%; /* Görsel boşluk bırakmadan ve kırpılmadan alana tam oturur */
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.95;
    z-index: 1;
}

/* ==========================================================================
   ✏️ ÜST BÖLÜMLE KÖPRÜ KURAN SAĞ KALEM GÖRSELİ
   ========================================================================== */
.pencil-decor-wrapper {
    position: absolute;
    top: -100px;
    right: 3%;
    z-index: 10;
    pointer-events: none;
}

.pencil-decor-img {
    width: 270px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transform: rotate(-15deg);
    animation: pencilFloat 6s ease-in-out infinite alternate;
}

@keyframes pencilFloat {
    0% {
        transform: rotate(-15deg) translateY(0px);
    }
    100% {
        transform: rotate(-11deg) translateY(-14px);
    }
}

/* ==========================================================================
   🏹 ÜST BÖLÜMLE KÖPRÜ KURAN SOL OK GÖRSELİ
   ========================================================================== */
.arrow-decor-wrapper {
    position: absolute;
    top: -85px;
    left: 3%;
    z-index: 10;
    pointer-events: none;
}

.arrow-decor-img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
    transform: rotate(12deg);
    animation: arrowFloat 5.5s ease-in-out infinite alternate;
}

@keyframes arrowFloat {
    0% {
        transform: rotate(12deg) translateY(0px);
    }
    100% {
        transform: rotate(8deg) translateY(-12px);
    }
}

/* Kapsayıcı & İçerik */
.process-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

/* Üst Başlık */
.process-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px auto;
}

.process-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 243, 199, 0.95);
    border: 1px solid #fde68a;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.process-tag .tag-dot {
    width: 8px;
    height: 8px;
    background-color: #d97706;
    border-radius: 50%;
}

.process-title {
    font-size: 38px;
    font-weight: 800;
    color: #1b5e20;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.process-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Adımlar Kapsayıcısı */
.process-steps-wrapper {
    position: relative;
    width: 100%;
}

/* SVG Bağlantı Çizgisi */
.process-svg-line {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

/* 4 Kolonlu Izgara */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

/* Adım Kartı Temeli */
.process-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Zikzak Konumlandırma (YUKARI & AŞAĞI) */
.step-top {
    margin-top: 0;
}

.step-bottom {
    margin-top: 60px;
}

/* Organik Bulut/Damla İkon Kapsayıcısı (Blob) */
.step-blob-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 55% 45% 40% 60% / 60% 40% 60% 40%;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-item:hover .step-blob-wrapper {
    transform: scale(1.08) rotate(5deg);
    border-radius: 40% 60% 60% 40% / 50% 50% 40% 60%;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Blob Renk Varyasyonları */
.blob-green { background: linear-gradient(135deg, #81c784 0%, #2e7d32 100%); color: #ffffff; }
.blob-amber { background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%); color: #ffffff; }
.blob-blue  { background: linear-gradient(135deg, #38bdf8 0%, #0288d1 100%); color: #ffffff; }
.blob-purple{ background: linear-gradient(135deg, #c084fc 0%, #7b1fa2 100%); color: #ffffff; }

.step-icon svg {
    width: 40px;
    height: 40px;
}

/* Adım Numarası Rozeti */
.step-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid #ffffff;
}

/* Metin Alanı */
.step-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    max-width: 250px;
}

/* ==========================================================================
   ✨ SCROLL REVEAL (SÜZÜLEREK AÇILMA ANİMASYONLARI)
   ========================================================================== */
.process-reveal {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up { transform: translateY(35px); }
.reveal-down { transform: translateY(-35px); }

.process-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.40s; }
.delay-4 { transition-delay: 0.55s; }

/* ==========================================================================
   📱 MOBİL & TABLET UYUMLULUK (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
    .home-process-section {
        padding: 110px 0 120px 0;
    }

    .pencil-decor-wrapper {
        top: -70px;
        right: 1%;
    }

    .pencil-decor-img {
        width: 180px;
    }

    .arrow-decor-wrapper {
        top: -60px;
        left: 1%;
    }

    .arrow-decor-img {
        width: 140px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-svg-line {
        display: none;
    }

    .step-bottom {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .home-process-section {
        padding: 90px 0 100px 0;
        min-height: auto;
    }

    /* Mobilde kartlar alt alta indiğinde dikeyde görselin ezilmemesi için cover korundu */
    .process-bg-layer {
        background-size: cover;
        background-position: center top;
    }

    .pencil-decor-wrapper {
        top: -45px;
        right: 5px;
    }

    .pencil-decor-img {
        width: 110px;
    }

    .arrow-decor-wrapper {
        top: -40px;
        left: 5px;
    }

    .arrow-decor-img {
        width: 85px;
    }

    .process-header {
        margin-bottom: 45px;
    }

    .process-title {
        font-size: 28px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 18px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(8px);
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.9);
    }

    .step-blob-wrapper {
        width: 68px;
        height: 68px;
        min-width: 68px;
        margin-bottom: 0;
    }

    .step-icon svg {
        width: 28px;
        height: 28px;
    }

    .step-number {
        top: -2px;
        right: -2px;
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .step-content p {
        max-width: 100%;
        font-size: 13.5px;
    }
}