/* =============================================================
   Han Pro Footer — Frontend Styles
   Author: Hantema | Version: 1.0.0
   ============================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
.hpf-footer *,
.hpf-footer *::before,
.hpf-footer *::after {
    box-sizing: border-box;
}

.hpf-footer {
    width: 100%;
}

/* ── Container ────────────────────────────────────────────── */
.hpf-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ── Footer Top ───────────────────────────────────────────── */
.hpf-footer-top {
    padding: 60px 40px 40px;
}

/* ── GRID ─────────────────────────────────────────────────── */
.hpf-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px 32px;
    align-items: start;
}

/* ── Brand Column ─────────────────────────────────────────── */
.hpf-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.hpf-logo-img {
    display: block;
    width: 160px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.hpf-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.hpf-logo-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 24px;
}

/* ── Contact Items ────────────────────────────────────────── */
.hpf-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.hpf-contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    text-transform: none;
    letter-spacing: 0;
}

.hpf-contact-value,
.hpf-contact-value a {
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.hpf-contact-value a:hover {
    color: #111;
}

/* ── Menu Columns ─────────────────────────────────────────── */
.hpf-menu-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 18px 0;
    padding: 0;
    letter-spacing: 0;
    line-height: 1.3;
}

.hpf-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hpf-menu-list li {
    margin-bottom: 10px;
}

.hpf-menu-list a {
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: inline-block;
}

.hpf-menu-list a:hover {
    color: #111;
}

.hpf-no-menu {
    font-size: 0.8rem;
    color: #aaa;
    font-style: italic;
}

/* ── Social Column ────────────────────────────────────────── */
.hpf-col-social .hpf-menu-title {
    margin-bottom: 16px;
}

.hpf-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hpf-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.hpf-social-link:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.hpf-social-link i {
    font-size: 14px;
    color: #fff;
    line-height: 1;
}

/* ── Divider ──────────────────────────────────────────────── */
.hpf-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 0;
}

/* ── Bottom Bar ───────────────────────────────────────────── */
.hpf-bottom-bar {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.hpf-bottom-bar-inner {
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.hpf-copyright {
    font-size: 0.82rem;
    color: #777;
}

/* =============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================= */
@media screen and (max-width: 1024px) {
    .hpf-footer-top {
        padding: 48px 32px 36px;
    }

    .hpf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 28px;
    }

    .hpf-col-brand {
        grid-column: 1 / -1; /* tam genişlik */
    }
}

/* =============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================= */
@media screen and (max-width: 767px) {
    .hpf-footer-top {
        padding: 36px 24px 28px;
    }

    .hpf-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hpf-col-brand {
        grid-column: auto;
    }

    .hpf-logo-wrap {
        margin-bottom: 12px;
    }

    .hpf-logo-img {
        width: 130px;
    }

    .hpf-menu-title {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .hpf-social-list {
        gap: 8px;
    }

    .hpf-bottom-bar-inner {
        padding: 16px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hpf-copyright {
        font-size: 0.78rem;
    }
}

/* =============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================= */
@media screen and (max-width: 480px) {
    .hpf-footer-top {
        padding: 28px 18px 22px;
    }

    .hpf-grid {
        gap: 22px;
    }

    .hpf-logo-img {
        width: 110px;
    }

    .hpf-logo-text {
        font-size: 1.25rem;
    }

    .hpf-contact-label {
        font-size: 0.82rem;
    }

    .hpf-contact-value,
    .hpf-contact-value a {
        font-size: 0.82rem;
    }

    .hpf-menu-list a {
        font-size: 0.84rem;
    }

    .hpf-social-link {
        width: 34px;
        height: 34px;
    }

    .hpf-social-link i {
        font-size: 13px;
    }
}

/* =============================================================
   ELEMENTOR EDITOR — düzenleme görünümü iyileştirmeleri
   ============================================================= */
.elementor-editor-active .hpf-footer {
    min-height: 80px;
}

.elementor-editor-active .hpf-no-menu {
    display: block;
    padding: 8px;
    background: #fff3cd;
    border: 1px dashed #ffc107;
    border-radius: 4px;
    font-size: 0.78rem;
}
