/* Bu dosya assets/frachise-sureci-nasil-isler.css
  "Franchise Süreci" (Teknolojik Timeline) bölümü.
  Ana Renk: #4b975f
*/
.surec-section {
    padding: 5rem 0;
    /* Önceki bölümle (markalar) kontrast için beyaz */
    background-color: #ffffff; 
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #e6f7eb; /* İki bölüm arası ayırıcı */
    overflow-x: hidden; /* Mobil için yatay taşmayı önle */
}

/* Başlık stilleri (Önceki bölümle tutarlı) */
.surec-section .weg-section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222;
    text-align: center;
}
.surec-section .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 0.5rem; 
    margin-bottom: 5rem; /* Adımlara daha fazla yer aç */
    text-align: center;
}

/* "Teknolojik" Zaman Çizgisi Konteynırı */
.surec-timeline {
    display: grid;
    /* Masaüstünde 4 sütun */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative; /* Çizgi için */
}

/* Masaüstü: 4 Adımı Birleştiren Ana Çizgi */
.surec-timeline::before {
    content: '';
    position: absolute;
    top: 40px; /* Numara dairelerinin tam ortası */
    left: 5%;  /* Kenarlardan boşluk */
    right: 5%; /* Kenarlardan boşluk */
    height: 4px;
    background-color: #e6f7eb; /* Açık yeşil zemin */
    background-image: linear-gradient(to right, #4b975f 50%, #e6f7eb 50%);
    background-size: 8px 100%; /* "Teknolojik" kesik çizgi efekti */
    z-index: 0;
    animation: timeline-progress 4s linear 0.5s 1 forwards; /* Çizginin dolma animasyonu */
}

/* Çizgi dolma animasyonu */
@keyframes timeline-progress {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}


/* Zaman Çizgisi Öğesi (Her bir adım) */
.surec-item {
    position: relative; /* Çizginin üstünde durması için */
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

/* Adım Numarası (Daire) */
.step-number-wrapper {
    /* Dairenin çizgiyi kırması için arka planı beyaz */
    background-color: #ffffff; 
    padding: 0 0.5rem; /* Çizgideki boşluk */
    display: inline-block; /* Ortalamak için */
    margin-bottom: 1.5rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #f8fdf9; /* Çok açık yeşil */
    border: 3px solid #4b975f; /* Ana Renk */
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 1.8rem;
    font-weight: 700;
    color: #4b975f;
    
    box-shadow: 0 5px 15px rgba(75, 151, 95, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.surec-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(75, 151, 95, 0.2);
}

/* Adım İçeriği (Metinler) */
.surec-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.7rem;
    min-height: 50px; /* Başlık yüksekliklerini eşitlemek için */
}

.surec-content p {
    font-size: 0.95rem; 
    color: #555;
    line-height: 1.6;
}


/* --- MOBİL UYUMLULUK --- */

@media (max-width: 992px) {
    /* Tablette 2 sütun */
    .surec-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem; /* Daha fazla dikey boşluk */
    }

    /* Tablette yatay çizgiyi gizle */
    .surec-timeline::before {
        display: none;
    }

    .surec-content h3 {
        min-height: auto; /* Eşitlemeyi kaldır */
    }
}

@media (max-width: 768px) {
    .surec-section {
        padding: 4rem 1rem;
    }

    /* Mobilde tek sütun */
    .surec-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Başlık ve alt başlığı küçült */
    .surec-section .weg-section-title h2 {
        font-size: 2rem;
    }
    .surec-section .section-subtitle {
        margin-bottom: 3rem;
    }
}