/* --- GENEL AYARLAR --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* --- NAVBAR (Üst Menü - Senin HTML'ine Göre Düzenlendi) --- */
.navbar {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* Logo sola, linkler sağa */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; /* Menü yukarıda sabit kalsın istersen */
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #3498db; /* Logo ikonu mavi */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a.active {
    color: #3498db;
    font-weight: bold;
}

/* --- HERO (Mavi Alan) --- */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.hero h2 {
    margin-top: 0;
    margin-bottom: 30px;
}

/* --- HESAPLAMA KUTUSU --- */
.calculator-box {
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 12px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: flex-end; /* Buton ve inputları hizalar */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input, select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 180px;
    font-size: 15px;
}

button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    height: 45px; /* Inputlarla aynı yükseklik */
    transition: background 0.3s;
}

button:hover {
    background-color: #d35400;
}

/* --- SONUÇ KARTLARI (Bankalar) --- */
.offer-list-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 20px;
}

.offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.offer-row:last-child { border-bottom: none; }
.offer-row:hover { background-color: #fafafa; }

/* Banka Logosu */
.bank-logo-img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    background: white;
    padding: 2px;
    border-radius: 4px;
}

/* Sütunlar */
.bank-col { display: flex; flex-direction: column; align-items: center; width: 120px; text-align: center; }
.bank-name { font-weight: bold; font-size: 14px; margin-top: 5px; color: #333; }

.data-col { flex: 1; text-align: center; }
.data-label { font-size: 12px; color: #999; display: block; margin-bottom: 5px; }
.data-value { font-size: 18px; font-weight: bold; }

.rate-val { color: #e74c3c; }
.payment-val { color: #27ae60; }
.total-val { color: #333; }

.btn-col { width: 120px; text-align: right; }
.apply-btn-new {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.apply-btn-new:hover { background-color: #004494; }

/* --- ÖZELLİKLER & NASIL ÇALIŞIR --- */
.features-section, .how-it-works {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    margin-top: 20px;
}

.feature-grid, .steps-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.feature-box, .step-box {
    flex: 1;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
}

.feature-icon { font-size: 40px; color: #3498db; margin-bottom: 15px; }
.step-icon-circle {
    display: inline-flex; width: 60px; height: 60px;
    background: #eaf2f8; color: #3498db;
    border-radius: 50%; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 15px;
}

/* --- PARTNERLER --- */
.partners-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}
.partners-title { color: #777; text-transform: uppercase; font-size: 14px; margin-bottom: 20px; }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 50px;
}
footer a { color: #3498db; text-decoration: none; }

/* --- MOBİL UYUMLULUK (TELEFON İÇİN) --- */
@media screen and (max-width: 768px) {
    /* Navbar Mobilde */
    .navbar {
        flex-direction: row; /* Yan yana kalsın */
        padding: 10px 15px;
    }
    
    .logo { font-size: 16px; }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 5px;
    }

    /* Hesaplama Kutusu Mobilde */
    .calculator-box {
        flex-direction: column;
        align-items: stretch; /* Mobilde tam genişlik */
    }
    
    input, select, button {
        width: 100%; /* Tam ekran genişliği */
    }

    /* Kartlar Mobilde */
    .offer-row {
        flex-wrap: wrap;
        gap: 15px;
        text-align: center;
    }
    
    .bank-col, .data-col, .btn-col {
        width: 100%; /* Her veri alt alta */
        flex-basis: 100%;
        text-align: center;
    }
    
    .bank-col { flex-direction: row; justify-content: center; gap: 10px; }
    
    /* Özellikler ve Adımlar Mobilde */
    .feature-grid, .steps-grid {
        flex-direction: column;
    }
}

/* Alt Banka İsimleri Listesi */
.bank-sub-list {
    color: #95a5a6;       /* İstediğin gri renk */
    font-size: 0.9rem;    /* Yazı boyutu */
    font-weight: 600;     /* Biraz kalın olsun */
    margin-top: 8px;      /* Başlık ile mesafe */
    letter-spacing: 0.5px; /* Harfler arası hafif boşluk */
    text-transform: uppercase; /* Hepsi büyük harf olsun */
}

/* Aradaki Çizgiler (|) için ayar */
.bank-sub-list .sep {
    color: #e0e0e0;       /* Çizgiler çok açık gri olsun, göz yormasın */
    margin: 0 10px;       /* Sağdan soldan boşluk bırak */
    font-weight: normal;  /* Çizgiler ince olsun */
}

/* Mobilde sığmazsa alt satıra düzgün geçsin */
@media screen and (max-width: 768px) {
    .bank-sub-list {
        font-size: 0.75rem; /* Mobilde yazılar biraz daha küçülsün */
        line-height: 1.8;   /* Satırlar birbirine yapışmasın */
        padding: 0 20px;    /* Kenarlardan boşluk */
    }
    .bank-sub-list .sep {
        margin: 0 5px;      /* Mobilde aralıklar daha az olsun */
    }
}

/* Finans Barı - Gelişmiş */
.currency-bar {
    background-color: #1a252f;
    color: #ecf0f1;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #4a5568;
    overflow-x: auto; /* Mobilde taşarsa kaydırılabilsin */
    white-space: nowrap;
}

.currency-flex {
    display: flex;
    align-items: center;
    justify-content: center; /* EKLENDİ: İçeriği yatayda ortalar */
    gap: 20px;
    width: 100%; /* Kapsayıcıya yayılması için */
}

.currency-item {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.currency-item i {
    margin-right: 6px;
    font-size: 14px;
}

/* Mobilde düzenleme */
@media (max-width: 600px) {
    .mobile-hidden {
        display: none;
    }
    
    .currency-flex {
        gap: 15px;
        padding-left: 10px;
        /* EKLENDİ: Mobilde içerik çoksa ve taşıyorsa, ortalamak yerine sola yaslamak daha iyi scroll deneyimi sunar */
        justify-content: flex-start; 
    }
}

.my-custom-logo {
    height: 35px; /* Navbar yüksekliğine göre bu sayıyı artırıp azaltabilirsin */
    width: auto;  /* En-boy oranı bozulmasın diye genişliği otomatik bırakıyoruz */
    display: block; /* Gereksiz alt boşlukları önler */
}

/* Eğer logo çok bitişik durursa diye opsiyonel ayar */
.navbar-logo-link {
    display: flex;
    align-items: center;
    margin-right: 15px; /* Sağdaki menü elemanlarıyla mesafe */
}

