/* FontAwesome ikonlarını bu sayfada da kullanabilmek için ekliyoruz */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* =============================
   1. GENEL SAYFA BAŞLIĞI (BANNER)
============================= */
.page-header-section.contact-bg {
    background-image: url('assets/images/iletisimbanner.jpg');
    background-position: center;
}

/* =============================
   2. İLETİŞİM BİLGİLERİ VE FORM BÖLÜMÜ
============================= */
.contact-main-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info-column {
    flex: 1;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    width: 100%;
}

.info-card.details-card {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.info-card h2, .info-card h3 {
    margin-bottom: 20px;
}

.social-card h3 {
    text-align: center;
    font-size: 28px;
}

.social-boxes-container {
    display: flex;
    gap: 15px;
}

.social-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.social-box:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.social-box span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
}


/* ==================================================================== */
/* === YENİ VE NİHAİ İKON STİLLERİ (ÇERÇEVELİ "S" İKONU) === */
/* ==================================================================== */

/* İkonları içeren sarmalayıcı (wrapper) için ortak stil */
.social-box .social-icon-wrapper {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sarmalayıcı içindeki FontAwesome ikonunun stili */
.social-box .social-icon-wrapper i {
    font-size: 32px;
    color: var(--accent-orange);
}
    
/* Sarmalayıcı içindeki çerçeveli "S" ikonumuzun stili */
.social-box .social-icon-wrapper .custom-s-icon {
    /* "S" harfini bir kutuya dönüştürüp içeriği ortalıyoruz */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Kutunun boyutlarını diğer ikonla eşleşecek şekilde ayarlıyoruz */
    width: 30px;
    height: 30px;
    
    /* İstenen çerçeveyi ekliyoruz */
    border: 2.5px solid var(--accent-orange);
    border-radius: 6px; /* Kenarları hafifçe yuvarlaklaştırıyoruz */
    
    /* "S" harfinin stilini belirliyoruz */
    font-family: 'Lato', sans-serif; /* Daha modern ve temiz bir font */
    font-size: 20px;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1;
}


/* İletişim Bilgi Listesi */
.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; align-items: flex-start; font-size: 16px; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list .icon { font-size: 20px; color: var(--accent-orange); width: 30px; flex-shrink: 0; margin-right: 15px; margin-top: 3px; }
.info-list a { transition: color 0.3s ease; }
.info-list a:hover { color: var(--accent-orange); }

/* Sağ Sütun: Form */
.contact-form-card {
    flex: 1.5;
    min-width: 380px;
    background-color: var(--pure-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--primary-blue); }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; font-family: 'Lato', sans-serif; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-orange); box-shadow: 0 0 0 3px rgba(248, 181, 0, 0.2); }
.form-group textarea { height: 160px; resize: vertical; }
.contact-form-card button { width: 100%; font-size: 18px; }

/* Harita Bölümü */
.google-map-section iframe { width: 100%; height: 450px; border: 0; }

/* İLETİŞİM FORMU MESAJ STİLLERİ */
.contact-form-card .form-message {
    padding: 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
}

.contact-form-card .form-message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.contact-form-card .form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* =============================
   İLETİŞİM MOBİL UYUMLULUK
============================= */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column; /* Sütunları alt alta getir */
    }
    .contact-info-column {
        min-width: 100%;
    }
}