 /* SİZİN TARAFINIZDAN SAĞLANAN CSS KODU */
 :root {
    --primary-color: #2563eb;
    --secondary-color: #f8fafc;
    --accent-color: #10b981;
    --text-dark: #1e293b;
    --border-color: #e2e8f0;
}

/* Logo için eklenecek yeni stil */
.header-logo {
    max-width: 180px; /* Logonun maksimum genişliği */
    height: auto;     /* Oranını koruması için */
    margin-bottom: 1rem; /* Logo ile başlık arasına boşluk koyar */
}

/* Logo eklendiği için H1'in üst boşluğunu sıfırlayabiliriz */
.header h1 {
    margin-top: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.main-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    /* DEĞİŞİKLİK: İki sütunun sığması için genişlik artırıldı */
    max-width: 1200px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    background:#F8F9FA;
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(-50px) translateY(-50px); }
    100% { transform: translateX(0px) translateY(0px); }
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.form-section, .info-section {
    padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--secondary-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    background: white;
}

.btn-calculate {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-calculate:active { transform: translateY(0); }

.result-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none; /* JS ile yönetilecek */
}

.result-card.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.result-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.info-item:hover { transform: translateY(-5px); }
.info-label { font-size: 0.9rem; color: #64748b; margin-bottom: 0.25rem; }
.info-value { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); }

.loading { display: none; text-align: center; margin: 1rem 0; }

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert-info {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    color: #92400e;
}

/* YENİ EKLENEN STİLLER */
.info-section h2, .info-section h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.info-section p {
    line-height: 1.6;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f0f9ff;
    box-shadow: inset 0 -1px 0 var(--border-color);
}

.accordion-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
}
.accordion-item:first-of-type, .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.accordion-item:last-of-type, .accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}


@media (max-width: 991px) {
    .form-section {
        padding-bottom: 0;
    }
     .info-section {
        padding-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0;
    }
    .main-container {
        margin: 0 1rem;
        border-radius: 16px;
    }
    .header h1 { font-size: 2rem; }
    .form-section, .info-section { padding: 1.5rem; }
    .result-amount { font-size: 2.5rem; }
}