/* Genel Ayarlar ve Ana Sayfa */
body { font-family: 'Poppins', sans-serif; margin: 0; background-color: #f4f4f4; color: #333; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.hidden { display: none !important; }
header { background: #fff; padding: 1rem 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000;}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.5rem; color: #007bff; margin: 0; }
nav span { margin-right: 15px; font-weight: 500; }
.btn-primary { background: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-weight: 500; }
.btn-secondary { background: transparent; color: #333; border: 1px solid #ccc; padding: 10px 20px; border-radius: 5px; cursor: pointer; margin-left: 10px; }
main .hero { text-align: center; padding: 60px 20px; }
/* css/style.css içinde değiştirilecek olan #map stili */
#map {
    width: 100%;
    max-width: 900px; /* Haritanın maksimum genişliği */
    height: 400px;    /* Haritanın yüksekliğini biraz azalttık */
    margin: 20px auto;/* Ortalanmasını sağlar */
    border-radius: 10px; /* Kenarları yumuşatır */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Hafif bir gölge ekler */
    border: 1px solid #ddd;
}
#teklifButonu { display: block; margin: 20px auto; font-size: 1.2rem; background-color: #28a745; color: white; border: none; padding: 15px 30px; border-radius: 5px; cursor: pointer; }

/* --- AÇILIR PENCERE (MODAL) STİLLERİ --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; justify-content: center; align-items: center; }
.modal-content { background: #fff; padding: 40px; border-radius: 8px; position: relative; width: 90%; max-width: 450px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; cursor: pointer; color: #888; }
form h2 { font-size: 2rem; font-weight: 700; color: #333; margin: 0 0 5px; text-align: center; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; color: #555; font-weight: 500; font-size: 14px; }
.input-group input { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; box-sizing: border-box; }
.toggle-link { text-align: center; margin-top: 20px; font-size: 14px; }
.toggle-link a { color: #007bff; text-decoration: none; font-weight: 500; }
.error-message { color: #dc3545; text-align: center; margin-top: 15px; font-size: 14px; min-height: 20px; }
/* Ana sayfadaki teklif butonu için stil */
.main-offer-btn {
    display: block; 
    width: fit-content;
    margin: 40px auto; 
    font-size: 1.2rem; 
    background-color: #28a745; 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    border-radius: 5px; 
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}
.main-offer-btn:hover {
    background-color: #218838;
}
/* style.css en altına eklenecek mobil uyumluluk kodları */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    main .hero h2 {
        font-size: 1.5rem;
    }

    #map {
        height: 300px;
    }
}