/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header - Arka plan rengi daha koyu seçilerek kontrast artırıldı */
header {
    background-color: #1e70a2; /* Önceki #3498db yerine daha koyu mavi */
    color: white;
    text-align: center;
    padding: 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 2rem;
}

/* Hesaplayıcı Stilleri */
.calculator {
    text-align: center;
}

.input-area {
    margin: 1.5rem 0;
}

input[type="number"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
    margin-right: 10px;
}

/* Butonlar: Arka plan rengi header ile uyumlu ve kontrastı artırılmıştır */
button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #1e70a2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 5px;
}

button:hover {
    background-color: #176191; /* Hover durumunda daha koyu */
}

/* Temizle butonu için kontrast artırıldı */
#clearBtn {
    background-color: #a83227;
}

#clearBtn:hover {
    background-color: #901e1e;
}

.result-area {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

#result {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    min-height: 36px;
}

/* Bilgi Bölümü Stilleri */
.info-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.formula {
    font-size: 18px;
    font-weight: bold;
    margin: 1rem 0;
    text-align: center;
}

/* SSS Stilleri */
/* SSS başlıklarında da kontrastı artırmak için koyu mavi tercih edildi */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #1e70a2;
    cursor: pointer;
}

/* Footer Stilleri */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #2c3e50;
    color: white;
}

/* Mobil Responsive Tasarım */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    input[type="number"] {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }
}
