﻿/* Site ozel duzenlemeleri: tema CSS'inden sonra yuklenir. */

/* Form metin rengi temada sari (#f8c903) tanimli, okunmuyor */
.contact-form input,
.contact-form textarea,
.contact-form select {
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

/* Talep turu / tehlike sinifi acilir listeleri, metin kutulariyla ayni gorunum */
.contact-form select.form-control {
    width: 100%;
    height: 46px;
    border: 1px solid #e7e9ef;
    border-radius: 5px;
    padding: 10px 1.25rem;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    margin-bottom: 1.5625rem;
    -webkit-appearance: menulist;
    appearance: menulist;
}

/* Gonder butonu (asp:Button -> input[type=submit]); tema kurallari anchor icin yazilmis */
.contact-form input[type="submit"].thm-btn {
    width: auto;
    min-width: 200px;
    color: #fff;
    border: 0;
    margin-bottom: 0;
    padding: 1.05rem 2.8rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form input[type="submit"].thm-btn:hover {
    opacity: .92;
}

@media (max-width: 576px) {
    .contact-form input[type="submit"].thm-btn {
        width: 100%;
    }
}

/* Dogrulama mesajlari */
.contact-form .text-danger {
    display: block;
    text-align: left;
    font-size: 13px;
    margin: -1rem 0 1rem 0.25rem;
}

/* Guvenlik kontrolu (resimli kod / reCAPTCHA) */
.form-guvenlik {
    margin-bottom: 1rem;
}

.form-guvenlik .g-recaptcha {
    margin-bottom: 1.25rem;
}

.form-guvenlik img {
    max-width: 100%;
    height: 44px;
    vertical-align: middle;
}

.form-guvenlik input[type="text"] {
    margin-bottom: 0.75rem;
}

.form-guvenlik .alert {
    text-align: left;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .form-guvenlik .col-sm-5,
    .form-guvenlik .col-sm-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-guvenlik img {
        margin-bottom: 0.75rem;
    }

    /* reCAPTCHA kutusu dar ekranda tasmasin */
    .form-guvenlik .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

/* WhatsApp sabit butonu */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 18px 0 0;
    border-radius: 28px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
    color: #fff;
}

.whatsapp-float i {
    font-size: 30px;
    line-height: 56px;
    width: 56px;
    text-align: center;
}

.whatsapp-float-text {
    font-size: 15px;
}

@media (max-width: 767px) {
    /* Mobilde: alttaki arama cubugunun ustunde, yalnizca ikon */
    .whatsapp-float {
        right: 12px;
        bottom: 46px;
        height: 54px;
        width: 54px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-float i {
        width: auto;
        line-height: 54px;
    }

    .whatsapp-float-text {
        display: none;
    }

    /* Mobil arama cubugu temada 30px; dokunma alani buyutuldu */
    #callnowbutton {
        height: 38px;
        font-size: 15px;
    }

    /* Sabit cubuk icerigin ustune binmesin */
    body {
        padding-bottom: 38px;
    }
}

/* Harita iframe'i dar ekranda daha kisa */
@media (max-width: 576px) {
    .contact-wrap-map iframe {
        height: 320px;
    }
}
