/* ================================================
   Ha Contact Widget — HanTema v1.0.0
   Prefix: hact-   (çakışma önlemi)
   ================================================ */

.hact-wrap {
    --hact-bg:          #F5F0E8;
    --hact-card-bg:     #ffffff;
    --hact-text:        #1A1A1A;
    --hact-sub:         #5C574F;
    --hact-muted:       #7B7670;
    --hact-border:      #E8E2D8;
    --hact-accent:      #C8A96E;
    --hact-accent-lt:   #E8D9B8;
    --hact-green:       #3A6B35;
    --hact-green-btn:   #4A7C45;
    --hact-icon-bg:     #E8F0E0;
    --hact-icon-color:  #3A6B35;
    --hact-radius:      16px;
    --hact-radius-sm:   10px;
    --hact-shadow:      0 2px 16px rgba(0,0,0,0.07);
    box-sizing: border-box;
    font-family: inherit;
}
.hact-wrap *, .hact-wrap *::before, .hact-wrap *::after {
    box-sizing: inherit;
}

/* ══════════════════════════════════════
   BÖLÜM 1 — İLETİŞİM BİLGİ KARTLARI
══════════════════════════════════════ */
.hact-info-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.hact-info-card {
    background: var(--hact-card-bg);
    border: 1px solid var(--hact-border);
    border-radius: var(--hact-radius);
    padding: 24px 22px 20px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.hact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hact-shadow);
}

/* İkon + Başlık yan yana */
.hact-info-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.hact-info-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}
/* Elementor ikon normalize */
.hact-info-icon-wrap i,
.hact-info-icon-wrap svg {
    display: block !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.hact-info-icon-wrap .elementor-icon,
.hact-info-icon-wrap span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.hact-info-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--hact-text);
    margin: 0;
    line-height: 1.3;
}

/* Alt çizgi */
.hact-info-divider {
    height: 1px;
    background: var(--hact-border);
    margin-bottom: 14px;
}

/* İçerik satırları */
.hact-info-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hact-info-line {
    font-size: 13px;
    color: var(--hact-muted);
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}
.hact-info-line a {
    color: var(--hact-muted);
    text-decoration: none;
    transition: color .2s;
}
.hact-info-line a:hover { color: var(--hact-green); }

/* Ok ikonu (sağ alt) */
.hact-info-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hact-muted);
    font-size: 13px;
    transition: color .2s;
    text-decoration: none;
}
.hact-info-card:hover .hact-info-arrow { color: var(--hact-green); }

/* ══════════════════════════════════════
   BÖLÜM 2 — FORM + GÖRSEL
══════════════════════════════════════ */
.hact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--hact-radius);
    overflow: hidden;
    background: var(--hact-card-bg);
    border: 1px solid var(--hact-border);
    box-shadow: var(--hact-shadow);
}

/* Görsel sol taraf */
.hact-form-img-col {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    flex-shrink: 0;
}
.hact-form-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
}
/* Placeholder (görsel yokken) */
.hact-form-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8d8a0 0%, #8fa860 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0;
}
.hact-form-img-placeholder i {
    font-size: 64px;
    color: rgba(255,255,255,.4);
}

/* Dekoratif arka plan desen (görüntüdeki gibi) */
.hact-form-img-col::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

/* Form sağ taraf */
.hact-form-col {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Form üst etiket */
.hact-form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hact-green);
    letter-spacing: .5px;
    margin-bottom: 10px;
}
.hact-form-eyebrow i,
.hact-form-eyebrow svg {
    font-size: 12px !important;
    display: block !important;
    line-height: 1 !important;
}
.hact-form-eyebrow .elementor-icon,
.hact-form-eyebrow span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.hact-form-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--hact-text);
    line-height: 1.25;
    margin: 0 0 28px;
    word-break: break-word;
}

/* Form alanları */
.hact-form { display: flex; flex-direction: column; gap: 14px; }

.hact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hact-field {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--hact-border);
    border-radius: var(--hact-radius-sm);
    font-size: 14px;
    color: var(--hact-text);
    background: #FAFAF5;
    font-family: inherit;
    transition: border-color .2s, background .2s;
    outline: none;
    line-height: 1.4;
}
.hact-field::placeholder { color: var(--hact-muted); }
.hact-field:focus {
    border-color: var(--hact-green);
    background: #ffffff;
}
textarea.hact-field {
    height: 110px;
    resize: vertical;
    min-height: 80px;
}

/* Gönder butonu */
.hact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hact-green-btn);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: background .22s, transform .18s, box-shadow .22s;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(74,124,69,.25);
    width: fit-content;
}
.hact-submit-btn:hover {
    background: var(--hact-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58,107,53,.3);
}
.hact-submit-btn i,
.hact-submit-btn svg {
    font-size: 15px !important;
    display: block !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.hact-submit-btn .elementor-icon,
.hact-submit-btn span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

/* Başarı / Hata mesajı */
.hact-msg {
    padding: 12px 16px;
    border-radius: var(--hact-radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    display: none;
}
.hact-msg.success { background: #e6f4e4; color: #2d6a27; border: 1px solid #b5d9b1; }
.hact-msg.error   { background: #fde8e8; color: #9b2c2c; border: 1px solid #f5b8b8; }

/* ══════════════════════════════════════
   TABLET ≤1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hact-form-section { grid-template-columns: 1fr 1.2fr; }
    .hact-form-title   { font-size: 24px !important; }
    .hact-form-col     { padding: 28px 24px; }
}

/* ══════════════════════════════════════
   MOBİL ≤767px
══════════════════════════════════════ */
@media (max-width: 767px) {
    .hact-info-grid        { grid-template-columns: 1fr !important; }
    .hact-form-section     { grid-template-columns: 1fr; }
    .hact-form-img-col     { min-height: 240px; }
    .hact-form-col         { padding: 24px 20px; }
    .hact-form-title       { font-size: 22px !important; }
    .hact-form-row         { grid-template-columns: 1fr; }
    .hact-submit-btn       { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════
   KÜÇÜK MOBİL ≤480px
══════════════════════════════════════ */
@media (max-width: 480px) {
    .hact-form-title  { font-size: 20px !important; }
    .hact-info-title  { font-size: 15px !important; }
}
