/* ====================================================
   YAPALI İNŞAAT - TALEP FORMU POP-UP (MODAL) CSS
   ==================================================== */

/* --- OVERLAY (ARKA PLAN KARARTMASI) --- */
.tf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 20, 44, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 20px;
}

.tf-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- MODAL KUTUSU --- */
.tf-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(12, 172, 240, 0.1);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Inter', sans-serif;
}

.tf-modal-overlay.active .tf-modal-box {
    transform: translateY(0) scale(1);
}

/* Kapatma Butonu */
.tf-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.tf-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

/* --- MODAL BAŞLIK --- */
.tf-modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.tf-icon-wrapper {
    width: 54px;
    height: 54px;
    background: rgba(12, 172, 240, 0.1);
    color: #0cacf0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 15px auto;
}
.tf-modal-header h3 {
    font-size: 1.6rem;
    color: #0b2b5e;
    font-weight: 800;
    margin: 0 0 10px 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}
.tf-modal-header p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* --- FORM ELEMANLARI --- */
.tf-input-group {
    margin-bottom: 20px;
}
.tf-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}
.tf-req {
    color: #ef4444;
}

.tf-input-wrapper {
    position: relative;
}
.tf-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}
.tf-input-wrapper input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px 14px 42px;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.tf-input-wrapper input:focus {
    outline: none;
    background: #ffffff;
    border-color: #0cacf0;
    box-shadow: 0 0 0 4px rgba(12, 172, 240, 0.15);
}

/* --- CHECKBOX ALANLARI --- */
.tf-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}
.tf-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #0cacf0;
    cursor: pointer;
    flex-shrink: 0;
}
.tf-checkbox-group label {
    font-size: 11px;
    color: #475569;
    line-height: 1.5;
    font-weight: 500;
    cursor: pointer;
}
.tf-checkbox-group label a {
    color: #0047b3;
    font-weight: 700;
    text-decoration: underline;
}

/* --- GÖNDER BUTONU --- */
.tf-submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); /* WhatsApp Yeşili */
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    margin-top: 10px;
}
.tf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* --- MOBİL UYUM --- */
@media (max-width: 480px) {
    .tf-modal-overlay { padding: 15px; }
    .tf-modal-box { padding: 30px 20px; }
    .tf-modal-header h3 { font-size: 1.4rem; }
    .tf-checkbox-group label { font-size: 10px; }
}