/* Contact Form Styles */

/* Autofill animasyon tespiti */
@keyframes onAutoFillStart { from {} to {} }

input:-webkit-autofill {
    animation-name: onAutoFillStart;
    animation-duration: 1ms;
}
.contactList {
    width: 100%;
    margin: 30px 0;
}

.contactList .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contactList .col-md-6 {
    flex: 1 1 calc(50% - 10px);
    min-width: 300px;
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 767px) {
    .contactList .col-md-6 {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.contactList .item {
    margin-bottom: 0;
    width: 100%;
}

.contactList .item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contactList .item ul li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #848484;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

@media only screen and (max-width: 480px) {
    .contactList .item ul li {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

.contactList .item ul li i {
    color: #f18700;
    margin-top: 2px;
    flex-shrink: 0;
}

.contactList .item ul li p {
    margin: 0;
    line-height: 1.5;
    width: 100%;
    display: block;
}

.contactList .item ul li a {
    color: #f18700;
    text-decoration: none;
    transition: 0.3s;
}

.contactList .item ul li a:hover {
    opacity: 0.8;
}

/* Maps Container */
.maps {
    width: 100%;
    margin: 30px 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.maps iframe {
    width: 100%;
    height: auto;
    min-height: 320px;
    border: none;
    display: block;
}

@media only screen and (max-width: 1023px) {
    .maps iframe {
        min-height: 350px;
    }
}

@media only screen and (max-width: 767px) {
    .maps iframe {
        min-height: 300px;
    }
}

@media only screen and (max-width: 480px) {
    .maps iframe {
        min-height: 250px;
    }
}

/* Form Styling */
.form {
    width: 100%;
    margin-top: 40px;
}

.form h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
}

@media only screen and (max-width: 480px) {
    .form h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form .form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
}

@media only screen and (max-width: 767px) {
    .form .form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.form .form-group.col-md-6 {
    flex: 1 1 calc(50% - 10px);
}

@media only screen and (max-width: 767px) {
    .form .form-group.col-md-6 {
        flex: 1 1 100%;
    }
}

.form .form-group label {
    display: block !important;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    text-align: left !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    font-size: 14px !important;
}

/* global.css'teki .form form .form-group label absolute'u sıfırla */
.form form .form-group label,
.form .form-group label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    text-align: left !important;
    width: 100% !important;
    transition: none !important;
}

.form .form-group input:not([type="checkbox"]),
.form .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    background: none;
    border: none;
    border-bottom: 1px solid #848484;
    border-radius: 0;
    padding: 0;
    box-shadow: inherit !important;
    resize: none;
    color: #fff;
}

/* Geçerli alan — alt çizgi normal renkte kalsın */
.form .form-control.is-valid {
    border-color: transparent !important;
    border-bottom-color: #848484 !important;
    background-image: none !important;
    padding-right: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Hatalı alan — sadece alt çizgi kırmızı */
.form .form-control.is-invalid {
    border-bottom-color: #dc3545 !important;
    border-top-color: transparent !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    background-image: none !important;
    padding-right: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* was-validated sonrası Bootstrap'ın kendi border renklerini sıfırla */
.form .was-validated .form-control:valid,
.form .was-validated .form-control:invalid {
    border-bottom-color: #848484 !important;
    border-top-color: transparent !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* was-validated + is-valid/is-invalid birlikte olunca JS renkleri korunsun */
.form .was-validated .form-control.is-valid {
    border-color: transparent !important;
    border-bottom-color: #848484 !important;
}

.form .was-validated .form-control.is-invalid {
    border-bottom-color: #dc3545 !important;
}

/* ── Form grubu düzeni ── */
.form .form-group {
    position: relative;
    padding-bottom: 0;
    display: block;
}

/* label sola */
.form .form-group label,
.form form .form-group label {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    text-align: left !important;
    transition: none !important;
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px !important;
}

/* invalid-feedback — input'un altında, normal akışta */
.form .form-group .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 4px;
    font-size: 11px;
    color: #dc3545;
    line-height: 1.3;
    clear: both;
}

/* Row içindeki form-group'lar üst hizadan başlasın — birinin invalid-feedback'i diğerini kaydırmasın */

/* İkon — .input-wrap içinde JS tarafından oluşturulur ve konumlandırılır */
.form .form-group .field-icon,
.form .input-wrap .field-icon {
    pointer-events: none;
}

.form .form-group .field-icon:empty {
    display: none !important;
}

.form .form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 10px;
    height: 111px;
}

/* Focus outline/box-shadow kaldır */
.form .form-group input:not([type="checkbox"]):focus,
.form .form-group textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-bottom-color: #848484 !important;
}

/* intlTelInput wrapper — invalid-feedback çıkınca yukarı kaymasın */
.form .form-group .iti {
    display: block !important;
    width: 100%;
}

.form .input-wrap {
    display: block;
    width: 100%;
}

.form .input-wrap .iti {
    display: block !important;
    width: 100%;
    vertical-align: top;
}

@media only screen and (max-width: 480px) {
    .form .form-group textarea {
        min-height: 100px;
    }
}

.form .form-group input::-webkit-input-placeholder,
.form .form-group textarea::-webkit-input-placeholder {
    color: transparent;
}

.form .form-group input:-ms-input-placeholder,
.form .form-group textarea:-ms-input-placeholder {
    color: transparent;
}

.form .form-group input::placeholder,
.form .form-group textarea::placeholder {
    color: transparent;
}

.form .form-check {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;       /* invalid-feedback alt satıra geçsin */
    align-items: flex-start;
    padding-left: 0;
    gap: 0;
}

/* invalid-feedback form-check içinde — tam genişlikte alt satıra */
.form .form-check .invalid-feedback {
    flex-basis: 100%;
    width: 100%;
    margin-top: 4px;
    margin-left: 28px;    /* checkbox + margin hizasında başlasın */
    font-size: 11px;
    color: #dc3545;
    line-height: 1.3;
    display: none;
}

.form .form-check.has-invalid-check .invalid-feedback,
.form .was-validated .form-check .form-check-input:invalid ~ .invalid-feedback {
    display: block;
}

.form .form-check-input {
    position: relative;
    margin-top: 3px;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: #f18700;
    flex-shrink: 0;
    display: block;
    vertical-align: top;
    border: 2px solid #f18700 !important;
    border-radius: 3px;
    background-color: #191919 !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form .form-check-input:checked {
    background-color: #f18700 !important;
    border-color: #f18700 !important;
}

.form .form-check-input:checked::after {
    display: none;
}

/* Checkbox işaretlenince label — renk değişmesin */
.form .form-check-input:checked ~ .form-check-label {
    color: inherit;
}

/* "KVKK ve Gizlilik Sözleşmesini" linki — her zaman #848484, asla değişmesin */
.form .form-check-label a,
.form .form-check-input:checked ~ .form-check-label a {
    color: #848484 !important;
    transition: none !important;
}

/* "okudum, onaylıyorum." — her zaman aynı renk, tick'ten bağımsız */
.form .form-check-label .kvkk-onay {
    color: #fff !important;
    transition: none !important;
}

.form .form-check-input:checked ~ .form-check-label .kvkk-onay {
    color: #fff !important;
}

.form .form-check label {
    display: block;
    flex: 1;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    position: initial !important;
    padding-left: 0 !important;
}

@media only screen and (max-width: 480px) {
    .form .form-check label {
        font-size: 12px;
    }
}

.form .submit {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

@media only screen and (max-width: 480px) {
    .form .submit {
        justify-content: center;
    }
}

.form .submit button,
.form .submit input[type="submit"] {
    padding: 12px 30px;
    font-size: 14px;
    border: 1px solid #f18700 !important;
    border-radius: 4px;
}

@media only screen and (max-width: 480px) {
    .form .submit button,
    .form .submit input[type="submit"] {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ══════════════════════════════════════════
   LOKASYon SEKME SİSTEMİ
   ══════════════════════════════════════════ */

/* Sekme butonları */
.loc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0;
}

.loc-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: #848484;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.loc-tab:focus,
.loc-tab:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.loc-tab:hover {
    color: #fff;
}

.loc-tab.active {
    color: #f18700;
    border-bottom-color: #f18700;
}

.loc-tab svg {
    flex-shrink: 0;
}

/* Panel göster/gizle */
.loc-panel {
    display: none !important;
}

.loc-panel.active {
    display: block !important;
}

/* Kart efektleri (glassmorphism veya ince sınırlar) */
.loc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 22px;
    height: 100%;
    box-sizing: border-box;
}

/* Harita kartı — padding yok, tam kaplar */
.loc-card.loc-map-card {
    padding: 0;
    overflow: hidden;
}

.loc-card.loc-map-card .maps {
    margin: 0;
    height: 100%;
    min-height: 300px;
}

.loc-card.loc-map-card .maps iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: none;
}

/* Lokasyon başlık */
.loc-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 4px 0 !important;
}

.loc-subtitle {
    font-size: 12px;
    color: #f18700;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

/* Bilgi bloğu */
.loc-info-block {
    margin-bottom: 18px;
}

.loc-info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 8px;
}

.loc-info-value {
    font-size: 14px;
    color: #848484;
    line-height: 1.7;
    margin: 0;
}

/* İletişim buton grubu */
.loc-btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tıklanabilir iletişim butonları */
.loc-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #848484;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    width: fit-content;
}

.loc-btn-contact:hover {
    border-color: #f18700;
    color: #f18700;
    background: rgba(241,135,0,0.05);
    text-decoration: none !important;
}

.loc-btn-contact svg {
    flex-shrink: 0;
    transition: stroke 0.2s;
}

@media only screen and (max-width: 767px) {
    .loc-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .loc-tab {
        white-space: nowrap;
        padding: 9px 14px;
        font-size: 12px;
    }
    .loc-card {
        margin-bottom: 20px;
        height: auto;
    }
    .loc-btn-contact {
        width: 100%;
        justify-content: center;
    }
}

/* İletişim sayfası layout — leftSide genişliğini zorla */
.page .leftSide {
    min-width: 200px;
    width: 200px;
    flex-shrink: 0;
}

/* İletişim — centerPage hakkimizda ile aynı hizaya getir */
@media only screen and (min-width: 1201px) {
    .page .centerPage {
        position: relative;
        left: -170px;
    }
}

/* İletişim sayfası ikonlar — sağ alt köşeye sabit (ID ile override) */
#iletisim-rightside {
    position: fixed !important;
    right: 8vw !important;
    bottom: 60px !important;
    width: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    z-index: 10 !important;
}

#iletisim-rightside .space {
    display: none !important;
}

#iletisim-rightside ul {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    bottom: auto !important;
}

#iletisim-rightside ul li {
    display: inline-flex !important;
    text-align: left !important;
}

#iletisim-rightside ul li a {
    color: #848484 !important;
    transition: color 0.2s;
    display: flex !important;
    align-items: center;
}

#iletisim-rightside ul li a:hover {
    color: #fff !important;
}

@media only screen and (max-width: 1200px) {
    #iletisim-rightside {
        display: none !important;
    }
}

/* Mobil — rightSide ikonları gönder butonunun altında ortada */
@media only screen and (max-width: 1200px) {
    .page .rightSide,
    .rightSide {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 24px 0 8px 0 !important;
        float: none !important;
        position: static !important;
        min-height: 0 !important;
    }

    .rightSide .space {
        display: none !important;
    }

    .rightSide ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        justify-content: center !important;
        width: auto !important;
    }

    .rightSide ul li {
        display: inline-flex !important;
    }

    .rightSide ul li a {
        color: #848484 !important;
        display: flex !important;
        align-items: center;
        transition: color 0.2s;
    }

    .rightSide ul li a:hover {
        color: #fff !important;
    }
}
