/* Contact Page Styles */
.contact-page-container {
    /* width: 100%; */
    width: 90%;
    /* max-width: 1200px; Sayfanın maksimum genişliği */
    margin: 1.5em auto;
    padding-top: 10px;
    /* Header'dan gelen boşluk */
}

/* Üst Başlık ve Telefon Numaraları */
.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.page-title {
    font-size: 36px;
    color: #4f4f4f;
    font-weight: 400;
}

.contact-numbers {
    font-size: 16px;
    color: #555;
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-numbers .call-text {
    font-size: 14px;
    color: #888;
    margin-right: -10px;
}

/* HARİTA ALANI */
.map-container {
    height: 400px;
    /* Haritanın yüksekliği */
    background-color: #e9ecef;
    /* Harita yüklenene kadar görünen arka plan */
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 16px;
}

/* Harita Hata Mesajı Stili */
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}


/* ======================================================= */
/* ALT BÖLÜM: BİLGİ VE FORM GRİDİ */
/* ======================================================= */
.contact-content {
    display: grid;
    grid-template-columns: 35% 65%;
    /* Bilgiler solda daha dar, form sağda daha geniş */
    gap: 40px;
    padding-bottom: 60px;
}

.block-title {
    font-size: 28px;
    color: #4f4f4f;
    font-weight: 400;
    margin-bottom: 25px;
}

/* Sol Blok: İletişim Bilgileri */
.contact-info-block {
    padding: 20px 0;
    /* Form bloğu gibi yanlardan 0, üstten 20px */
    background-color: transparent;
    /* Beyaz veya şeffaf, form tarafı gibi */
    font-family: 'Poppins', sans-serif;
}

.info-group {
    margin-bottom: 35px;
    /* Form grupları (35px) ile uyumlu */
}

.info-title {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    /* Form label rengi (#888) */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-title i {
    color: #FF3600;
    /* İkonlar kurumsal turuncu */
    font-size: 14px;
}

.info-group p {
    font-size: 16px;
    /* Form input font boyutu (16px) */
    color: #555;
    /* Form metin rengi (#555) */
    line-height: 1.6;
    margin: 3px 0;
    font-weight: 500;
}

/* Sağ Blok: İletişim Formu */
.contact-form-block {
    padding: 20px 0;
}

.contact-form {
    max-width: 450px;
}

/* ======================================================= */
/* İLETİŞİM FORMU - INPUT STİLLERİ (Önceki efektleri kullanır) */
/* ======================================================= */

/* Form alanlarını yan yana getirmek için */
.form-row {
    display: flex;
    gap: 4%;
    /* Alanlar arası boşluk */
    margin-bottom: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
    padding-top: 20px;
    width: 90%;
    /* Varsayılan tam genişlik */
}

.form-group.half-width {
    width: 48%;
    /* Form-row içindeki %48 */
    margin-bottom: 35px;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 35px;
}

/* Label, Input, Border Temel Stilleri (Önceki sayfalardan alınmıştır) */
.form-group .form-label {
    position: absolute;
    left: 0;
    top: 0;
    color: #888;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    z-index: 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 5px 0;
    border: none;
    outline: none;
    font-size: 16px;
    color: #555;
    background: transparent;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    resize: none;
    /* Textarea'nın boyutlandırılmasını engelle */
}

.form-group .border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #ccc;
    transition: all 0.3s ease;
    z-index: 0;
}

/* 🚨 Focus ve Kaydırma Efektleri (Çizgi ve Placeholder) */

.form-group input:focus+.border,
.form-group textarea:focus+.border {
    background-color: #707070;
    height: 2px;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
    transform: translateX(8px);
    transition: all 0.2s ease-out;
}

/* Textarea için özel üst ve alt boşluk (kaymasını engeller) */
.form-group.message-group {
    padding-top: 20px;
    /* Label için boşluk */
    margin-top: 15px;
    /* Üstteki inputtan sonraki boşluk */
}


/* GÖNDER BUTONU */
.send-btn {
    background-color: #FF3600;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #707070;
}

/* ======================================================= */
/* RESPONSIVE DÜZENLEME (Küçük ekranlar için tek sütun) */
/* ======================================================= */

@media (max-width: 900px) {
    .contact-page-container {
        width: 95%;
        margin: 2em auto;
        padding-top: 30px;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        /* Tek sütuna düşür */
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        /* Yan yana duran inputları alt alta getir */
        gap: 0;
    }

    .form-group.half-width {
        width: 100%;
        margin-bottom: 25px;
        /* Alt alta gelince boşluğu ayarla */
    }

    .contact-numbers {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-numbers .call-text {
        margin-right: 0;
    }

    .map-container {
        height: 300px;
        margin-bottom: 30px;
    }

    .block-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .map-container {
        height: 250px;
    }

    .contact-info-block {
        padding: 15px;
    }
}