/* ================================================================
   İNANAN GENÇ VAKFI - MODERN BAĞIŞ DETAY CSS (FULL)
   ================================================================ */

/* --- TEMEL AYARLAR --- */
.donation-container {
    padding: 50px 20px;
    background-color: #f4f7f9;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

.donation-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start; /* İçerik boyuna göre hizala */
}

/* --- SOL TARAF (GÖRSEL VE BİLGİ) --- */
.donation-left {
    flex: 1.6;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

.donation-bannerr {
    width: 100%;
    margin-bottom: 25px;
}

.donation-bannerr img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

.donation-info h1 {
    font-size: 32px;
    color: #081085;
    margin-bottom: 20px;
    font-weight: 700;
}

.donation-info p {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

/* --- SAĞ TARAF (MODERN FORM KART) --- */
.donation-right {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(8, 16, 133, 0.1);
    position: sticky; /* Masaüstünde kayarken takip eder */
    top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-donation {
    width: 100%;
    text-align: center;
}

.quick-donation h2 {
    font-size: 24px;
    color: #081085;
    margin-bottom: 20px;
    font-weight: 600;
}

.price-badge {
    background: #f0f2ff;
    color: #081085;
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 17px;
    font-weight: 600;
}

/* --- FORM ELEMANLARI --- */
#donationForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Tüm kutuları merkeze toplar */
    gap: 15px;
}

/* Üst üste binmeyi engelleyen kutu yapısı */
.form-group {
    width: 100% !important;
    max-width: 350px !important; /* Tüm kutular aynı genişlikte */
    display: flex;
    flex-direction: column;
    text-align: left; /* Etiketler sola yaslı */
}

.form-group label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333;
    margin-bottom: 8px !important;
}

.form-group input, 
.form-group select {
    width: 100% !important;
    box-sizing: border-box !important; /* Padding taşmasını engeller */
    padding: 14px 18px !important;
    border: 1.5px solid #e0e6ed;
    border-radius: 12px !important;
    font-size: 16px !important;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #081085;
    background: #fff;
    box-shadow: 0 4px 12px rgba(8, 16, 133, 0.1);
    outline: none;
}

/* Form Satırı (Eski yan yana yapıyı alt alta zorla) */
.form-row {
    display: block !important;
    width: 100%;
}

/* --- BAĞIŞ KİMİN ADINA (MODERN KUTU) --- */
.bagis-sizin-adiniza {
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    margin: 10px auto;
    padding: 15px;
    border: 1px dashed #cbd5e0;
    border-radius: 15px;
    background: #fcfcfc;
    text-align: left;
}

.bagis-sizin-adiniza label {
    font-size: 15px;
    font-weight: 600;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

/* Modern gizli input açılışı */
.modern-input-animate {
    margin-top: 15px;
    border-left: 4px solid #081085;
    padding-left: 10px;
}

/* --- BAĞIŞI TAMAMLA BUTONU --- */
.donate-button {
    width: 100% !important;
    max-width: 280px !important; /* Kutulardan biraz daha dar, şık durur */
    padding: 16px !important;
    background: linear-gradient(135deg, #081085, #1a1a9e) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important; /* Hap şeklinde modern buton */
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(8, 16, 133, 0.25);
    margin-top: 15px;
    transition: 0.3s;
}

.donate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 16, 133, 0.35);
}

/* ================================================================
   RESPONSIVE AYARLAR (MOBİLDE FORM ÜSTE)
   ================================================================ */

@media (max-width: 1024px) {
    .donation-wrapper {
        /* column-reverse: Mobilde sağdaki asid (form) kısmını en üste taşır */
        flex-direction: column-reverse !important; 
        align-items: center;
        gap: 20px;
    }

    .donation-left, .donation-right {
        width: 100% !important;
        flex: none !important;
        padding: 25px 20px !important; /* Mobilde iç boşlukları biraz daralttık */
    }

    .donation-right {
        position: static !important; /* Sticky özelliğini mobilde iptal ediyoruz */
        margin-bottom: 20px; /* Form ile aşağıdaki içerik arasında boşluk */
        box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Mobilde daha hafif gölge */
    }

    .donation-left {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .donation-container {
        padding: 15px 10px;
    }
    
    .donation-info h1 {
        font-size: 22px;
        text-align: center;
    }

    .form-group, .bagis-sizin-adiniza {
        max-width: 100% !important; 
    }

    .donate-button {
        max-width: 100% !important;
        border-radius: 12px !important;
    }
}