/* ============================================================
   EstateFlow — Hero Slider 2 (Yatay Arama Çubuğu)
   esf-hero-slider2.css
   ============================================================ */

/* ── Layout: İçerik dikey + ortalı ─────────────────────────────────────── */
.esf-hero2-slider .esf-hero-slide {
    display: flex;
}

.esf-hero2-content {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 40px 48px;
    text-align: center;
    gap: 24px;
}

/* ── Metin Bloğu ────────────────────────────────────────────────────────── */
.esf-hero2-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    width: 100%;
}

.esf-hero2-title {
    font-size: clamp(22px, 2.8vw, 42px) !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

.esf-hero2-desc {
    text-align: center !important;
    max-width: 620px;
}

.esf-hero2-stats {
    justify-content: center !important;
}

.esf-hero2-slider .esf-hero-btn {
    align-self: center;
}

/* ── Arama Wrap ─────────────────────────────────────────────────────────── */
.esf-hero2-search-wrap {
    width: 100%;
    max-width: 900px;
}

/* ── Arama Çubuğu Kutusu ────────────────────────────────────────────────── */
.esf-hero2-search-bar {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

/* ── Form Satırı ─────────────────────────────────────────────────────────── */
.esf-hero2-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

/* ── Input Alanları ─────────────────────────────────────────────────────── */
.esf-hero2-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f3ef;
    border: 1.5px solid #E5E0D8;
    border-radius: 10px;
    padding: 0 14px;
    height: 50px;
    transition: border-color .2s, box-shadow .2s;
    min-width: 0;
}

.esf-hero2-field:focus-within {
    border-color: var(--esf-gold, #C9A84C);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
    background: #fff;
}

.esf-hero2-field--text {
    flex: 2;
}

.esf-hero2-field--select {
    flex: 1.2;
    position: relative;
    cursor: pointer;
}

.esf-hero2-field input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--esf-navy, #0D1B2A);
    font-family: inherit;
    min-width: 0;
    width: 100%;
}

.esf-hero2-field input::placeholder {
    color: #aaa;
}

.esf-hero2-field select {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--esf-navy, #0D1B2A);
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    width: 100%;
}

.esf-hero2-field svg {
    flex-shrink: 0;
    pointer-events: none;
}

/* ── Ara Butonu ──────────────────────────────────────────────────────────── */
.esf-hero2-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 50px;
    padding: 0 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: filter .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.esf-hero2-search-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ── İlan Tipi Butonları ─────────────────────────────────────────────────── */
.esf-hero2-type-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.esf-hero2-type-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    color: var(--type-color, #3B82F6);
    background: color-mix(in srgb, var(--type-color, #3B82F6) 12%, white);
    border: 1.5px solid color-mix(in srgb, var(--type-color, #3B82F6) 30%, transparent);
    transition: background .2s, transform .2s, box-shadow .2s;
}

.esf-hero2-type-btn:hover {
    background: var(--type-color, #3B82F6);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .esf-hero2-search-wrap {
        max-width: 100%;
    }

    .esf-hero2-form {
        flex-wrap: wrap;
    }

    .esf-hero2-field--text {
        flex: 1 1 100%;
    }

    .esf-hero2-field--select {
        flex: 1 1 calc(50% - 4px);
    }

    .esf-hero2-search-btn {
        flex: 1 1 100%;
        justify-content: center;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .esf-hero2-content {
        padding: 60px 20px 36px;
        gap: 20px;
    }

    .esf-hero2-search-bar {
        padding: 16px;
        border-radius: 12px;
    }

    .esf-hero2-field--select {
        flex: 1 1 100%;
    }

    .esf-hero2-type-btns {
        gap: 8px;
    }

    .esf-hero2-type-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .esf-hero2-title {
        font-size: clamp(26px, 7vw, 38px) !important;
    }
}
