/* Genel Stiller */
body {
    background-color: #F6F9F5;
    margin: 0;
    padding: 100px 0 50px;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    padding: 0 15px;
}

/* Başlık Stilleri */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Ofis Bilgileri */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.office-title {
    font-weight: bold;
    color: #035772;
    margin-bottom: 1rem;
}

.office-address {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Harita Stilleri */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: 75%;
    content: "";
}

.ratio-4x3::before {
    padding-top: 75%;
}

.ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* İletişim Bilgileri */
.border-end {
    border-right: 1px solid #dee2e6 !important;
}

/* Form Stilleri */
.form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #035772;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 1rem;
}

textarea.form-control {
    min-height: calc(1.5em + 0.75rem + 2px);
    resize: vertical;
}

/* Buton Stilleri */
.btn-msgsender {
    width: 100%;
    max-width: 585px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid #035772;
    background-color: transparent;
    color: #035772;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    margin: 0 auto;
}

.btn-msgsender:hover {
    background-color: #035772;
    color: white;
}

/* Sosyal Medya */
.social-media {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.1);
}

/* Sol sütun için padding ve hizalama */
.contact-left-col {
  padding-right: 15px; /* Bootstrap ile uyumlu */
  text-align: left;
}

/* Sosyal medya ikonları */
.social-media-wrapper {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
}

.social-media-wrapper a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-media-wrapper a img:hover {
  transform: scale(1.1);
}

/* Dikey ayraç */
.vertical-divider {
  width: 2px;
  background-color: #DDE0DC;
  height: 100%;
  min-height: 150px;
  margin: 0 auto;
}



/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
    
    .office-title, 
    .office-address,
    .text-left-230 {
        margin-left: 0 !important;
        text-align: center !important;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .border-end {
        display: none;
    }
    /* Sol sütun içeriği ortalanır */
    .contact-left-col {
        padding-right: 0;
        text-align: center;
    }

    /* Sosyal medya ikonları ortalanır */
    .social-media-wrapper {
        justify-content: center;
    }

    /* Dikey ayraç gizlenir */
    .vertical-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .col-md-5,
    .col-md-6,
    .col-md-1 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px;
    }

    /* Satırlar alt alta gelir */
    .row {
        flex-direction: column !important;
    }

    /* Sosyal medya ikonları daha küçük olabilir */
    .social-media-wrapper a img {
        width: 36px;
        height: 36px;
    }

    /* Harita ve içerik genişliği ayarlanabilir */
    .ratio {
        max-width: 100% !important;
        margin-top: 1.5rem;
    }
        
    .office-section {
        margin-bottom: 3rem;
    }
    
    .ratio {
        max-width: 100% !important;
        margin-top: 1.5rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h3, h5 {
        font-size: 1.3rem;
    }
    
    .form-control {
        padding: 0.5rem;
    }
    
    .btn-msgsender {
        height: 45px;
        font-size: 15px;
    }

    /* Sosyal medya ikonları daha da küçülebilir */
    .social-media-wrapper a img {
        width: 32px;
        height: 32px;
    }
}