/* ====================================================
   YAPALI - ÖZEL PROJE BÖLÜMÜ CSS
   ==================================================== */
.yapali-special-project {
    width: 100%;
    /* Arka plan tasarımın sağ tarafındaki açık mavi tonudur */
    background-color: #f0f5fa; 
    position: relative;
    overflow: hidden;
}

.sp-layout-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 750px;
}

/* ====================================================
   SOL TARAF: AÇILI GÖRSEL VE BANT
   ==================================================== */
.sp-image-column {
    flex: 1.2;
    position: relative;
    min-width: 50%;
}

/* 📐 Eğimli Kesim (Clip-Path) Uygulaması */
.sp-image-clip {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    /* Sağ alt köşeden içeri doğru eğimli kesim */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    overflow: hidden;
}

.sp-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Görsel Üzerindeki Logo */
.sp-logo-overlay {
    position: absolute;
    top: 60px;
    right: 30%; /* Görselin üzerinde şık duracak bir konum */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sp-logo-overlay img {
    max-width: 140px;
    height: auto;
    display: block;
}

/* Alt İstatistik Bandı */
.sp-stats-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 87%; /* Clip-path'in eğimine uyum sağlar */
    background-color: var(--slider-dark, #04142c); /* Markanın koyu rengi */
    padding: 40px 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
    /* Sağ tarafına hafif eğim veriyoruz */
    clip-path: polygon(0 0, 100% 0, 96% 100%, 0% 100%);
}

.sp-stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sp-stat-icon { color: #ffffff; opacity: 0.8; }
.sp-stat-icon svg { width: 45px; height: 45px; }

.sp-stat-text { display: flex; flex-direction: column; }
.sp-stat-val { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 2px; }
.sp-stat-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; color: #cbd5e1; }
.sp-stat-sub { font-size: 0.75rem; color: #94a3b8; margin-top: 4px; }

.sp-stat-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* ====================================================
   SAĞ TARAF: İÇERİK METİNLERİ VE BUTON
   ==================================================== */
.sp-content-column {
    flex: 1;
    padding: 80px 80px 80px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 40%;
}

.sp-dots {
    position: absolute;
    top: 60px;
    right: 80px;
    opacity: 0.5;
}

.sp-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary, #0b2b5e);
    line-height: 1.15;
    margin-bottom: 35px;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 25px;
}

/* Başlık altındaki küçük çizgi */
.sp-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 4px;
    background-color: var(--slider-blue, #0047b3);
}

.sp-text-wrap {
    margin-bottom: 40px;
}
.sp-text-wrap p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* İkonlu Özellikler */
.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 45px;
}
.sp-feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.sp-feat-item svg {
    width: 36px; height: 36px;
    color: var(--slider-light-blue, #009ce4);
}
.sp-feat-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #0b2b5e);
    line-height: 1.3;
}

/* Buton */
.sp-action-btn {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 10px;
    background-color: var(--slider-light-blue, #009ce4);
    color: #ffffff; font-weight: 700; font-size: 14px;
    padding: 16px 36px; border-radius: 6px;
    text-decoration: none; transition: all 0.3s ease;
}
.sp-action-btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.sp-action-btn:hover { background-color: var(--slider-blue, #0047b3); }
.sp-action-btn:hover svg { transform: translateX(5px); }

/* ====================================================
   ANİMASYONLAR VE MOBİL UYUM
   ==================================================== */
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-left.active, .reveal-right.active { opacity: 1; transform: translateX(0); }

/* Tablet ve Altı */
@media (max-width: 1100px) {
    .sp-layout-wrapper { flex-direction: column; min-height: auto; }
    
    .sp-image-column { width: 100%; min-height: 500px; }
    /* Mobilde açılı kesimi kapatıp tam genişlik yapıyoruz */
    .sp-image-clip { clip-path: none; position: relative; height: 500px; }
    .sp-stats-banner { width: 100%; clip-path: none; position: relative; flex-wrap: wrap; gap: 20px; }
    .sp-stat-divider { display: none; }
    
    .sp-logo-overlay { right: 50%; transform: translateX(50%); }
    
    .sp-content-column { padding: 60px 30px; width: 100%; }
    .sp-features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .sp-title { font-size: 2.2rem; }
    .sp-stats-banner { flex-direction: column; align-items: flex-start; }
    .sp-stat-box { width: 100%; justify-content: flex-start; }
}