/* ============================================
    CTA SECTION COMPONENT STYLES
   ============================================ */

.cta-section {
    position: relative;
    padding: 80px;
    border-radius: 40px;
    margin: 60px auto;
    max-width: 1250px;
    min-height: 500px;
    margin-top: 240px;
}

.cta-container {
    max-width: 1258px;
    margin: 0 auto;
    height: 100%;
}

.cta-content {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
}

/* Text Content */
.cta-text {
    z-index: 2;
}

.cta-title {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1.4;
}

.cta-subtitle {
    font-size: 24px;
    margin-bottom: 80px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.4;
}

/* Button */
.cta-button {
    display: inline-block;
    background: #e31e24;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}
/* Image */
/* === DÜZELTME: 'position: absolute' kaldırıldı === */
/* 'position: absolute' ve ilgili (right, bottom) kuralları,
   grid yapısını bozuyordu. Kalıcı olarak kaldırıldı.
   Artık .cta-content'in %55'lik grid alanını düzgünce dolduracak.
*/
.cta-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
     position: absolute;
     right: -10px;
    bottom: 0px;
}

.cta-img {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: right center;
    /* margin-right: -40px; */
}


/* Responsive Design */
@media (max-width: 1200px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-text {
        padding: 30px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 3.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.4rem;
    }
    
    /* 'position: absolute' kaldırıldığı için bu kurallar artık düzgün çalışacak */
    .cta-image {
        justify-content: center;
        order: -1; /* Resmi metnin üstüne al */
    }
    
    .cta-img {
        margin-right: 0;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    /* === YENİ KURAL EKLENDİ === */
    /* Önceki taleplerinize benzer şekilde, resmi mobilde gizliyoruz. */
    .cta-image {
        display: none;
    }
    /* ========================== */

    .cta-section {
        padding: 60px 20px;
        border-radius: 20px;
        margin: 40px 15px;
        min-height: auto;
        /* margin-top: 240px; mobilde fazla, iptal ediliyor */
        margin-top: 40px; 
    }
    
    .cta-text {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    .cta-img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 30px;
    }
}