/* Genel Ayarlar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Çok açık gri arkaplan */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px; /* İç boşluğu artırdık */
    background: #ffffff; /* Beyaz içerik kutusu */
    border-radius: 12px; /* Daha yuvarlak köşeler */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Daha belirgin gölge */
    flex-grow: 1;
}

/* Başlık Alanı */
.header {
    background-color: #5a6270; /* Koyu gri başlık */
    color: #ffffff;
    padding: 25px 20px; /* HEADER'I DAHA DAR YAPTIK */
    text-align: center;
    border-bottom: 8px solid #4a505b; /* Daha belirgin alt çizgi */
    display: flex; /* İçeriği ortalamak için */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    min-height: 100px; /* Minimum yükseklik belirledik */
}

.header-content {
    max-width: 900px; /* İçeriğin çok geniş olmasını engelle */
    width: 100%;
}

.header h1 {
    margin: 0;
    font-size: 2.2em; /* Başlık fontunu küçülttük */
    font-weight: 600;
    letter-spacing: 0.5px; /* Harf aralığı */
}

.header .slogan {
    font-size: 1.1em; /* Slogan fontunu küçülttük */
    margin-top: 10px;
    opacity: 0.95;
    font-weight: 300;
}

/* Ana İçerik ve Yan Bölüm Düzeni */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row; /* İçerik solda, Form sağda */
    gap: 40px;
    margin-top: 30px;
}

.main-content {
    flex: 2;
    min-width: 350px;
}

.sidebar {
    flex: 1;
    min-width: 300px;
    background-color: #f7f7f7;
    padding: 25px; /* Yeterli padding olduğundan emin olalım */
    border-radius: 10px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Yapışkan Form */
.sticky-form {
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
    padding-bottom: 30px;
    z-index: 100;
}


/* Genel Başlık ve Paragraf Stilleri */
h2 {
    color: #4a505b;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 12px;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 600;
}

article p, article ul {
    margin-bottom: 25px;
    color: #555;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

ul li:last-child {
    border-bottom: none;
}


/* Form Stilleri */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%; /* Kapsayıcının %100'ü */
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-sizing: border-box; /* Padding ve border genişliğe dahil */
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8c92a0;
    outline: none;
    box-shadow: 0 0 5px rgba(140, 146, 160, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    background-color: #7f8c8d;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15em;
    width: 100%; /* Kapsayıcının %100'ü */
    box-sizing: border-box; /* Padding ve border genişliğe dahil */
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #616a6b;
    transform: translateY(-2px);
}

/* Form Mesaj Stilleri */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    border: 1px solid;
    font-size: 0.95em;
}

/* Başarı Mesajı */
.form-message[style*="background-color: rgb(212, 237, 218)"] {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

/* Hata Mesajı */
.form-message[style*="background-color: rgb(248, 215, 218)"] {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}


/* Akordeon Stilleri */
.accordion-item {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.accordion-header {
    background-color: #fcfcfc;
    color: #555;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    display: flex; /* İkonu ve metni hizalamak için */
    align-items: center; /* Dikeyde ortala */
}

.accordion-header:hover, .accordion-header.active {
    background-color: #ededed;
    color: #444;
}

.accordion-header .accordion-icon { /* Yeni ikon sınıfı */
    margin-left: auto; /* Sağ tarafa itmek için */
    transition: transform 0.3s ease;
    color: #777;
    font-size: 0.9em; /* Ok ikonunun boyutunu küçülttük */
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Geçiş süresini uzattık */
    background-color: #fdfdfd;
}

.accordion-collapse.show {
    max-height: 800px;
    transition: max-height 0.6s ease-in;
}

.accordion-body {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.95em;
}

/* Footer Stilleri */
.footer {
    background-color: #4a505b;
    color: #ffffff;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    font-size: 0.9em;
}

.footer a {
    color: #c0c5cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Font Awesome ikonlarının genel stilleri */
.fa-parking, .fa-lightbulb, .fa-question-circle, .fa-chart-line, .fa-arrow-right, .fa-comments, .fa-handshake, .fa-user, .fa-envelope, .fa-dollar-sign, .fa-comment-alt, .fa-lock, .fa-paper-plane, .fa-external-link-alt {
    margin-right: 8px; /* İkonların metinle arasını açar */
    color: inherit; /* Üst elementin rengini miras alır */
}

/* Duyarlı Tasarım */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .sidebar {
        min-width: unset;
        width: 100%;
        padding: 20px; /* Mobil görünümde sidebar padding'ini ayarladık */
    }

    .main-content {
        min-width: unset;
        width: 100%;
    }

    .sticky-form {
        position: relative;
        top: 0;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .header .slogan {
        font-size: 1em;
    }

    h2 {
        font-size: 1.5em;
    }
    .form-group label .fas {
        margin-right: 5px;
    }

    /* Mobil görünümde teklif butonu boyutu ve taşıma düzeltmesi */
    .btn-submit {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
        box-sizing: border-box; /* Zaten vardı, sağlamlık için tekrar yazdık */
    }

    /* Form girdilerinin mobil görünümde taşmasını engellemek için */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="number"],
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
}