/* ================================================
   Ha Feature Cards — HanTema v1.0.0
   Prefix: hafc-   (çakışma önlemi)
   ================================================ */

/* ── Variables ── */
.hafc-wrap {
    --hafc-yellow:     #D4B84A;
    --hafc-yellow-bg:  #E8D96B;
    --hafc-text:       #1E1E1E;
    --hafc-muted:      #6B7280;
    --hafc-white:      #ffffff;
    --hafc-card-bg:    #FAFAF5;
    --hafc-border:     #EEEBE3;
    --hafc-divider:    #E5E0D8;
    --hafc-arrow:      #9CA3AF;
    --hafc-arrow-hov:  #374151;
    --hafc-radius:     18px;
    --hafc-gap:        24px;
    box-sizing: border-box;
}
.hafc-wrap *,
.hafc-wrap *::before,
.hafc-wrap *::after {
    box-sizing: inherit;
}

/* ── GRID ── */
.hafc-grid {
    display: grid;
    gap: var(--hafc-gap);
}

/* ── CARD ── */
.hafc-card {
    background: var(--hafc-card-bg);
    border-radius: var(--hafc-radius);
    padding: 28px 28px 22px;
    position: relative;
    border: 1px solid var(--hafc-border);
    transition: box-shadow .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hafc-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

/* Köşe dekoratif şekil (sağ alt) */
.hafc-card::after {
    content: '';
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--hafc-border);
    opacity: .55;
    pointer-events: none;
}

/* ── HEADER (ikon + başlık yan yana) ── */
.hafc-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

/* ICON WRAP — sarı daire */
.hafc-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--hafc-yellow-bg);
}

/* FA / Elementor ikon — boyut sıfırla */
.hafc-icon-wrap .elementor-icon,
.hafc-icon-wrap span.elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 26px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}
.hafc-icon-wrap i {
    font-size: 26px !important;
    line-height: 1 !important;
    display: block !important;
    flex-shrink: 0 !important;
}
.hafc-icon-wrap svg {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* SVG (inline upload) */
.hafc-svg-icon {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}
.hafc-svg-icon svg {
    width: 100% !important;
    height: 100% !important;
}

/* BAŞLIK */
.hafc-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hafc-text);
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
}

/* AYRAÇ */
.hafc-divider {
    height: 1px;
    background: var(--hafc-divider);
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* AÇIKLAMA */
.hafc-card-desc {
    font-size: 14px;
    color: var(--hafc-muted);
    line-height: 1.70;
    margin: 0;
    flex: 1;
}

/* OK BUTONU */
.hafc-arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    align-self: flex-end;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: var(--hafc-arrow);
    font-size: 16px;
    transition: color .2s, transform .2s;
    line-height: 1;
}
.hafc-arrow-btn:hover {
    color: var(--hafc-arrow-hov);
    transform: translateX(3px) translateY(-3px);
}
.hafc-arrow-btn i,
.hafc-arrow-btn svg {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    line-height: 1 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hafc-card { padding: 22px 22px 18px; }
    .hafc-card-title { font-size: 16px !important; }
    .hafc-icon-wrap { width: 54px; height: 54px; }
}

@media (max-width: 767px) {
    .hafc-grid { grid-template-columns: 1fr !important; }
    .hafc-card { padding: 18px 18px 16px; }
    .hafc-card-title { font-size: 15px !important; }
    .hafc-card-desc { font-size: 13px !important; }
    .hafc-icon-wrap { width: 50px; height: 50px; }
    .hafc-icon-wrap i { font-size: 22px !important; }
    .hafc-icon-wrap svg,
    .hafc-icon-wrap .elementor-icon { width: 22px !important; height: 22px !important; font-size: 22px !important; }
}

@media (max-width: 480px) {
    .hafc-card-head { gap: 12px; }
    .hafc-card-title { font-size: 14px !important; }
}
